uas-agent yaml
This commit is contained in:
@@ -3,7 +3,7 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: cmii-uav-watchdog
|
||||
namespace: uavcloud-devflight
|
||||
namespace: uavcloud-feature
|
||||
labels:
|
||||
cmii.type: backend
|
||||
cmii.app: cmii-uav-watchdog
|
||||
@@ -30,10 +30,10 @@ spec:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: uavcloud.env
|
||||
- key: uavcloud.affinity
|
||||
operator: In
|
||||
values:
|
||||
- devflight
|
||||
- common
|
||||
imagePullSecrets:
|
||||
- name: harborsecret
|
||||
containers:
|
||||
@@ -42,7 +42,7 @@ spec:
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: K8S_NAMESPACE
|
||||
value: uavcloud-devflight
|
||||
value: uavcloud-feature
|
||||
- name: APPLICATION_NAME
|
||||
value: cmii-uav-watchdog
|
||||
- name: CUST_JAVA_OPTS
|
||||
@@ -116,7 +116,7 @@ spec:
|
||||
- name: nfs-backend-log-volume
|
||||
mountPath: /cmii/cmii-uav-watchdog/
|
||||
readOnly: false
|
||||
subPath: uavcloud-devflight/cmii-uav-watchdog
|
||||
subPath: uavcloud-feature/cmii-uav-watchdog
|
||||
- name: cmii-uav-watchdog-conf
|
||||
mountPath: /cmii/cmii-uav-watchdog/config.yaml
|
||||
subPath: config.yaml
|
||||
@@ -135,7 +135,7 @@ apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: cmii-uav-watchdog
|
||||
namespace: uavcloud-devflight
|
||||
namespace: uavcloud-feature
|
||||
labels:
|
||||
cmii.type: backend
|
||||
cmii.app: cmii-uav-watchdog
|
||||
@@ -158,7 +158,7 @@ kind: ConfigMap
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: cmii-uav-watchdog-configmap
|
||||
namespace: uavcloud-devflight
|
||||
namespace: uavcloud-feature
|
||||
data:
|
||||
config.yaml: |-
|
||||
server:
|
||||
@@ -172,7 +172,7 @@ data:
|
||||
url: "https://watchdog-center.example.com" # 一级授权中心地址
|
||||
|
||||
project:
|
||||
project_namespace: "uavcloud-devflight" # 项目命名空间
|
||||
project_namespace: "uavcloud-feature" # 项目命名空间
|
||||
|
||||
tier_two_auth:
|
||||
tier_two_secret: "your_tier_two_secret_here" # 二级授权密钥
|
||||
Reference in New Issue
Block a user