From 6ab56932ac8ef588607e5bce6d6806fd9d1253dc Mon Sep 17 00:00:00 2001 From: zeaslity Date: Thu, 22 Aug 2024 14:55:39 +0800 Subject: [PATCH 01/11] =?UTF-8?q?[Agent][Deploy]=20-=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=83=A8=E7=BD=B2=E6=A8=A1=E6=9D=BF=E7=9A=84=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- agent-common/real_project/jsntejpt/Config.go | 79 +++++++++++++++++++ .../a_dashboard/TemplateK8SDashboard.go | 2 +- agent-deploy/e_cmii/CmiiEnvConfiguration.go | 4 +- agent-operator/CmiiDeployOperator_test.go | 13 +-- agent-operator/ImageSyncDLTU.sh | 27 +++++-- .../server/func/TestBaseFuncScheduler.java | 4 +- 6 files changed, 112 insertions(+), 17 deletions(-) create mode 100644 agent-common/real_project/jsntejpt/Config.go diff --git a/agent-common/real_project/jsntejpt/Config.go b/agent-common/real_project/jsntejpt/Config.go new file mode 100644 index 0000000..81d7b59 --- /dev/null +++ b/agent-common/real_project/jsntejpt/Config.go @@ -0,0 +1,79 @@ +package jsntejpt + +var AllCmiiImageList = []string{ + "harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-gateway:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-open-gateway:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-brain:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:5.7.0-29766-0815", + "harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:5.2.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:5.1.0", + "harbor.cdcyy.com.cn/cmii/cmii-iam-gateway:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:5.7.0-30403", + "harbor.cdcyy.com.cn/cmii/cmii-uav-tower:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-sense-adapter:5.7.0-0805", + "harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:5.1.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-user:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:5.2.0-24810", + "harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-autowaypoint:4.2.0-beta", + "harbor.cdcyy.com.cn/cmii/cmii-uav-logger:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-mission:5.7.0-29766-0819", + "harbor.cdcyy.com.cn/cmii/cmii-admin-data:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-integration:5.7.0-hw-080201", + "harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-admin-gateway:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-app-release:4.2.0-validation", + "harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:5.7.0-0814", + "harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.7.0-31369-yunnan-082001", + "harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:5.7.0-29766-0815", + "harbor.cdcyy.com.cn/cmii/cmii-uav-notice:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-developer:5.7.0-0725", + "harbor.cdcyy.com.cn/cmii/cmii-uav-multilink:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-cms:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-process:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-admin-user:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-device:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:5.2.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-emergency-rescue:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-dispatchh5:5.6.0-0708", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-seniclive:5.2.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:5.4.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-oms:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervision:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:4.1.3-jiangsu-0427", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-security:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-armypeople:5.7.0-0820", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-open:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:4.1.0-21377-0508", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-threedsimulation:5.2.0-21392", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uasms:5.7.0-29322", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-media:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-securityh5:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.7.0-29267-0820", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-logistics:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:5.3.0-hjltt", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uas:5.7.0-29322", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:5.7.0-29766-0815", + "harbor.cdcyy.com.cn/cmii/cmii-srs-oss-adaptor:2023-SA", + "harbor.cdcyy.com.cn/cmii/ossrs/srs:v5.0.195", + "harbor.cdcyy.com.cn/cmii/cmii-live-operator:5.2.0", +} diff --git a/agent-deploy/a_dashboard/TemplateK8SDashboard.go b/agent-deploy/a_dashboard/TemplateK8SDashboard.go index 2e5c17f..dd8ac8d 100755 --- a/agent-deploy/a_dashboard/TemplateK8SDashboard.go +++ b/agent-deploy/a_dashboard/TemplateK8SDashboard.go @@ -30,7 +30,7 @@ spec: ports: - port: 443 targetPort: 8443 - nodePort: 30554 + nodePort: 39999 selector: k8s-app: kubernetes-dashboard type: NodePort diff --git a/agent-deploy/e_cmii/CmiiEnvConfiguration.go b/agent-deploy/e_cmii/CmiiEnvConfiguration.go index 2a5426f..30a56d8 100644 --- a/agent-deploy/e_cmii/CmiiEnvConfiguration.go +++ b/agent-deploy/e_cmii/CmiiEnvConfiguration.go @@ -51,10 +51,10 @@ var CmiiOutSideConfig = &CmiiEnvConfig{ CmiiFrontendConfig: d_app.CmiiFrontendConfig{}, CmiiBackendConfig: d_app.CmiiBackendConfig{}, CmiiSrsConfig: d_app.CmiiSrsConfig{ - RtmpPort: "30935", + RtmpPort: "31935", WebRTCPort: "30090", SrtPort: "30556", - WebApiPort: "30557", + WebApiPort: "30080", MySQLK8sAdminPassword: "fP#UaH6qQ3)8", }, } diff --git a/agent-operator/CmiiDeployOperator_test.go b/agent-operator/CmiiDeployOperator_test.go index a5bd3bf..5a6d4f8 100755 --- a/agent-operator/CmiiDeployOperator_test.go +++ b/agent-operator/CmiiDeployOperator_test.go @@ -3,6 +3,7 @@ package main import ( "testing" image2 "wdd.io/agent-common/image" + "wdd.io/agent-common/real_project/jsntejpt" "wdd.io/agent-common/real_project/zhejianyidong_erjipingtai" "wdd.io/agent-deploy/z_dep" ) @@ -84,17 +85,17 @@ func TestCmiiEnvDeploy_JiangSuNanTong(t *testing.T) { // 江苏南通 commonEnv := &z_dep.CommonEnvironmentConfig{ - WebIP: "111.2.224.59", + WebIP: "10.40.51.5", WebPort: "8088", - HarborIPOrCustomImagePrefix: "192.168.10.3", + HarborIPOrCustomImagePrefix: "10.40.51.5", HarborPort: "8033", - Namespace: "zjyd", + Namespace: "jsntejpt", TagVersion: "5.7.0", - NFSServerIP: "192.168.10.3", - MinioInnerIP: "192.168.10.2", + NFSServerIP: "10.40.51.5", + MinioInnerIP: "10.40.51.5", } - CmiiEnvDeployOffline(commonEnv, true, zhejianyidong_erjipingtai.Cmii570ImageList) + CmiiEnvDeployOffline(commonEnv, true, jsntejpt.AllCmiiImageList) } diff --git a/agent-operator/ImageSyncDLTU.sh b/agent-operator/ImageSyncDLTU.sh index 353fb8a..60c2fe0 100644 --- a/agent-operator/ImageSyncDLTU.sh +++ b/agent-operator/ImageSyncDLTU.sh @@ -3,7 +3,7 @@ all_image_list_txt="all-cmii-image-list.txt" # 需要修改版本 gzip_image_list_txt="all-gzip-image-list.txt" # 一般不需要修改 oss_prefix_url="https://oss.demo.uavcmlc.com/cmlc-installation" -local_gzip_path="/root/wdd/octopus_image" +local_gzip_path="/root/octopus_image" DockerRegisterDomain="10.40.51.5:8033" # 需要根据实际修改 HarborAdminPass=V2ryStr@ngPss # 需要跟第一脚本中的密码保持一致 @@ -127,16 +127,31 @@ Load_Tag_Upload(){ print_red "bad arguments" ;; esac - shift # past argument or value done } ltu(){ - while IFS= read -r file; do - [ -z "${file}" ] && continue - echo "read gzip file full name is $file" - done < "$(find $local_gzip_path -type f -name "*.tar.gz")" + all_file_list=$(find $local_gzip_path -type f -name "*.tar.gz") + + for file in $all_file_list; do + echo "offline gzip file is => : $file" + image_full_name=$(docker load -i ${file} | head -n1 |awk -F': ' '{print $2}') + + app_name=$(echo "$image_full_name" | sed 's|.*/||g') + echo "extract short name is $app_name" + + if echo $image_full_name | grep -q "rancher" + then + print_green "tag image to => $DockerRegisterDomain/rancher/$app_name" + docker tag ${image_full_name} $DockerRegisterDomain/rancher/$app_name + docker push $DockerRegisterDomain/rancher/$app_name + else + print_green "tag image to => $DockerRegisterDomain/cmii/$app_name" + docker tag ${image_full_name} $DockerRegisterDomain/cmii/$app_name + docker push $DockerRegisterDomain/cmii/$app_name + fi + done } diff --git a/server/src/test/java/io/wdd/server/func/TestBaseFuncScheduler.java b/server/src/test/java/io/wdd/server/func/TestBaseFuncScheduler.java index c492398..451e8ff 100755 --- a/server/src/test/java/io/wdd/server/func/TestBaseFuncScheduler.java +++ b/server/src/test/java/io/wdd/server/func/TestBaseFuncScheduler.java @@ -131,7 +131,7 @@ public class TestBaseFuncScheduler { // baseFuncScheduler.runProcedure(projectDeployContext); // 只能支持 带端口的HarborHost 默认为8033Chengdu-amd64-110 - harborFuncScheduler.runProcedure(projectDeployContext); +// harborFuncScheduler.runProcedure(projectDeployContext); List appFunctionEnumList = List.of( @@ -165,7 +165,7 @@ public class TestBaseFuncScheduler { projectDeployContext.setMasterNodeBaseProcedure(masterNodeProcedure); projectDeployContext.setAgentNodeBaseProcedure(agentNodeProcedure); -// baseFuncScheduler.runProcedure(projectDeployContext); + baseFuncScheduler.runProcedure(projectDeployContext); } } From 8cc9ad5fedc77a13d2eadab1fa87e1880d04ac3b Mon Sep 17 00:00:00 2001 From: zeaslity Date: Thu, 22 Aug 2024 15:40:27 +0800 Subject: [PATCH 02/11] [Agent][Deploy] - jsntejpt --- .../real_project/jsntejpt/k8s-backend.yaml | 5977 +++++++++++++++++ .../real_project/jsntejpt/k8s-configmap.yaml | 420 ++ .../real_project/jsntejpt/k8s-dashboard.yaml | 309 + .../real_project/jsntejpt/k8s-emqx.yaml | 274 + .../real_project/jsntejpt/k8s-frontend.yaml | 2606 +++++++ .../real_project/jsntejpt/k8s-ingress.yaml | 604 ++ .../real_project/jsntejpt/k8s-mongo.yaml | 78 + .../real_project/jsntejpt/k8s-mysql.yaml | 423 ++ .../real_project/jsntejpt/k8s-nacos.yaml | 130 + .../real_project/jsntejpt/k8s-nfs-test.yaml | 38 + .../real_project/jsntejpt/k8s-nfs.yaml | 114 + .../real_project/jsntejpt/k8s-pvc.yaml | 76 + .../real_project/jsntejpt/k8s-rabbitmq.yaml | 328 + .../real_project/jsntejpt/k8s-redis.yaml | 585 ++ .../real_project/jsntejpt/k8s-srs.yaml | 496 ++ .../real_project/jsntejpt/{ => old}/Config.go | 0 16 files changed, 12458 insertions(+) create mode 100644 agent-common/real_project/jsntejpt/k8s-backend.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-configmap.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-dashboard.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-emqx.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-frontend.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-ingress.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-mongo.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-mysql.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-nacos.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-nfs-test.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-nfs.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-pvc.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-rabbitmq.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-redis.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-srs.yaml rename agent-common/real_project/jsntejpt/{ => old}/Config.go (100%) diff --git a/agent-common/real_project/jsntejpt/k8s-backend.yaml b/agent-common/real_project/jsntejpt/k8s-backend.yaml new file mode 100644 index 0000000..a7b4665 --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-backend.yaml @@ -0,0 +1,5977 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cms + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cms + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cms + image: 10.40.51.5:8033/cmii/cmii-uav-cms:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-cms + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-cms + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cms + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cms + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-open-gateway + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-open-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-open-gateway + image: 10.40.51.5:8033/cmii/cmii-open-gateway:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-open-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-open-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-open-gateway + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-open-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-user + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-user + image: 10.40.51.5:8033/cmii/cmii-admin-user:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-admin-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-admin-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-user + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-airspace + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-airspace + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-airspace + image: 10.40.51.5:8033/cmii/cmii-uav-airspace:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-airspace + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-airspace + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-airspace + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-airspace + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-logger + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-logger + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-logger + image: 10.40.51.5:8033/cmii/cmii-uav-logger:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-logger + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-logger + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-logger + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-logger + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mission + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mission + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mission + image: 10.40.51.5:8033/cmii/cmii-uav-mission:5.7.0-29766-0819 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-mission + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-mission + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mission + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mission + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gis-server + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gis-server + image: 10.40.51.5:8033/cmii/cmii-uav-gis-server:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-gis-server + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-gis-server + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gis-server + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-gis-server + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mqtthandler + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mqtthandler + image: 10.40.51.5:8033/cmii/cmii-uav-mqtthandler:5.7.0-29766-0815 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-mqtthandler + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-mqtthandler + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mqtthandler + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-gateway + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-gateway + image: 10.40.51.5:8033/cmii/cmii-uas-gateway:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uas-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uas-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-gateway + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-app-release + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-app-release + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-app-release + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-app-release + image: 10.40.51.5:8033/cmii/cmii-app-release:4.2.0-validation + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-app-release + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-app-release + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-app-release + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-app-release + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-industrial-portfolio + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-industrial-portfolio + image: 10.40.51.5:8033/cmii/cmii-uav-industrial-portfolio:5.7.0-31369-yunnan-082001 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-industrial-portfolio + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-industrial-portfolio + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-industrial-portfolio + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-clusters + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-clusters + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-clusters + image: 10.40.51.5:8033/cmii/cmii-uav-clusters:5.2.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-clusters + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-clusters + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-clusters + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-clusters + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-lifecycle + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-lifecycle + image: 10.40.51.5:8033/cmii/cmii-uas-lifecycle:5.7.0-30403 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uas-lifecycle + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uas-lifecycle + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-lifecycle + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-multilink + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-multilink + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-multilink + image: 10.40.51.5:8033/cmii/cmii-uav-multilink:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-multilink + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-multilink + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-multilink + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-multilink + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-surveillance + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-surveillance + image: 10.40.51.5:8033/cmii/cmii-uav-surveillance:5.7.0-29766-0815 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-surveillance + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-surveillance + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-surveillance + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-surveillance + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-gateway + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-gateway + image: 10.40.51.5:8033/cmii/cmii-admin-gateway:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-admin-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-admin-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-gateway + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-depotautoreturn + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-depotautoreturn + image: 10.40.51.5:8033/cmii/cmii-uav-depotautoreturn:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-depotautoreturn + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-depotautoreturn + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-depotautoreturn + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-tower + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-tower + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-tower + image: 10.40.51.5:8033/cmii/cmii-uav-tower:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-tower + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-tower + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-tower + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-tower + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-integration + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-integration + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-integration + image: 10.40.51.5:8033/cmii/cmii-uav-integration:5.7.0-hw-080201 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-integration + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-integration + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-integration + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-integration + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-brain + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-brain + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-brain + image: 10.40.51.5:8033/cmii/cmii-uav-brain:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-brain + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-brain + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-brain + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-brain + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-alarm + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-alarm + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-alarm + image: 10.40.51.5:8033/cmii/cmii-uav-alarm:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-alarm + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-alarm + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-alarm + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-alarm + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-iam-gateway + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-iam-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-iam-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-iam-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-iam-gateway + image: 10.40.51.5:8033/cmii/cmii-iam-gateway:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-iam-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-iam-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-iam-gateway + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-iam-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-iam-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-waypoint + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-waypoint + image: 10.40.51.5:8033/cmii/cmii-uav-waypoint:5.7.0-0814 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-waypoint + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-waypoint + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-waypoint + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-waypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-developer + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-developer + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-developer + image: 10.40.51.5:8033/cmii/cmii-uav-developer:5.7.0-0725 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-developer + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-developer + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-developer + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-developer + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-kpi-monitor + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-kpi-monitor + image: 10.40.51.5:8033/cmii/cmii-uav-kpi-monitor:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-kpi-monitor + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-kpi-monitor + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-kpi-monitor + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gateway + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gateway + image: 10.40.51.5:8033/cmii/cmii-uav-gateway:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gateway + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-autowaypoint + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-autowaypoint + image: 10.40.51.5:8033/cmii/cmii-uav-autowaypoint:4.2.0-beta + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-autowaypoint + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-autowaypoint + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-autowaypoint + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-device + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-device + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-device + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-device + image: 10.40.51.5:8033/cmii/cmii-uav-device:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-device + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-device + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-device + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-device + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-process + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-process + image: 10.40.51.5:8033/cmii/cmii-uav-process:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-process + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-oauth + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-oauth + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-oauth + image: 10.40.51.5:8033/cmii/cmii-uav-oauth:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-oauth + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-oauth + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-oauth + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-oauth + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cloud-live + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cloud-live + image: 10.40.51.5:8033/cmii/cmii-uav-cloud-live:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-cloud-live + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-cloud-live + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cloud-live + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-user + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-user + image: 10.40.51.5:8033/cmii/cmii-uav-user:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-user + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-data-post-process + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-data-post-process + image: 10.40.51.5:8033/cmii/cmii-uav-data-post-process:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-data-post-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-data-post-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-data-post-process + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-engine + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-engine + image: 10.40.51.5:8033/cmii/cmii-uav-grid-engine:5.1.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-grid-engine + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-grid-engine + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-engine + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-threedsimulation + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-threedsimulation + image: 10.40.51.5:8033/cmii/cmii-uav-threedsimulation:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-threedsimulation + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-threedsimulation + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-threedsimulation + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-emergency + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-emergency + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-emergency + image: 10.40.51.5:8033/cmii/cmii-uav-emergency:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-emergency + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-emergency + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-emergency + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-emergency + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-supervision + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-suav-supervision + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-supervision + image: 10.40.51.5:8033/cmii/cmii-suav-supervision:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-suav-supervision + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-suav-supervision + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-supervision + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-suav-supervision + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-material-warehouse + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-material-warehouse + image: 10.40.51.5:8033/cmii/cmii-uav-material-warehouse:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-material-warehouse + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-material-warehouse + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-material-warehouse + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-data + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-data + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-data + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-data + image: 10.40.51.5:8033/cmii/cmii-admin-data:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-admin-data + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-admin-data + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-data + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-data + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-datasource + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-datasource + image: 10.40.51.5:8033/cmii/cmii-uav-grid-datasource:5.2.0-24810 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-grid-datasource + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-grid-datasource + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-datasource + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-manage + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-manage + image: 10.40.51.5:8033/cmii/cmii-uav-grid-manage:5.1.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-grid-manage + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-grid-manage + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-manage + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-sense-adapter + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sense-adapter + image: 10.40.51.5:8033/cmii/cmii-uav-sense-adapter:5.7.0-0805 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-sense-adapter + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-sense-adapter + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sense-adapter + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-notice + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-notice + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - jsntejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-notice + image: 10.40.51.5:8033/cmii/cmii-uav-notice:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-notice + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jsntejpt/cmii-uav-notice + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-notice + namespace: jsntejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-notice + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 diff --git a/agent-common/real_project/jsntejpt/k8s-configmap.yaml b/agent-common/real_project/jsntejpt/k8s-configmap.yaml new file mode 100644 index 0000000..3de362b --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-configmap.yaml @@ -0,0 +1,420 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervisionh5 + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "supervisionh5", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-detection + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "detection", + AppClientId: "APP_FDHW2VLVDWPnnOCy" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-oms + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "oms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-seniclive + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "seniclive", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qinghaitourism + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "qinghaitourism", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qingdao + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "qingdao", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uasms + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "uasms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-ai-brain + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "ai-brain", + AppClientId: "APP_rafnuCAmBESIVYMH" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-logistics + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "logistics", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-share + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "share", + AppClientId: "APP_4lVSVI0ZGxTssir8" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uas + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "uas", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-splice + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "splice", + AppClientId: "APP_zE0M3sTRXrCIJS8Y" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervision + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "supervision", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pangu + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-armypeople + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "armypeople", + AppClientId: "APP_UIegse6Lfou9pO1U" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-base + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "base", + AppClientId: "APP_9LY41OaKSqk2btY0" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-multiterminal + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "multiterminal", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-open + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "open", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-securityh5 + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "securityh5", + AppClientId: "APP_N3ImO0Ubfu9peRHD" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-jiangsuwenlv + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "jiangsuwenlv", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-security + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "security", + AppClientId: "APP_JUSEMc7afyWXxvE7" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-threedsimulation + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "threedsimulation", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hljtt + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "hljtt", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-visualization + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "visualization", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-cmsportal + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "cmsportal", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-emergency + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "emergency", + AppClientId: "APP_aGsTAY1uMZrpKdfk" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-media + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "media", + AppClientId: "APP_4AU8lbifESQO4FD6" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-mws + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "mws", + AppClientId: "APP_uKniXPELlRERBBwK" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-traffic + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "traffic", + AppClientId: "APP_Jc8i2wOQ1t73QEJS" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dispatchh5 + namespace: jsntejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "10.40.51.5:8088", + ApplicationShortName: "dispatchh5", + AppClientId: "empty" + } diff --git a/agent-common/real_project/jsntejpt/k8s-dashboard.yaml b/agent-common/real_project/jsntejpt/k8s-dashboard.yaml new file mode 100644 index 0000000..541e64b --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-dashboard.yaml @@ -0,0 +1,309 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: kube-system + +--- + +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system + +--- + +kind: Service +apiVersion: v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + kubernetes.io/cluster-service: "true" + name: kubernetes-dashboard + namespace: kube-system +spec: + ports: + - port: 443 + targetPort: 8443 + nodePort: 39999 + selector: + k8s-app: kubernetes-dashboard + type: NodePort + +--- + +apiVersion: v1 +kind: Secret +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-certs + namespace: kube-system +type: Opaque + +--- + +apiVersion: v1 +kind: Secret +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-csrf + namespace: kube-system +type: Opaque +data: + csrf: "" + +--- + +apiVersion: v1 +kind: Secret +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-key-holder + namespace: kube-system +type: Opaque + +--- + +kind: ConfigMap +apiVersion: v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-settings + namespace: kube-system + +--- + +kind: Role +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system +rules: + # Allow Dashboard to get, update and delete Dashboard exclusive secrets. + - apiGroups: [ "" ] + resources: [ "secrets" ] + resourceNames: [ "kubernetes-dashboard-key-holder", "kubernetes-dashboard-certs", "kubernetes-dashboard-csrf" ] + verbs: [ "get", "update", "delete" ] + # Allow Dashboard to get and update 'kubernetes-dashboard-settings' config map. + - apiGroups: [ "" ] + resources: [ "configmaps" ] + resourceNames: [ "kubernetes-dashboard-settings" ] + verbs: [ "get", "update" ] + # Allow Dashboard to get metrics. + - apiGroups: [ "" ] + resources: [ "services" ] + resourceNames: [ "heapster", "dashboard-metrics-scraper" ] + verbs: [ "proxy" ] + - apiGroups: [ "" ] + resources: [ "services/proxy" ] + resourceNames: [ "heapster", "http:heapster:", "https:heapster:", "dashboard-metrics-scraper", "http:dashboard-metrics-scraper" ] + verbs: [ "get" ] + +--- + +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard +rules: + # Allow Metrics Scraper to get metrics from the Metrics server + - apiGroups: [ "metrics.k8s.io" ] + resources: [ "pods", "nodes" ] + verbs: [ "get", "list", "watch" ] + +--- + +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: kubernetes-dashboard +subjects: + - kind: ServiceAccount + name: kubernetes-dashboard + namespace: kube-system + +--- + +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: kubernetes-dashboard +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: kubernetes-dashboard +subjects: + - kind: ServiceAccount + name: kubernetes-dashboard + namespace: kube-system + +--- + +kind: Deployment +apiVersion: apps/v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system +spec: + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + k8s-app: kubernetes-dashboard + template: + metadata: + labels: + k8s-app: kubernetes-dashboard + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: kubernetes-dashboard + image: 10.40.51.5:8033/cmii/dashboard:v2.0.1 + ports: + - containerPort: 8443 + protocol: TCP + args: + - --auto-generate-certificates + - --namespace=kube-system + # Uncomment the following line to manually specify Kubernetes API server Host + # If not specified, Dashboard will attempt to auto discover the API server and connect + # to it. Uncomment only if the default does not work. + # - --apiserver-host=http://my-address:port + volumeMounts: + - name: kubernetes-dashboard-certs + mountPath: /certs + # Create on-disk volume to store exec logs + - mountPath: /tmp + name: tmp-volume + livenessProbe: + httpGet: + scheme: HTTPS + path: / + port: 8443 + initialDelaySeconds: 30 + timeoutSeconds: 30 + securityContext: + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + runAsUser: 1001 + runAsGroup: 2001 + volumes: + - name: kubernetes-dashboard-certs + secret: + secretName: kubernetes-dashboard-certs + - name: tmp-volume + emptyDir: { } + serviceAccountName: kubernetes-dashboard + # Comment the following tolerations if Dashboard must not be deployed on master + tolerations: + - key: node-role.kubernetes.io/master + effect: NoSchedule + +--- + +kind: Service +apiVersion: v1 +metadata: + labels: + k8s-app: dashboard-metrics-scraper + name: dashboard-metrics-scraper + namespace: kube-system +spec: + ports: + - port: 8000 + targetPort: 8000 + selector: + k8s-app: dashboard-metrics-scraper + +--- + +kind: Deployment +apiVersion: apps/v1 +metadata: + labels: + k8s-app: dashboard-metrics-scraper + name: dashboard-metrics-scraper + namespace: kube-system +spec: + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + k8s-app: dashboard-metrics-scraper + template: + metadata: + labels: + k8s-app: dashboard-metrics-scraper + annotations: + seccomp.security.alpha.kubernetes.io/pod: 'runtime/default' + spec: + containers: + - name: dashboard-metrics-scraper + image: 10.40.51.5:8033/cmii/metrics-scraper:v1.0.4 + ports: + - containerPort: 8000 + protocol: TCP + livenessProbe: + httpGet: + scheme: HTTP + path: / + port: 8000 + initialDelaySeconds: 30 + timeoutSeconds: 30 + volumeMounts: + - mountPath: /tmp + name: tmp-volume + securityContext: + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + runAsUser: 1001 + runAsGroup: 2001 + serviceAccountName: kubernetes-dashboard + # Comment the following tolerations if Dashboard must not be deployed on master + tolerations: + - key: node-role.kubernetes.io/master + effect: NoSchedule + volumes: + - name: tmp-volume + emptyDir: { } +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: admin-user + namespace: kube-system + +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: admin-user +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: + - kind: ServiceAccount + name: admin-user + namespace: kube-system diff --git a/agent-common/real_project/jsntejpt/k8s-emqx.yaml b/agent-common/real_project/jsntejpt/k8s-emqx.yaml new file mode 100644 index 0000000..ec75274 --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-emqx.yaml @@ -0,0 +1,274 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-emqxs + namespace: jsntejpt +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-emqxs-env + namespace: jsntejpt + labels: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + helm.sh/chart: emqx-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 +data: + EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc.cluster.local:443" + EMQX_NAME: "helm-emqxs" + EMQX_CLUSTER__DISCOVERY: "k8s" + EMQX_CLUSTER__K8S__APP_NAME: "helm-emqxs" + EMQX_CLUSTER__K8S__SERVICE_NAME: "helm-emqxs-headless" + EMQX_CLUSTER__K8S__ADDRESS_TYPE: "dns" + EMQX_CLUSTER__K8S__namespace: "jsntejpt" + EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local" + EMQX_ALLOW_ANONYMOUS: "false" + EMQX_ACL_NOMATCH: "deny" +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-emqxs-cm + namespace: jsntejpt + labels: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + helm.sh/chart: emqx-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 +data: + emqx_auth_mnesia.conf: |- + auth.mnesia.password_hash = sha256 + + # clientid 认证数据 + # auth.client.1.clientid = admin + # auth.client.1.password = 4YPk*DS%+5 + + ## username 认证数据 + auth.user.1.username = admin + auth.user.1.password = odD8#Ve7.B + auth.user.2.username = cmlc + auth.user.2.password = odD8#Ve7.B + + acl.conf: |- + {allow, {user, "admin"}, pubsub, ["admin/#"]}. + {allow, {user, "dashboard"}, subscribe, ["$SYS/#"]}. + {allow, {ipaddr, "127.0.0.1"}, pubsub, ["$SYS/#", "#"]}. + {deny, all, subscribe, ["$SYS/#", {eq, "#"}]}. + {allow, all}. + + loaded_plugins: |- + {emqx_auth_mnesia,true}. + {emqx_auth_mnesia,true}. + {emqx_management, true}. + {emqx_recon, true}. + {emqx_retainer, false}. + {emqx_dashboard, true}. + {emqx_telemetry, true}. + {emqx_rule_engine, true}. + {emqx_bridge_mqtt, false}. +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-emqxs + namespace: jsntejpt + labels: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + helm.sh/chart: emqx-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 +spec: + replicas: 1 + serviceName: helm-emqxs-headless + updateStrategy: + type: RollingUpdate + selector: + matchLabels: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + template: + metadata: + labels: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + helm.sh/chart: emqx-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 + spec: + affinity: { } + imagePullSecrets: + - name: harborsecret + serviceAccountName: helm-emqxs + containers: + - name: helm-emqxs + image: 10.40.51.5:8033/cmii/emqx:4.4.9 + imagePullPolicy: Always + ports: + - name: mqtt + containerPort: 1883 + - name: mqttssl + containerPort: 8883 + - name: mgmt + containerPort: 8081 + - name: ws + containerPort: 8083 + - name: wss + containerPort: 8084 + - name: dashboard + containerPort: 18083 + - name: ekka + containerPort: 4370 + envFrom: + - configMapRef: + name: helm-emqxs-env + resources: { } + volumeMounts: + - name: emqx-data + mountPath: "/opt/emqx/data/mnesia" + readOnly: false + - name: helm-emqxs-cm + mountPath: "/opt/emqx/etc/plugins/emqx_auth_mnesia.conf" + subPath: emqx_auth_mnesia.conf + readOnly: false + # - name: helm-emqxs-cm + # mountPath: "/opt/emqx/etc/acl.conf" + # subPath: "acl.conf" + # readOnly: false + - name: helm-emqxs-cm + mountPath: "/opt/emqx/data/loaded_plugins" + subPath: loaded_plugins + readOnly: false + volumes: + - name: emqx-data + persistentVolumeClaim: + claimName: helm-emqxs + - name: helm-emqxs-cm + configMap: + name: helm-emqxs-cm + items: + - key: emqx_auth_mnesia.conf + path: emqx_auth_mnesia.conf + - key: acl.conf + path: acl.conf + - key: loaded_plugins + path: loaded_plugins +--- +kind: Role +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: helm-emqxs + namespace: jsntejpt +rules: + - apiGroups: + - "" + resources: + - endpoints + verbs: + - get + - watch + - list +--- +kind: RoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: helm-emqxs + namespace: jsntejpt +subjects: + - kind: ServiceAccount + name: helm-emqxs + namespace: jsntejpt +roleRef: + kind: Role + name: helm-emqxs + apiGroup: rbac.authorization.k8s.io +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-emqxs + namespace: jsntejpt + labels: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + helm.sh/chart: emqx-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 +spec: + type: NodePort + selector: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + ports: + - port: 1883 + name: mqtt + targetPort: 1883 + nodePort: 31883 + - port: 18083 + name: dashboard + targetPort: 18083 + nodePort: 38085 + - port: 8083 + name: mqtt-websocket + targetPort: 8083 + nodePort: 38083 +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-emqxs-headless + namespace: jsntejpt + labels: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + helm.sh/chart: emqx-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + clusterIP: None + selector: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + ports: + - name: mqtt + port: 1883 + protocol: TCP + targetPort: 1883 + - name: mqttssl + port: 8883 + protocol: TCP + targetPort: 8883 + - name: mgmt + port: 8081 + protocol: TCP + targetPort: 8081 + - name: websocket + port: 8083 + protocol: TCP + targetPort: 8083 + - name: wss + port: 8084 + protocol: TCP + targetPort: 8084 + - name: dashboard + port: 18083 + protocol: TCP + targetPort: 18083 + - name: ekka + port: 4370 + protocol: TCP + targetPort: 4370 diff --git a/agent-common/real_project/jsntejpt/k8s-frontend.yaml b/agent-common/real_project/jsntejpt/k8s-frontend.yaml new file mode 100644 index 0000000..6d1aa4f --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-frontend.yaml @@ -0,0 +1,2606 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: nginx-cm + namespace: jsntejpt + labels: + cmii.type: frontend +data: + nginx.conf: | + server { + listen 9528; + server_name localhost; + gzip on; + + location / { + root /home/cmii-platform/dist; + index index.html index.htm; + } + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root html; + } + } +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-multiterminal + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-multiterminal + image: 10.40.51.5:8033/cmii/cmii-uav-platform-multiterminal:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-multiterminal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-multiterminal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-multiterminal + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-uasms + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-uasms + image: 10.40.51.5:8033/cmii/cmii-uav-platform-uasms:5.7.0-29322 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-uasms + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-uasms + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-uasms + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-emergency-rescue + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-emergency-rescue + image: 10.40.51.5:8033/cmii/cmii-uav-platform-emergency-rescue:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-emergency-rescue + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-emergency + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-emergency-rescue + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-armypeople + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-armypeople + image: 10.40.51.5:8033/cmii/cmii-uav-platform-armypeople:5.7.0-0820 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-armypeople + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-armypeople + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-armypeople + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-mws + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-mws + image: 10.40.51.5:8033/cmii/cmii-uav-platform-mws:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-mws + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-mws + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-mws + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-cms-portal + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-cms-portal + image: 10.40.51.5:8033/cmii/cmii-uav-platform-cms-portal:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-cms-portal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-cmsportal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-cms-portal + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-securityh5 + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-securityh5 + image: 10.40.51.5:8033/cmii/cmii-uav-platform-securityh5:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-securityh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-securityh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-securityh5 + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qinghaitourism + image: 10.40.51.5:8033/cmii/cmii-uav-platform-qinghaitourism:4.1.0-21377-0508 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-qinghaitourism + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qinghaitourism + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-share + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-share + image: 10.40.51.5:8033/cmii/cmii-uav-platform-share:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-share + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-share + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-share + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-uas + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-uas + image: 10.40.51.5:8033/cmii/cmii-uav-platform-uas:5.7.0-29322 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-uas + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-uas + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-uas + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-seniclive + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-seniclive + image: 10.40.51.5:8033/cmii/cmii-uav-platform-seniclive:5.2.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-seniclive + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-seniclive + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-seniclive + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-detection + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-detection + image: 10.40.51.5:8033/cmii/cmii-uav-platform-detection:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-detection + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-detection + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-detection + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-dispatchh5 + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-dispatchh5 + image: 10.40.51.5:8033/cmii/cmii-uav-platform-dispatchh5:5.6.0-0708 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-dispatchh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-dispatchh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-dispatchh5 + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-threedsimulation + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-threedsimulation + image: 10.40.51.5:8033/cmii/cmii-uav-platform-threedsimulation:5.2.0-21392 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-threedsimulation + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-threedsimulation + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-threedsimulation + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-hljtt + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-hljtt + image: 10.40.51.5:8033/cmii/cmii-uav-platform-hljtt:5.3.0-hjltt + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-hljtt + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-hljtt + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-hljtt + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-splice + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-splice + image: 10.40.51.5:8033/cmii/cmii-uav-platform-splice:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-splice + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-splice + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-splice + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-visualization + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-visualization + image: 10.40.51.5:8033/cmii/cmii-uav-platform-visualization:5.2.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-visualization + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-visualization + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-visualization + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform + image: 10.40.51.5:8033/cmii/cmii-uav-platform:5.7.0-29267-0820 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-pangu + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-qingdao + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qingdao + image: 10.40.51.5:8033/cmii/cmii-uav-platform-qingdao:5.7.0-29766-0815 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-qingdao + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qingdao + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qingdao + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervisionh5 + image: 10.40.51.5:8033/cmii/cmii-suav-platform-supervisionh5:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-suav-platform-supervisionh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervisionh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-base + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-base + image: 10.40.51.5:8033/cmii/cmii-uav-platform-base:5.4.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-base + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-base + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-base + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-ai-brain + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-ai-brain + image: 10.40.51.5:8033/cmii/cmii-uav-platform-ai-brain:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-ai-brain + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-ai-brain + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-ai-brain + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-oms + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-oms + image: 10.40.51.5:8033/cmii/cmii-uav-platform-oms:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-oms + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-oms + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-oms + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-jiangsuwenlv + image: 10.40.51.5:8033/cmii/cmii-uav-platform-jiangsuwenlv:4.1.3-jiangsu-0427 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-jiangsuwenlv + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-jiangsuwenlv + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-media + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-media + image: 10.40.51.5:8033/cmii/cmii-uav-platform-media:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-media + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-media + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-media + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-open + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-open + image: 10.40.51.5:8033/cmii/cmii-uav-platform-open:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-open + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-open + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-open + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-logistics + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-logistics + image: 10.40.51.5:8033/cmii/cmii-uav-platform-logistics:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-logistics + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-logistics + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-logistics + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-platform-supervision + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervision + image: 10.40.51.5:8033/cmii/cmii-suav-platform-supervision:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-suav-platform-supervision + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervision + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervision + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-security + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-security + image: 10.40.51.5:8033/cmii/cmii-uav-platform-security:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jsntejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-security + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-security + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-security + namespace: jsntejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 diff --git a/agent-common/real_project/jsntejpt/k8s-ingress.yaml b/agent-common/real_project/jsntejpt/k8s-ingress.yaml new file mode 100644 index 0000000..db8ce0f --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-ingress.yaml @@ -0,0 +1,604 @@ +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: frontend-applications-ingress + namespace: jsntejpt + labels: + type: frontend + octopus.control: all-ingress-config-wdd + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 + annotations: + kubernetes.io/ingress.class: "nginx" + nginx.ingress.kubernetes.io/enable-cors: "true" + nginx.ingress.kubernetes.io/rewrite-target: /$1 + nginx.ingress.kubernetes.io/configuration-snippet: | + rewrite ^(/supervision)$ $1/ redirect; + rewrite ^(/supervisionh5)$ $1/ redirect; + rewrite ^(/pangu)$ $1/ redirect; + rewrite ^(/ai-brain)$ $1/ redirect; + rewrite ^(/armypeople)$ $1/ redirect; + rewrite ^(/base)$ $1/ redirect; + rewrite ^(/cmsportal)$ $1/ redirect; + rewrite ^(/detection)$ $1/ redirect; + rewrite ^(/dispatchh5)$ $1/ redirect; + rewrite ^(/emergency)$ $1/ redirect; + rewrite ^(/hljtt)$ $1/ redirect; + rewrite ^(/jiangsuwenlv)$ $1/ redirect; + rewrite ^(/logistics)$ $1/ redirect; + rewrite ^(/media)$ $1/ redirect; + rewrite ^(/multiterminal)$ $1/ redirect; + rewrite ^(/mws)$ $1/ redirect; + rewrite ^(/oms)$ $1/ redirect; + rewrite ^(/open)$ $1/ redirect; + rewrite ^(/qingdao)$ $1/ redirect; + rewrite ^(/qinghaitourism)$ $1/ redirect; + rewrite ^(/security)$ $1/ redirect; + rewrite ^(/securityh5)$ $1/ redirect; + rewrite ^(/seniclive)$ $1/ redirect; + rewrite ^(/share)$ $1/ redirect; + rewrite ^(/splice)$ $1/ redirect; + rewrite ^(/threedsimulation)$ $1/ redirect; + rewrite ^(/traffic)$ $1/ redirect; + rewrite ^(/uas)$ $1/ redirect; + rewrite ^(/uasms)$ $1/ redirect; + rewrite ^(/visualization)$ $1/ redirect; +spec: + rules: + - host: fake-domain.jsntejpt.io + http: + paths: + - path: /?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform + servicePort: 9528 + - path: /supervision/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-suav-platform-supervision + servicePort: 9528 + - path: /supervisionh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-suav-platform-supervisionh5 + servicePort: 9528 + - path: /pangu/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform + servicePort: 9528 + - path: /ai-brain/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-ai-brain + servicePort: 9528 + - path: /armypeople/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-armypeople + servicePort: 9528 + - path: /base/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-base + servicePort: 9528 + - path: /cmsportal/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-cms-portal + servicePort: 9528 + - path: /detection/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-detection + servicePort: 9528 + - path: /dispatchh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-dispatchh5 + servicePort: 9528 + - path: /emergency/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-emergency-rescue + servicePort: 9528 + - path: /hljtt/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-hljtt + servicePort: 9528 + - path: /jiangsuwenlv/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-jiangsuwenlv + servicePort: 9528 + - path: /logistics/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-logistics + servicePort: 9528 + - path: /media/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-media + servicePort: 9528 + - path: /multiterminal/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-multiterminal + servicePort: 9528 + - path: /mws/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-mws + servicePort: 9528 + - path: /oms/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-oms + servicePort: 9528 + - path: /open/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-open + servicePort: 9528 + - path: /qingdao/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-qingdao + servicePort: 9528 + - path: /qinghaitourism/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-qinghaitourism + servicePort: 9528 + - path: /security/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-security + servicePort: 9528 + - path: /securityh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-securityh5 + servicePort: 9528 + - path: /seniclive/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-seniclive + servicePort: 9528 + - path: /share/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-share + servicePort: 9528 + - path: /splice/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-splice + servicePort: 9528 + - path: /threedsimulation/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-threedsimulation + servicePort: 9528 + - path: /traffic/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-traffic + servicePort: 9528 + - path: /uas/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-uas + servicePort: 9528 + - path: /uasms/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-uasms + servicePort: 9528 + - path: /visualization/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-visualization + servicePort: 9528 +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: backend-applications-ingress + namespace: jsntejpt + labels: + type: backend + octopus.control: all-ingress-config-wdd + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 + annotations: + kubernetes.io/ingress.class: "nginx" + nginx.ingress.kubernetes.io/enable-cors: "true" +spec: + rules: + - host: cmii-admin-data.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-data + servicePort: 8080 + - host: cmii-admin-gateway.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-gateway + servicePort: 8080 + - host: cmii-admin-user.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-user + servicePort: 8080 + - host: cmii-app-release.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-app-release + servicePort: 8080 + - host: cmii-open-gateway.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-open-gateway + servicePort: 8080 + - host: cmii-suav-supervision.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-suav-supervision + servicePort: 8080 + - host: cmii-uas-gateway.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-gateway + servicePort: 8080 + - host: cmii-uas-lifecycle.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-lifecycle + servicePort: 8080 + - host: cmii-uav-airspace.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-airspace + servicePort: 8080 + - host: cmii-uav-alarm.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-alarm + servicePort: 8080 + - host: cmii-uav-autowaypoint.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-autowaypoint + servicePort: 8080 + - host: cmii-uav-brain.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-brain + servicePort: 8080 + - host: cmii-uav-bridge.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-bridge + servicePort: 8080 + - host: cmii-uav-cloud-live.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-cloud-live + servicePort: 8080 + - host: cmii-uav-clusters.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-clusters + servicePort: 8080 + - host: cmii-uav-cms.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-cms + servicePort: 8080 + - host: cmii-uav-data-post-process.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-data-post-process + servicePort: 8080 + - host: cmii-uav-depotautoreturn.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-depotautoreturn + servicePort: 8080 + - host: cmii-uav-developer.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-developer + servicePort: 8080 + - host: cmii-uav-device.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-device + servicePort: 8080 + - host: cmii-uav-emergency.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-emergency + servicePort: 8080 + - host: cmii-uav-gateway.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gateway + servicePort: 8080 + - host: cmii-uav-gis-server.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gis-server + servicePort: 8080 + - host: cmii-uav-grid-datasource.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-datasource + servicePort: 8080 + - host: cmii-uav-grid-engine.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-engine + servicePort: 8080 + - host: cmii-uav-grid-manage.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-manage + servicePort: 8080 + - host: cmii-uav-industrial-portfolio.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-industrial-portfolio + servicePort: 8080 + - host: cmii-uav-integration.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-integration + servicePort: 8080 + - host: cmii-uav-kpi-monitor.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-kpi-monitor + servicePort: 8080 + - host: cmii-uav-logger.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-logger + servicePort: 8080 + - host: cmii-uav-material-warehouse.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-material-warehouse + servicePort: 8080 + - host: cmii-uav-mission.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-mission + servicePort: 8080 + - host: cmii-uav-mqtthandler.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-mqtthandler + servicePort: 8080 + - host: cmii-uav-multilink.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-multilink + servicePort: 8080 + - host: cmii-uav-notice.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-notice + servicePort: 8080 + - host: cmii-uav-oauth.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-oauth + servicePort: 8080 + - host: cmii-uav-process.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-process + servicePort: 8080 + - host: cmii-uav-sense-adapter.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sense-adapter + servicePort: 8080 + - host: cmii-uav-surveillance.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-surveillance + servicePort: 8080 + - host: cmii-uav-threedsimulation.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-threedsimulation + servicePort: 8080 + - host: cmii-uav-tower.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-tower + servicePort: 8080 + - host: cmii-uav-user.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-user + servicePort: 8080 + - host: cmii-uav-waypoint.uavcloud-jsntejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-waypoint + servicePort: 8080 +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: all-gateways-ingress + namespace: jsntejpt + labels: + type: api-gateway + octopus.control: all-ingress-config-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 + annotations: + kubernetes.io/ingress.class: "nginx" + nginx.ingress.kubernetes.io/enable-cors: "true" + nginx.ingress.kubernetes.io/rewrite-target: /$1 + nginx.ingress.kubernetes.io/configuration-snippet: | + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; +spec: + rules: + - host: fake-domain.jsntejpt.io + http: + paths: + - path: /oms/api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-gateway + servicePort: 8080 + - path: /open/api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-open-gateway + servicePort: 8080 + - path: /api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gateway + servicePort: 8080 diff --git a/agent-common/real_project/jsntejpt/k8s-mongo.yaml b/agent-common/real_project/jsntejpt/k8s-mongo.yaml new file mode 100644 index 0000000..2673646 --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-mongo.yaml @@ -0,0 +1,78 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mongo + namespace: jsntejpt + labels: + cmii.app: helm-mongo + cmii.type: middleware + helm.sh/chart: mongo-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 +spec: + type: NodePort + selector: + cmii.app: helm-mongo + cmii.type: middleware + ports: + - port: 27017 + name: server-27017 + targetPort: 27017 + nodePort: 37017 +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-mongo + namespace: jsntejpt + labels: + cmii.app: helm-mongo + cmii.type: middleware + helm.sh/chart: mongo-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 +spec: + serviceName: helm-mongo + replicas: 1 + selector: + matchLabels: + cmii.app: helm-mongo + cmii.type: middleware + template: + metadata: + labels: + cmii.app: helm-mongo + cmii.type: middleware + helm.sh/chart: mongo-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 + annotations: + pod.alpha.kubernetes.io/initialized: "true" + spec: + imagePullSecrets: + - name: harborsecret + affinity: { } + containers: + - name: helm-mongo + image: 10.40.51.5:8033/cmii/mongo:5.0 + resources: { } + ports: + - containerPort: 27017 + name: mongo27017 + protocol: TCP + env: + - name: MONGO_INITDB_ROOT_USERNAME + value: cmlc + - name: MONGO_INITDB_ROOT_PASSWORD + value: REdPza8#oVlt + volumeMounts: + - name: mongo-data + mountPath: /data/db + readOnly: false + subPath: default/helm-mongo/data/db + volumes: + - name: mongo-data + persistentVolumeClaim: + claimName: helm-mongo +--- diff --git a/agent-common/real_project/jsntejpt/k8s-mysql.yaml b/agent-common/real_project/jsntejpt/k8s-mysql.yaml new file mode 100644 index 0000000..ac4d735 --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-mysql.yaml @@ -0,0 +1,423 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-mysql + namespace: jsntejpt + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus + annotations: { } +secrets: + - name: helm-mysql +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-mysql + namespace: jsntejpt + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus +type: Opaque +data: + mysql-root-password: "UXpmWFFoZDNiUQ==" + mysql-password: "S0F0cm5PckFKNw==" +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-mysql + namespace: jsntejpt + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/component: primary +data: + my.cnf: |- + + [mysqld] + port=3306 + basedir=/opt/bitnami/mysql + datadir=/bitnami/mysql/data + pid-file=/opt/bitnami/mysql/tmp/mysqld.pid + socket=/opt/bitnami/mysql/tmp/mysql.sock + log-error=/bitnami/mysql/data/error.log + general_log_file = /bitnami/mysql/data/general.log + slow_query_log_file = /bitnami/mysql/data/slow.log + innodb_data_file_path = ibdata1:512M:autoextend + innodb_buffer_pool_size = 512M + innodb_buffer_pool_instances = 2 + innodb_log_file_size = 512M + innodb_log_files_in_group = 4 + innodb_log_files_in_group = 4 + log-bin = /bitnami/mysql/data/mysql-bin + max_binlog_size=1G + transaction_isolation = REPEATABLE-READ + default_storage_engine = innodb + character-set-server = utf8mb4 + collation-server=utf8mb4_bin + binlog_format = ROW + binlog_rows_query_log_events=on + binlog_cache_size=4M + binlog_expire_logs_seconds = 1296000 + max_binlog_cache_size=2G + gtid_mode = on + enforce_gtid_consistency = 1 + sync_binlog = 1 + innodb_flush_log_at_trx_commit = 1 + innodb_flush_method = O_DIRECT + log_slave_updates=1 + relay_log_recovery = 1 + relay-log-purge = 1 + default_time_zone = '+08:00' + lower_case_table_names=1 + log_bin_trust_function_creators=1 + group_concat_max_len=67108864 + innodb_io_capacity = 4000 + innodb_io_capacity_max = 8000 + innodb_flush_sync = 0 + innodb_flush_neighbors = 0 + innodb_write_io_threads = 8 + innodb_read_io_threads = 8 + innodb_purge_threads = 4 + innodb_page_cleaners = 4 + innodb_open_files = 65535 + innodb_max_dirty_pages_pct = 50 + innodb_lru_scan_depth = 4000 + innodb_checksum_algorithm = crc32 + innodb_lock_wait_timeout = 10 + innodb_rollback_on_timeout = 1 + innodb_print_all_deadlocks = 1 + innodb_file_per_table = 1 + innodb_online_alter_log_max_size = 4G + innodb_stats_on_metadata = 0 + innodb_thread_concurrency = 0 + innodb_sync_spin_loops = 100 + innodb_spin_wait_delay = 30 + lock_wait_timeout = 3600 + slow_query_log = 1 + long_query_time = 10 + log_queries_not_using_indexes =1 + log_throttle_queries_not_using_indexes = 60 + min_examined_row_limit = 100 + log_slow_admin_statements = 1 + log_slow_slave_statements = 1 + default_authentication_plugin=mysql_native_password + skip-name-resolve=1 + explicit_defaults_for_timestamp=1 + plugin_dir=/opt/bitnami/mysql/plugin + max_allowed_packet=128M + max_connections = 2000 + max_connect_errors = 1000000 + table_definition_cache=2000 + table_open_cache_instances=64 + tablespace_definition_cache=1024 + thread_cache_size=256 + interactive_timeout = 600 + wait_timeout = 600 + tmpdir=/opt/bitnami/mysql/tmp + max_allowed_packet=32M + bind-address=0.0.0.0 + performance_schema = 1 + performance_schema_instrument = '%memory%=on' + performance_schema_instrument = '%lock%=on' + innodb_monitor_enable=ALL + + [mysql] + no-auto-rehash + + [mysqldump] + quick + max_allowed_packet = 32M + + [client] + port=3306 + socket=/opt/bitnami/mysql/tmp/mysql.sock + default-character-set=UTF8 + plugin_dir=/opt/bitnami/mysql/plugin + + [manager] + port=3306 + socket=/opt/bitnami/mysql/tmp/mysql.sock + pid-file=/opt/bitnami/mysql/tmp/mysqld.pid +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-mysql-init-scripts + namespace: jsntejpt + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/component: primary +data: + create_users_grants_core.sql: |- + create + user zyly@'%' identified by 'Cmii@451315'; + grant select on *.* to zyly@'%'; + create + user zyly_qc@'%' identified by 'Uh)E_owCyb16'; + grant all + on *.* to zyly_qc@'%'; + create + user k8s_admin@'%' identified by 'fP#UaH6qQ3)8'; + grant all + on *.* to k8s_admin@'%'; + create + user audit_dba@'%' identified by 'PjCzqiBmJaTpgkoYXynH'; + grant all + on *.* to audit_dba@'%'; + create + user db_backup@'%' identified by 'RU5Pu(4FGdT9'; + GRANT + SELECT, RELOAD, PROCESS, LOCK TABLES, REPLICATION CLIENT, EVENT + on *.* to db_backup@'%'; + create + user monitor@'%' identified by 'PL3#nGtrWbf-'; + grant REPLICATION + CLIENT on *.* to monitor@'%'; + flush + privileges; +--- +kind: Service +apiVersion: v1 +metadata: + name: cmii-mysql + namespace: jsntejpt + labels: + app.kubernetes.io/component: primary + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/name: mysql-db + app.kubernetes.io/release: jsntejpt + cmii.app: mysql + cmii.type: middleware + octopus.control: mysql-db-wdd +spec: + ports: + - name: mysql + protocol: TCP + port: 13306 + targetPort: mysql + selector: + app.kubernetes.io/component: primary + app.kubernetes.io/name: mysql-db + app.kubernetes.io/release: jsntejpt + cmii.app: mysql + cmii.type: middleware + type: ClusterIP +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mysql-headless + namespace: jsntejpt + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary + annotations: { } +spec: + type: ClusterIP + clusterIP: None + publishNotReadyAddresses: true + ports: + - name: mysql + port: 3306 + targetPort: mysql + selector: + app.kubernetes.io/name: mysql-db + app.kubernetes.io/release: jsntejpt + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mysql + namespace: jsntejpt + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary + annotations: { } +spec: + type: NodePort + ports: + - name: mysql + port: 3306 + protocol: TCP + targetPort: mysql + nodePort: 33306 + selector: + app.kubernetes.io/name: mysql-db + app.kubernetes.io/release: jsntejpt + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-mysql + namespace: jsntejpt + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: mysql-db + app.kubernetes.io/release: jsntejpt + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary + serviceName: helm-mysql + updateStrategy: + type: RollingUpdate + template: + metadata: + annotations: + checksum/configuration: 6b60fa0f3a846a6ada8effdc4f823cf8003d42a8c8f630fe8b1b66d3454082dd + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary + spec: + imagePullSecrets: + - name: harborsecret + serviceAccountName: helm-mysql + affinity: { } + nodeSelector: + mysql-deploy: "true" + securityContext: + fsGroup: 1001 + initContainers: + - name: change-volume-permissions + image: 10.40.51.5:8033/cmii/bitnami-shell:11-debian-11-r136 + imagePullPolicy: "Always" + command: + - /bin/bash + - -ec + - | + chown -R 1001:1001 /bitnami/mysql + securityContext: + runAsUser: 0 + volumeMounts: + - name: mysql-data + mountPath: /bitnami/mysql + containers: + - name: mysql + image: 10.40.51.5:8033/cmii/mysql:8.1.0-debian-11-r42 + imagePullPolicy: "IfNotPresent" + securityContext: + runAsUser: 1001 + env: + - name: BITNAMI_DEBUG + value: "true" + - name: MYSQL_ROOT_PASSWORD + valueFrom: + secretKeyRef: + name: helm-mysql + key: mysql-root-password + - name: MYSQL_DATABASE + value: "cmii" + ports: + - name: mysql + containerPort: 3306 + livenessProbe: + failureThreshold: 5 + initialDelaySeconds: 120 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 3 + exec: + command: + - /bin/bash + - -ec + - | + password_aux="${MYSQL_ROOT_PASSWORD:-}" + if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then + password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") + fi + mysqladmin status -uroot -p"${password_aux}" + readinessProbe: + failureThreshold: 5 + initialDelaySeconds: 30 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 3 + exec: + command: + - /bin/bash + - -ec + - | + password_aux="${MYSQL_ROOT_PASSWORD:-}" + if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then + password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") + fi + mysqladmin status -uroot -p"${password_aux}" + startupProbe: + failureThreshold: 60 + initialDelaySeconds: 120 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + exec: + command: + - /bin/bash + - -ec + - | + password_aux="${MYSQL_ROOT_PASSWORD:-}" + if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then + password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") + fi + mysqladmin status -uroot -p"${password_aux}" + resources: + limits: { } + requests: { } + volumeMounts: + - name: mysql-data + mountPath: /bitnami/mysql + - name: custom-init-scripts + mountPath: /docker-entrypoint-initdb.d + - name: config + mountPath: /opt/bitnami/mysql/conf/my.cnf + subPath: my.cnf + volumes: + - name: config + configMap: + name: helm-mysql + - name: custom-init-scripts + configMap: + name: helm-mysql-init-scripts + - name: mysql-data + hostPath: + path: /var/lib/docker/mysql-pv/jsntejpt/ diff --git a/agent-common/real_project/jsntejpt/k8s-nacos.yaml b/agent-common/real_project/jsntejpt/k8s-nacos.yaml new file mode 100644 index 0000000..46c56c7 --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-nacos.yaml @@ -0,0 +1,130 @@ +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-nacos-cm + namespace: jsntejpt + labels: + cmii.app: helm-nacos + cmii.type: middleware + octopus.control: nacos-wdd + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/version: 5.7.0 +data: + mysql.db.name: "cmii_nacos_config" + mysql.db.host: "helm-mysql" + mysql.port: "3306" + mysql.user: "k8s_admin" + mysql.password: "fP#UaH6qQ3)8" +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-nacos + namespace: jsntejpt + labels: + cmii.app: helm-nacos + cmii.type: middleware + octopus.control: nacos-wdd + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/version: 5.7.0 +spec: + type: NodePort + selector: + cmii.app: helm-nacos + cmii.type: middleware + ports: + - port: 8848 + name: server + targetPort: 8848 + nodePort: 38848 + - port: 9848 + name: server12 + targetPort: 9848 + - port: 9849 + name: server23 + targetPort: 9849 +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-nacos + namespace: jsntejpt + labels: + cmii.app: helm-nacos + cmii.type: middleware + octopus.control: nacos-wdd + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/version: 5.7.0 +spec: + serviceName: helm-nacos + replicas: 1 + selector: + matchLabels: + cmii.app: helm-nacos + cmii.type: middleware + template: + metadata: + labels: + cmii.app: helm-nacos + cmii.type: middleware + octopus.control: nacos-wdd + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/version: 5.7.0 + annotations: + pod.alpha.kubernetes.io/initialized: "true" + spec: + imagePullSecrets: + - name: harborsecret + affinity: { } + containers: + - name: nacos-server + image: 10.40.51.5:8033/cmii/nacos-server:v2.1.2 + ports: + - containerPort: 8848 + name: dashboard + - containerPort: 9848 + name: tcp-9848 + - containerPort: 9849 + name: tcp-9849 + env: + - name: NACOS_AUTH_ENABLE + value: "false" + - name: NACOS_REPLICAS + value: "1" + - name: MYSQL_SERVICE_DB_NAME + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.db.name + - name: MYSQL_SERVICE_PORT + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.port + - name: MYSQL_SERVICE_USER + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.user + - name: MYSQL_SERVICE_PASSWORD + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.password + - name: MYSQL_SERVICE_HOST + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.db.host + - name: NACOS_SERVER_PORT + value: "8848" + - name: NACOS_APPLICATION_PORT + value: "8848" + - name: PREFER_HOST_MODE + value: "hostname" + - name: MODE + value: standalone + - name: SPRING_DATASOURCE_PLATFORM + value: mysql +--- diff --git a/agent-common/real_project/jsntejpt/k8s-nfs-test.yaml b/agent-common/real_project/jsntejpt/k8s-nfs-test.yaml new file mode 100644 index 0000000..ffb9a6e --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-nfs-test.yaml @@ -0,0 +1,38 @@ +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: test-claim + annotations: + volume.beta.kubernetes.io/storage-class: "nfs-prod-distribute" #与nfs-StorageClass.yaml metadata.name保持一致 +spec: + accessModes: + - ReadWriteOnce + storageClassName: nfs-prod-distribute + resources: + requests: + storage: 1Mi +--- +kind: Pod +apiVersion: v1 +metadata: + name: test-pod +spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: test-pod + image: 10.40.51.5:8033/cmii/busybox:latest + command: + - "/bin/sh" + args: + - "-c" + - "touch /mnt/NFS-CREATE-SUCCESS && exit 0 || exit 1" #创建一个SUCCESS文件后退出 + volumeMounts: + - name: nfs-pvc + mountPath: "/mnt" + restartPolicy: "Never" + volumes: + - name: nfs-pvc + persistentVolumeClaim: + claimName: test-claim #与PVC名称保持一致 diff --git a/agent-common/real_project/jsntejpt/k8s-nfs.yaml b/agent-common/real_project/jsntejpt/k8s-nfs.yaml new file mode 100644 index 0000000..aa85179 --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-nfs.yaml @@ -0,0 +1,114 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system #根据实际环境设定namespace,下面类同 +--- +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: nfs-client-provisioner-runner +rules: + - apiGroups: [ "" ] + resources: [ "persistentvolumes" ] + verbs: [ "get", "list", "watch", "create", "delete" ] + - apiGroups: [ "" ] + resources: [ "persistentvolumeclaims" ] + verbs: [ "get", "list", "watch", "update" ] + - apiGroups: [ "storage.k8s.io" ] + resources: [ "storageclasses" ] + verbs: [ "get", "list", "watch" ] + - apiGroups: [ "" ] + resources: [ "events" ] + verbs: [ "create", "update", "patch" ] +--- +kind: ClusterRoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: run-nfs-client-provisioner +subjects: + - kind: ServiceAccount + name: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system +roleRef: + kind: ClusterRole + # name: nfs-client-provisioner-runner + name: cluster-admin + apiGroup: rbac.authorization.k8s.io +--- +kind: Role +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: leader-locking-nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system +rules: + - apiGroups: [ "" ] + resources: [ "endpoints" ] + verbs: [ "get", "list", "watch", "create", "update", "patch" ] +--- +kind: RoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: leader-locking-nfs-client-provisioner +subjects: + - kind: ServiceAccount + name: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system +roleRef: + kind: Role + name: leader-locking-nfs-client-provisioner + apiGroup: rbac.authorization.k8s.io + +--- +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: nfs-prod-distribute +provisioner: cmlc-nfs-storage #这里的名称要和provisioner配置文件中的环境变量PROVISIONER_NAME保持一致parameters: archiveOnDelete: "false" +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nfs-client-provisioner + labels: + app: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system #与RBAC文件中的namespace保持一致 +spec: + replicas: 1 + selector: + matchLabels: + app: nfs-client-provisioner + strategy: + type: Recreate + template: + metadata: + labels: + app: nfs-client-provisioner + spec: + imagePullSecrets: + - name: harborsecret + serviceAccountName: nfs-client-provisioner + containers: + - name: nfs-client-provisioner + image: 10.40.51.5:8033/cmii/nfs-subdir-external-provisioner:v4.0.2 + volumeMounts: + - name: nfs-client-root + mountPath: /persistentvolumes + env: + - name: PROVISIONER_NAME + value: cmlc-nfs-storage + - name: NFS_SERVER + value: 10.40.51.5 + - name: NFS_PATH + value: /var/lib/docker/nfs_data + volumes: + - name: nfs-client-root + nfs: + server: 10.40.51.5 + path: /var/lib/docker/nfs_data diff --git a/agent-common/real_project/jsntejpt/k8s-pvc.yaml b/agent-common/real_project/jsntejpt/k8s-pvc.yaml new file mode 100644 index 0000000..bacde38 --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-pvc.yaml @@ -0,0 +1,76 @@ +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: nfs-backend-log-pvc + namespace: jsntejpt + labels: + cmii.type: middleware-base + cmii.app: nfs-backend-log-pvc + helm.sh/chart: all-persistence-volume-claims-1.1.0 + app.kubernetes.io/version: 5.7.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 100Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: helm-emqxs + namespace: jsntejpt + labels: + cmii.type: middleware-base + cmii.app: helm-emqxs + helm.sh/chart: all-persistence-volume-claims-1.1.0 + app.kubernetes.io/version: 5.7.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 20Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: helm-mongo + namespace: jsntejpt + labels: + cmii.type: middleware-base + cmii.app: helm-mongo + helm.sh/chart: all-persistence-volume-claims-1.1.0 + app.kubernetes.io/version: 5.7.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 30Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: helm-rabbitmq + namespace: jsntejpt + labels: + cmii.type: middleware-base + cmii.app: helm-rabbitmq + helm.sh/chart: all-persistence-volume-claims-1.1.0 + app.kubernetes.io/version: 5.7.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 20Gi diff --git a/agent-common/real_project/jsntejpt/k8s-rabbitmq.yaml b/agent-common/real_project/jsntejpt/k8s-rabbitmq.yaml new file mode 100644 index 0000000..6d25614 --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-rabbitmq.yaml @@ -0,0 +1,328 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-rabbitmq + namespace: jsntejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: rabbitmq +automountServiceAccountToken: true +secrets: + - name: helm-rabbitmq +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-rabbitmq + namespace: jsntejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: rabbitmq +type: Opaque +data: + rabbitmq-password: "blljUk45MXIuX2hq" + rabbitmq-erlang-cookie: "emFBRmt1ZU1xMkJieXZvdHRYbWpoWk52UThuVXFzcTU=" +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-rabbitmq-config + namespace: jsntejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: rabbitmq +data: + rabbitmq.conf: |- + ## Username and password + ## + default_user = admin + default_pass = nYcRN91r._hj + ## Clustering + ## + cluster_formation.peer_discovery_backend = rabbit_peer_discovery_k8s + cluster_formation.k8s.host = kubernetes.default.svc.cluster.local + cluster_formation.node_cleanup.interval = 10 + cluster_formation.node_cleanup.only_log_warning = true + cluster_partition_handling = autoheal + # queue master locator + queue_master_locator = min-masters + # enable guest user + loopback_users.guest = false + #default_vhost = default-vhost + #disk_free_limit.absolute = 50MB + #load_definitions = /app/load_definition.json +--- +kind: Role +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: helm-rabbitmq-endpoint-reader + namespace: jsntejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: rabbitmq +rules: + - apiGroups: [ "" ] + resources: [ "endpoints" ] + verbs: [ "get" ] + - apiGroups: [ "" ] + resources: [ "events" ] + verbs: [ "create" ] +--- +kind: RoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: helm-rabbitmq-endpoint-reader + namespace: jsntejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: rabbitmq +subjects: + - kind: ServiceAccount + name: helm-rabbitmq +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: helm-rabbitmq-endpoint-reader +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-rabbitmq-headless + namespace: jsntejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: rabbitmq +spec: + clusterIP: None + ports: + - name: epmd + port: 4369 + targetPort: epmd + - name: amqp + port: 5672 + targetPort: amqp + - name: dist + port: 25672 + targetPort: dist + - name: dashboard + port: 15672 + targetPort: stats + selector: + app.kubernetes.io/name: helm-rabbitmq + app.kubernetes.io/release: jsntejpt + publishNotReadyAddresses: true +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-rabbitmq + namespace: jsntejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: rabbitmq +spec: + type: NodePort + ports: + - name: amqp + port: 5672 + targetPort: amqp + nodePort: 35672 + - name: dashboard + port: 15672 + targetPort: dashboard + nodePort: 36675 + selector: + app.kubernetes.io/name: helm-rabbitmq + app.kubernetes.io/release: jsntejpt +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-rabbitmq + namespace: jsntejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: rabbitmq +spec: + serviceName: helm-rabbitmq-headless + podManagementPolicy: OrderedReady + replicas: 1 + updateStrategy: + type: RollingUpdate + selector: + matchLabels: + app.kubernetes.io/name: helm-rabbitmq + app.kubernetes.io/release: jsntejpt + template: + metadata: + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: rabbitmq + annotations: + checksum/config: d6c2caa9572f64a06d9f7daa34c664a186b4778cd1697ef8e59663152fc628f1 + checksum/secret: d764e7b3d999e7324d1afdfec6140092a612f04b6e0306818675815cec2f454f + spec: + imagePullSecrets: + - name: harborsecret + serviceAccountName: helm-rabbitmq + affinity: { } + securityContext: + fsGroup: 5001 + runAsUser: 5001 + terminationGracePeriodSeconds: 120 + initContainers: + - name: volume-permissions + image: 10.40.51.5:8033/cmii/bitnami-shell:11-debian-11-r136 + imagePullPolicy: "Always" + command: + - /bin/bash + args: + - -ec + - | + mkdir -p "/bitnami/rabbitmq/mnesia" + chown -R "5001:5001" "/bitnami/rabbitmq/mnesia" + securityContext: + runAsUser: 0 + resources: + limits: { } + requests: { } + volumeMounts: + - name: data + mountPath: /bitnami/rabbitmq/mnesia + containers: + - name: rabbitmq + image: 10.40.51.5:8033/cmii/rabbitmq:3.9.12-debian-10-r3 + imagePullPolicy: "Always" + env: + - name: BITNAMI_DEBUG + value: "false" + - name: MY_POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: K8S_SERVICE_NAME + value: "helm-rabbitmq-headless" + - name: K8S_ADDRESS_TYPE + value: hostname + - name: RABBITMQ_FORCE_BOOT + value: "no" + - name: RABBITMQ_NODE_NAME + value: "rabbit@$(MY_POD_NAME).$(K8S_SERVICE_NAME).$(MY_POD_NAMESPACE).svc.cluster.local" + - name: K8S_HOSTNAME_SUFFIX + value: ".$(K8S_SERVICE_NAME).$(MY_POD_NAMESPACE).svc.cluster.local" + - name: RABBITMQ_MNESIA_DIR + value: "/bitnami/rabbitmq/mnesia/$(RABBITMQ_NODE_NAME)" + - name: RABBITMQ_LDAP_ENABLE + value: "no" + - name: RABBITMQ_LOGS + value: "-" + - name: RABBITMQ_ULIMIT_NOFILES + value: "65536" + - name: RABBITMQ_USE_LONGNAME + value: "true" + - name: RABBITMQ_ERL_COOKIE + valueFrom: + secretKeyRef: + name: helm-rabbitmq + key: rabbitmq-erlang-cookie + - name: RABBITMQ_LOAD_DEFINITIONS + value: "no" + - name: RABBITMQ_SECURE_PASSWORD + value: "yes" + - name: RABBITMQ_USERNAME + value: "admin" + - name: RABBITMQ_PASSWORD + valueFrom: + secretKeyRef: + name: helm-rabbitmq + key: rabbitmq-password + - name: RABBITMQ_PLUGINS + value: "rabbitmq_management, rabbitmq_peer_discovery_k8s, rabbitmq_shovel, rabbitmq_shovel_management, rabbitmq_auth_backend_ldap" + ports: + - name: amqp + containerPort: 5672 + - name: dist + containerPort: 25672 + - name: dashboard + containerPort: 15672 + - name: epmd + containerPort: 4369 + livenessProbe: + exec: + command: + - /bin/bash + - -ec + - rabbitmq-diagnostics -q ping + initialDelaySeconds: 120 + periodSeconds: 30 + timeoutSeconds: 20 + successThreshold: 1 + failureThreshold: 6 + readinessProbe: + exec: + command: + - /bin/bash + - -ec + - rabbitmq-diagnostics -q check_running && rabbitmq-diagnostics -q check_local_alarms + initialDelaySeconds: 10 + periodSeconds: 30 + timeoutSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + lifecycle: + preStop: + exec: + command: + - /bin/bash + - -ec + - | + if [[ -f /opt/bitnami/scripts/rabbitmq/nodeshutdown.sh ]]; then + /opt/bitnami/scripts/rabbitmq/nodeshutdown.sh -t "120" -d "false" + else + rabbitmqctl stop_app + fi + resources: + limits: { } + requests: { } + volumeMounts: + - name: configuration + mountPath: /bitnami/rabbitmq/conf + - name: data + mountPath: /bitnami/rabbitmq/mnesia + volumes: + - name: configuration + configMap: + name: helm-rabbitmq-config + items: + - key: rabbitmq.conf + path: rabbitmq.conf + - name: data + persistentVolumeClaim: + claimName: helm-rabbitmq diff --git a/agent-common/real_project/jsntejpt/k8s-redis.yaml b/agent-common/real_project/jsntejpt/k8s-redis.yaml new file mode 100644 index 0000000..1ec9f6b --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-redis.yaml @@ -0,0 +1,585 @@ +--- +apiVersion: v1 +kind: ServiceAccount +automountServiceAccountToken: true +metadata: + name: helm-redis + namespace: jsntejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-redis + namespace: jsntejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus +type: Opaque +data: + redis-password: "TWNhY2hlQDQ1MjI=" +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-redis-configuration + namespace: jsntejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus +data: + redis.conf: |- + # User-supplied common configuration: + # Enable AOF https://redis.io/topics/persistence#append-only-file + appendonly yes + # Disable RDB persistence, AOF persistence already enabled. + save "" + # End of common configuration + master.conf: |- + dir /data + # User-supplied master configuration: + rename-command FLUSHDB "" + rename-command FLUSHALL "" + # End of master configuration + replica.conf: |- + dir /data + slave-read-only yes + # User-supplied replica configuration: + rename-command FLUSHDB "" + rename-command FLUSHALL "" + # End of replica configuration +--- +# Source: outside-deploy/charts/redis-db/templates/health-configmap.yaml +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-redis-health + namespace: jsntejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus +data: + ping_readiness_local.sh: |- + #!/bin/bash + + [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" + [[ -n "$REDIS_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_PASSWORD" + response=$( + timeout -s 3 $1 \ + redis-cli \ + -h localhost \ + -p $REDIS_PORT \ + ping + ) + if [ "$response" != "PONG" ]; then + echo "$response" + exit 1 + fi + ping_liveness_local.sh: |- + #!/bin/bash + + [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" + [[ -n "$REDIS_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_PASSWORD" + response=$( + timeout -s 3 $1 \ + redis-cli \ + -h localhost \ + -p $REDIS_PORT \ + ping + ) + if [ "$response" != "PONG" ] && [ "$response" != "LOADING Redis is loading the dataset in memory" ]; then + echo "$response" + exit 1 + fi + ping_readiness_master.sh: |- + #!/bin/bash + + [[ -f $REDIS_MASTER_PASSWORD_FILE ]] && export REDIS_MASTER_PASSWORD="$(< "${REDIS_MASTER_PASSWORD_FILE}")" + [[ -n "$REDIS_MASTER_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_MASTER_PASSWORD" + response=$( + timeout -s 3 $1 \ + redis-cli \ + -h $REDIS_MASTER_HOST \ + -p $REDIS_MASTER_PORT_NUMBER \ + ping + ) + if [ "$response" != "PONG" ]; then + echo "$response" + exit 1 + fi + ping_liveness_master.sh: |- + #!/bin/bash + + [[ -f $REDIS_MASTER_PASSWORD_FILE ]] && export REDIS_MASTER_PASSWORD="$(< "${REDIS_MASTER_PASSWORD_FILE}")" + [[ -n "$REDIS_MASTER_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_MASTER_PASSWORD" + response=$( + timeout -s 3 $1 \ + redis-cli \ + -h $REDIS_MASTER_HOST \ + -p $REDIS_MASTER_PORT_NUMBER \ + ping + ) + if [ "$response" != "PONG" ] && [ "$response" != "LOADING Redis is loading the dataset in memory" ]; then + echo "$response" + exit 1 + fi + ping_readiness_local_and_master.sh: |- + script_dir="$(dirname "$0")" + exit_status=0 + "$script_dir/ping_readiness_local.sh" $1 || exit_status=$? + "$script_dir/ping_readiness_master.sh" $1 || exit_status=$? + exit $exit_status + ping_liveness_local_and_master.sh: |- + script_dir="$(dirname "$0")" + exit_status=0 + "$script_dir/ping_liveness_local.sh" $1 || exit_status=$? + "$script_dir/ping_liveness_master.sh" $1 || exit_status=$? + exit $exit_status +--- +# Source: outside-deploy/charts/redis-db/templates/scripts-configmap.yaml +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-redis-scripts + namespace: jsntejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus +data: + start-master.sh: | + #!/bin/bash + + [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" + if [[ ! -f /opt/bitnami/redis/etc/master.conf ]];then + cp /opt/bitnami/redis/mounted-etc/master.conf /opt/bitnami/redis/etc/master.conf + fi + if [[ ! -f /opt/bitnami/redis/etc/redis.conf ]];then + cp /opt/bitnami/redis/mounted-etc/redis.conf /opt/bitnami/redis/etc/redis.conf + fi + ARGS=("--port" "${REDIS_PORT}") + ARGS+=("--requirepass" "${REDIS_PASSWORD}") + ARGS+=("--masterauth" "${REDIS_PASSWORD}") + ARGS+=("--include" "/opt/bitnami/redis/etc/redis.conf") + ARGS+=("--include" "/opt/bitnami/redis/etc/master.conf") + exec redis-server "${ARGS[@]}" + start-replica.sh: | + #!/bin/bash + + get_port() { + hostname="$1" + type="$2" + + port_var=$(echo "${hostname^^}_SERVICE_PORT_$type" | sed "s/-/_/g") + port=${!port_var} + + if [ -z "$port" ]; then + case $type in + "SENTINEL") + echo 26379 + ;; + "REDIS") + echo 6379 + ;; + esac + else + echo $port + fi + } + + get_full_hostname() { + hostname="$1" + echo "${hostname}.${HEADLESS_SERVICE}" + } + + REDISPORT=$(get_port "$HOSTNAME" "REDIS") + + [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" + [[ -f $REDIS_MASTER_PASSWORD_FILE ]] && export REDIS_MASTER_PASSWORD="$(< "${REDIS_MASTER_PASSWORD_FILE}")" + if [[ ! -f /opt/bitnami/redis/etc/replica.conf ]];then + cp /opt/bitnami/redis/mounted-etc/replica.conf /opt/bitnami/redis/etc/replica.conf + fi + if [[ ! -f /opt/bitnami/redis/etc/redis.conf ]];then + cp /opt/bitnami/redis/mounted-etc/redis.conf /opt/bitnami/redis/etc/redis.conf + fi + + echo "" >> /opt/bitnami/redis/etc/replica.conf + echo "replica-announce-port $REDISPORT" >> /opt/bitnami/redis/etc/replica.conf + echo "replica-announce-ip $(get_full_hostname "$HOSTNAME")" >> /opt/bitnami/redis/etc/replica.conf + ARGS=("--port" "${REDIS_PORT}") + ARGS+=("--slaveof" "${REDIS_MASTER_HOST}" "${REDIS_MASTER_PORT_NUMBER}") + ARGS+=("--requirepass" "${REDIS_PASSWORD}") + ARGS+=("--masterauth" "${REDIS_MASTER_PASSWORD}") + ARGS+=("--include" "/opt/bitnami/redis/etc/redis.conf") + ARGS+=("--include" "/opt/bitnami/redis/etc/replica.conf") + exec redis-server "${ARGS[@]}" +--- +# Source: outside-deploy/charts/redis-db/templates/headless-svc.yaml +apiVersion: v1 +kind: Service +metadata: + name: helm-redis-headless + namespace: jsntejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus +spec: + type: ClusterIP + clusterIP: None + ports: + - name: tcp-redis + port: 6379 + targetPort: redis + selector: + app.kubernetes.io/name: redis-db + app.kubernetes.io/release: jsntejpt +--- +# Source: outside-deploy/charts/redis-db/templates/master/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: helm-redis-master + namespace: jsntejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: redis + app.kubernetes.io/component: master +spec: + type: ClusterIP + + ports: + - name: tcp-redis + port: 6379 + targetPort: redis + nodePort: null + selector: + app.kubernetes.io/name: redis-db + app.kubernetes.io/release: jsntejpt + cmii.type: middleware + cmii.app: redis + app.kubernetes.io/component: master +--- +# Source: outside-deploy/charts/redis-db/templates/replicas/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: helm-redis-replicas + namespace: jsntejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/component: replica +spec: + type: ClusterIP + ports: + - name: tcp-redis + port: 6379 + targetPort: redis + nodePort: null + selector: + app.kubernetes.io/name: redis-db + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/component: replica +--- +# Source: outside-deploy/charts/redis-db/templates/master/statefulset.yaml +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-redis-master + namespace: jsntejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: redis + app.kubernetes.io/component: master +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: redis-db + app.kubernetes.io/release: jsntejpt + cmii.type: middleware + cmii.app: redis + app.kubernetes.io/component: master + serviceName: helm-redis-headless + updateStrategy: + rollingUpdate: { } + type: RollingUpdate + template: + metadata: + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: redis + app.kubernetes.io/component: master + annotations: + checksum/configmap: b64aa5db67e6e63811f3c1095b9fce34d83c86a471fccdda0e48eedb53a179b0 + checksum/health: 6e0a6330e5ac63e565ae92af1444527d72d8897f91266f333555b3d323570623 + checksum/scripts: b88df93710b7c42a76006e20218f05c6e500e6cc2affd4bb1985832f03166e98 + checksum/secret: 43f1b0e20f9cb2de936bd182bc3683b720fc3cf4f4e76cb23c06a52398a50e8d + spec: + affinity: { } + securityContext: + fsGroup: 1001 + serviceAccountName: helm-redis + imagePullSecrets: + - name: harborsecret + terminationGracePeriodSeconds: 30 + containers: + - name: redis + image: 10.40.51.5:8033/cmii/redis:6.2.6-debian-10-r0 + imagePullPolicy: "Always" + securityContext: + runAsUser: 1001 + command: + - /bin/bash + args: + - -c + - /opt/bitnami/scripts/start-scripts/start-master.sh + env: + - name: BITNAMI_DEBUG + value: "false" + - name: REDIS_REPLICATION_MODE + value: master + - name: ALLOW_EMPTY_PASSWORD + value: "no" + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + name: helm-redis + key: redis-password + - name: REDIS_TLS_ENABLED + value: "no" + - name: REDIS_PORT + value: "6379" + ports: + - name: redis + containerPort: 6379 + livenessProbe: + initialDelaySeconds: 20 + periodSeconds: 5 + # One second longer than command timeout should prevent generation of zombie processes. + timeoutSeconds: 6 + successThreshold: 1 + failureThreshold: 5 + exec: + command: + - sh + - -c + - /health/ping_liveness_local.sh 5 + readinessProbe: + initialDelaySeconds: 20 + periodSeconds: 5 + timeoutSeconds: 2 + successThreshold: 1 + failureThreshold: 5 + exec: + command: + - sh + - -c + - /health/ping_readiness_local.sh 1 + resources: + limits: + cpu: "2" + memory: 8Gi + requests: + cpu: "100m" + memory: 1Gi + volumeMounts: + - name: start-scripts + mountPath: /opt/bitnami/scripts/start-scripts + - name: health + mountPath: /health + - name: redis-data + mountPath: /data + subPath: + - name: config + mountPath: /opt/bitnami/redis/mounted-etc + - name: redis-tmp-conf + mountPath: /opt/bitnami/redis/etc/ + - name: tmp + mountPath: /tmp + volumes: + - name: start-scripts + configMap: + name: helm-redis-scripts + defaultMode: 0755 + - name: health + configMap: + name: helm-redis-health + defaultMode: 0755 + - name: config + configMap: + name: helm-redis-configuration + - name: redis-tmp-conf + emptyDir: { } + - name: tmp + emptyDir: { } + - name: redis-data + emptyDir: { } +--- +# Source: outside-deploy/charts/redis-db/templates/replicas/statefulset.yaml +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-redis-replicas + namespace: jsntejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/component: replica +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: redis-db + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/component: replica + serviceName: helm-redis-headless + updateStrategy: + rollingUpdate: { } + type: RollingUpdate + template: + metadata: + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jsntejpt + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/component: replica + annotations: + checksum/configmap: b64aa5db67e6e63811f3c1095b9fce34d83c86a471fccdda0e48eedb53a179b0 + checksum/health: 6e0a6330e5ac63e565ae92af1444527d72d8897f91266f333555b3d323570623 + checksum/scripts: b88df93710b7c42a76006e20218f05c6e500e6cc2affd4bb1985832f03166e98 + checksum/secret: 43f1b0e20f9cb2de936bd182bc3683b720fc3cf4f4e76cb23c06a52398a50e8d + spec: + imagePullSecrets: + - name: harborsecret + securityContext: + fsGroup: 1001 + serviceAccountName: helm-redis + terminationGracePeriodSeconds: 30 + containers: + - name: redis + image: 10.40.51.5:8033/cmii/redis:6.2.6-debian-10-r0 + imagePullPolicy: "Always" + securityContext: + runAsUser: 1001 + command: + - /bin/bash + args: + - -c + - /opt/bitnami/scripts/start-scripts/start-replica.sh + env: + - name: BITNAMI_DEBUG + value: "false" + - name: REDIS_REPLICATION_MODE + value: slave + - name: REDIS_MASTER_HOST + value: helm-redis-master-0.helm-redis-headless.jsntejpt.svc.cluster.local + - name: REDIS_MASTER_PORT_NUMBER + value: "6379" + - name: ALLOW_EMPTY_PASSWORD + value: "no" + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + name: helm-redis + key: redis-password + - name: REDIS_MASTER_PASSWORD + valueFrom: + secretKeyRef: + name: helm-redis + key: redis-password + - name: REDIS_TLS_ENABLED + value: "no" + - name: REDIS_PORT + value: "6379" + ports: + - name: redis + containerPort: 6379 + livenessProbe: + initialDelaySeconds: 20 + periodSeconds: 5 + timeoutSeconds: 6 + successThreshold: 1 + failureThreshold: 5 + exec: + command: + - sh + - -c + - /health/ping_liveness_local_and_master.sh 5 + readinessProbe: + initialDelaySeconds: 20 + periodSeconds: 5 + timeoutSeconds: 2 + successThreshold: 1 + failureThreshold: 5 + exec: + command: + - sh + - -c + - /health/ping_readiness_local_and_master.sh 1 + resources: + limits: + cpu: "2" + memory: 8Gi + requests: + cpu: "100m" + memory: 1Gi + volumeMounts: + - name: start-scripts + mountPath: /opt/bitnami/scripts/start-scripts + - name: health + mountPath: /health + - name: redis-data + mountPath: /data + subPath: + - name: config + mountPath: /opt/bitnami/redis/mounted-etc + - name: redis-tmp-conf + mountPath: /opt/bitnami/redis/etc + volumes: + - name: start-scripts + configMap: + name: helm-redis-scripts + defaultMode: 0755 + - name: health + configMap: + name: helm-redis-health + defaultMode: 0755 + - name: config + configMap: + name: helm-redis-configuration + - name: redis-tmp-conf + emptyDir: { } + - name: redis-data + emptyDir: { } + diff --git a/agent-common/real_project/jsntejpt/k8s-srs.yaml b/agent-common/real_project/jsntejpt/k8s-srs.yaml new file mode 100644 index 0000000..5530a21 --- /dev/null +++ b/agent-common/real_project/jsntejpt/k8s-srs.yaml @@ -0,0 +1,496 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: helm-live-srs-cm + namespace: jsntejpt + labels: + cmii.app: live-srs + cmii.type: live + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + helm.sh/chart: cmlc-live-srs-rtc-2.0.0 +data: + srs.rtc.conf: |- + listen 31935; + max_connections 4096; + srs_log_tank console; + srs_log_level info; + srs_log_file /home/srs.log; + daemon off; + http_api { + enabled on; + listen 1985; + crossdomain on; + } + stats { + network 0; + } + http_server { + enabled on; + listen 8080; + dir /home/hls; + } + srt_server { + enabled on; + listen 30556; + maxbw 1000000000; + connect_timeout 4000; + peerlatency 600; + recvlatency 600; + } + rtc_server { + enabled on; + listen 30090; + candidate $CANDIDATE; + } + vhost __defaultVhost__ { + http_hooks { + enabled on; + on_publish http://helm-live-op-svc-v2:8080/hooks/on_push; + } + http_remux { + enabled on; + } + rtc { + enabled on; + rtmp_to_rtc on; + rtc_to_rtmp on; + keep_bframe off; + } + tcp_nodelay on; + min_latency on; + play { + gop_cache off; + mw_latency 100; + mw_msgs 10; + } + publish { + firstpkt_timeout 8000; + normal_timeout 4000; + mr on; + } + dvr { + enabled off; + dvr_path /home/dvr/[app]/[stream]/[2006][01]/[timestamp].mp4; + dvr_plan session; + } + hls { + enabled on; + hls_path /home/hls; + hls_fragment 10; + hls_window 60; + hls_m3u8_file [app]/[stream].m3u8; + hls_ts_file [app]/[stream]/[2006][01][02]/[timestamp]-[duration].ts; + hls_cleanup on; + hls_entry_prefix http://10.40.51.5:8088; + } + } +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srs-svc-exporter + namespace: jsntejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: rtmp + protocol: TCP + port: 30935 + targetPort: 30935 + nodePort: 31935 + - name: rtc + protocol: UDP + port: 30090 + targetPort: 30090 + nodePort: 30090 + - name: rtc-tcp + protocol: TCP + port: 30090 + targetPort: 30090 + nodePort: 30090 + - name: srt + protocol: UDP + port: 30556 + targetPort: 30556 + nodePort: 30556 + - name: api + protocol: TCP + port: 1985 + targetPort: 1985 + nodePort: 30080 + selector: + srs-role: rtc + type: NodePort + sessionAffinity: None + externalTrafficPolicy: Cluster + +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srs-svc + namespace: jsntejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: http + protocol: TCP + port: 8080 + targetPort: 8080 + - name: api + protocol: TCP + port: 1985 + targetPort: 1985 + selector: + srs-role: rtc + type: ClusterIP + sessionAffinity: None + +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srsrtc-svc + namespace: jsntejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: rtmp + protocol: TCP + port: 30935 + targetPort: 30935 + selector: + srs-role: rtc + type: ClusterIP + sessionAffinity: None + +--- +kind: StatefulSet +apiVersion: apps/v1 +metadata: + name: helm-live-srs-rtc + namespace: jsntejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + cmii.app: live-srs + cmii.type: live + helm.sh/chart: cmlc-live-srs-rtc-2.0.0 + srs-role: rtc +spec: + replicas: 1 + selector: + matchLabels: + srs-role: rtc + template: + metadata: + labels: + srs-role: rtc + spec: + volumes: + - name: srs-conf-file + configMap: + name: helm-live-srs-cm + items: + - key: srs.rtc.conf + path: docker.conf + defaultMode: 420 + - name: srs-vol + emptyDir: + sizeLimit: 8Gi + containers: + - name: srs-rtc + image: 10.40.51.5:8033/cmii/srs:v5.0.195 + ports: + - name: srs-rtmp + containerPort: 30935 + protocol: TCP + - name: srs-api + containerPort: 1985 + protocol: TCP + - name: srs-flv + containerPort: 8080 + protocol: TCP + - name: srs-webrtc + containerPort: 30090 + protocol: UDP + - name: srs-webrtc-tcp + containerPort: 30090 + protocol: TCP + - name: srs-srt + containerPort: 30556 + protocol: UDP + env: + - name: CANDIDATE + value: 10.40.51.5 + resources: + limits: + cpu: 2000m + memory: 4Gi + requests: + cpu: 100m + memory: 256Mi + volumeMounts: + - name: srs-conf-file + mountPath: /usr/local/srs/conf/docker.conf + subPath: docker.conf + - name: srs-vol + mountPath: /home/dvr + subPath: jsntejpt/helm-live/dvr + - name: srs-vol + mountPath: /home/hls + subPath: jsntejpt/helm-live/hls + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + - name: oss-adaptor + image: 10.40.51.5:8033/cmii/cmii-srs-oss-adaptor:2023-SA + env: + - name: OSS_ENDPOINT + value: 'http://10.40.51.5:9000' + - name: OSS_AK + value: cmii + - name: OSS_SK + value: 'B#923fC7mk' + - name: OSS_BUCKET + value: live-cluster-hls + - name: SRS_OP + value: 'http://helm-live-op-svc-v2:8080' + - name: MYSQL_ENDPOINT + value: 'helm-mysql:3306' + - name: MYSQL_USERNAME + value: k8s_admin + - name: MYSQL_PASSWORD + value: fP#UaH6qQ3)8 + - name: MYSQL_DATABASE + value: cmii_live_srs_op + - name: MYSQL_TABLE + value: live_segment + - name: LOG_LEVEL + value: info + - name: OSS_META + value: 'yes' + resources: + limits: + cpu: 2000m + memory: 4Gi + requests: + cpu: 100m + memory: 256Mi + volumeMounts: + - name: srs-vol + mountPath: /cmii/share/hls + subPath: jsntejpt/helm-live/hls + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + restartPolicy: Always + terminationGracePeriodSeconds: 30 + dnsPolicy: ClusterFirst + securityContext: { } + imagePullSecrets: + - name: harborsecret + affinity: { } + schedulerName: default-scheduler + serviceName: helm-live-srsrtc-svc + podManagementPolicy: OrderedReady + updateStrategy: + type: RollingUpdate + rollingUpdate: + partition: 0 + revisionHistoryLimit: 10 +--- +# live-srs部分 +--- +kind: Deployment +apiVersion: apps/v1 +metadata: + name: helm-live-op-v2 + namespace: jsntejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + cmii.app: live-engine + cmii.type: live + helm.sh/chart: cmlc-live-live-op-2.0.0 + live-role: op-v2 +spec: + replicas: 1 + selector: + matchLabels: + live-role: op-v2 + template: + metadata: + labels: + live-role: op-v2 + spec: + volumes: + - name: srs-conf-file + configMap: + name: helm-live-op-cm-v2 + items: + - key: live.op.conf + path: bootstrap.yaml + defaultMode: 420 + containers: + - name: helm-live-op-v2 + image: 10.40.51.5:8033/cmii/cmii-live-operator:5.2.0 + ports: + - name: operator + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: 4800m + memory: 4Gi + requests: + cpu: 100m + memory: 256Mi + volumeMounts: + - name: srs-conf-file + mountPath: /cmii/bootstrap.yaml + subPath: bootstrap.yaml + livenessProbe: + httpGet: + path: /cmii/health + port: 8080 + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: 8080 + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + restartPolicy: Always + terminationGracePeriodSeconds: 30 + dnsPolicy: ClusterFirst + securityContext: { } + imagePullSecrets: + - name: harborsecret + affinity: { } + schedulerName: default-scheduler + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-op-svc-v2 + namespace: jsntejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - protocol: TCP + port: 8080 + targetPort: 8080 + nodePort: 30333 + selector: + live-role: op-v2 + type: NodePort + sessionAffinity: None +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-op-svc + namespace: jsntejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - protocol: TCP + port: 8080 + targetPort: 8080 + selector: + live-role: op + type: ClusterIP + sessionAffinity: None +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: helm-live-op-cm-v2 + namespace: jsntejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + cmii.app: live-engine + cmii.type: live +data: + live.op.conf: |- + server: + port: 8080 + spring: + main: + allow-bean-definition-overriding: true + allow-circular-references: true + application: + name: cmii-live-operator + platform: + info: + name: cmii-live-operator + description: cmii-live-operator + version: 5.7.0 + scanPackage: com.cmii.live.op + cloud: + nacos: + config: + username: developer + password: N@cos14Good + server-addr: helm-nacos:8848 + extension-configs: + - data-id: cmii-live-operator.yml + group: 5.7.0 + refresh: true + shared-configs: + - data-id: cmii-backend-system.yml + group: 5.7.0 + refresh: true + discovery: + enabled: false + + live: + engine: + type: srs + endpoint: 'http://helm-live-srs-svc:1985' + proto: + rtmp: 'rtmp://10.40.51.5:31935' + rtsp: 'rtsp://10.40.51.5:30554' + srt: 'srt://10.40.51.5:30556' + flv: 'http://10.40.51.5:30500' + hls: 'http://10.40.51.5:30500' + rtc: 'webrtc://10.40.51.5:30090' + replay: 'https://10.40.51.5:30333' + minio: + endpoint: http://10.40.51.5:9000 + access-key: cmii + secret-key: B#923fC7mk + bucket: live-cluster-hls diff --git a/agent-common/real_project/jsntejpt/Config.go b/agent-common/real_project/jsntejpt/old/Config.go similarity index 100% rename from agent-common/real_project/jsntejpt/Config.go rename to agent-common/real_project/jsntejpt/old/Config.go From 2e453122350e996106ceef666eff5b9f8aa1eb72 Mon Sep 17 00:00:00 2001 From: zeaslity Date: Thu, 22 Aug 2024 16:14:06 +0800 Subject: [PATCH 03/11] [agent][deploy] - bugs --- .../real_project/CmiiImageListConfig.go | 79 +++++++++++++++++++ agent-operator/CmiiDeployOperator_test.go | 4 +- 2 files changed, 81 insertions(+), 2 deletions(-) create mode 100644 agent-common/real_project/CmiiImageListConfig.go diff --git a/agent-common/real_project/CmiiImageListConfig.go b/agent-common/real_project/CmiiImageListConfig.go new file mode 100644 index 0000000..20f7826 --- /dev/null +++ b/agent-common/real_project/CmiiImageListConfig.go @@ -0,0 +1,79 @@ +package real_project + +var Cmii570ImageList = []string{ + "harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-gateway:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-open-gateway:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-brain:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:5.7.0-29766-0815", + "harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:5.2.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:5.1.0", + "harbor.cdcyy.com.cn/cmii/cmii-iam-gateway:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:5.7.0-30403", + "harbor.cdcyy.com.cn/cmii/cmii-uav-tower:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-sense-adapter:5.7.0-0805", + "harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:5.1.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-user:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:5.2.0-24810", + "harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-autowaypoint:4.2.0-beta", + "harbor.cdcyy.com.cn/cmii/cmii-uav-logger:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-mission:5.7.0-29766-0819", + "harbor.cdcyy.com.cn/cmii/cmii-admin-data:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-integration:5.7.0-hw-080201", + "harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-admin-gateway:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-app-release:4.2.0-validation", + "harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:5.7.0-0814", + "harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.7.0-31369-yunnan-082001", + "harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:5.7.0-29766-0815", + "harbor.cdcyy.com.cn/cmii/cmii-uav-notice:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-developer:5.7.0-0725", + "harbor.cdcyy.com.cn/cmii/cmii-uav-multilink:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-cms:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-process:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-admin-user:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-device:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:5.2.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-emergency-rescue:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-dispatchh5:5.6.0-0708", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-seniclive:5.2.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:5.4.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-oms:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervision:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:4.1.3-jiangsu-0427", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-security:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-armypeople:5.7.0-0820", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-open:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:4.1.0-21377-0508", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-threedsimulation:5.2.0-21392", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uasms:5.7.0-29322", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-media:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-securityh5:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.7.0-29267-0820", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-logistics:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:5.3.0-hjltt", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uas:5.7.0-29322", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:5.7.0-29766-0815", + "harbor.cdcyy.com.cn/cmii/cmii-srs-oss-adaptor:2023-SA", + "harbor.cdcyy.com.cn/cmii/ossrs/srs:v5.0.195", + "harbor.cdcyy.com.cn/cmii/cmii-live-operator:5.2.0", +} diff --git a/agent-operator/CmiiDeployOperator_test.go b/agent-operator/CmiiDeployOperator_test.go index 5a6d4f8..a6d9687 100755 --- a/agent-operator/CmiiDeployOperator_test.go +++ b/agent-operator/CmiiDeployOperator_test.go @@ -3,7 +3,7 @@ package main import ( "testing" image2 "wdd.io/agent-common/image" - "wdd.io/agent-common/real_project/jsntejpt" + "wdd.io/agent-common/real_project" "wdd.io/agent-common/real_project/zhejianyidong_erjipingtai" "wdd.io/agent-deploy/z_dep" ) @@ -95,7 +95,7 @@ func TestCmiiEnvDeploy_JiangSuNanTong(t *testing.T) { MinioInnerIP: "10.40.51.5", } - CmiiEnvDeployOffline(commonEnv, true, jsntejpt.AllCmiiImageList) + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii570ImageList) } From 95872e83d782578705bd68c182a7e6f4e3a9a74c Mon Sep 17 00:00:00 2001 From: zeaslity Date: Mon, 26 Aug 2024 10:48:21 +0800 Subject: [PATCH 04/11] [Agent][Deploy] - demo update 5.8.0 / devflight new app --- .../uavcloud-devflight/k8s-backend.yaml | 10936 ++++++++-------- .../uavcloud-devflight/k8s-configmap.yaml | 658 +- .../uavcloud-devflight/k8s-emqx.yaml | 265 - .../uavcloud-devflight/k8s-frontend.yaml | 3080 +++-- .../uavcloud-devflight/k8s-ingress.yaml | 2018 +-- .../uavcloud-devflight/k8s-mongo.yaml | 77 - .../uavcloud-devflight/k8s-mysql.yaml | 423 - .../uavcloud-devflight/k8s-nacos.yaml | 130 - .../uavcloud-devflight/k8s-pvc.yaml | 76 - .../uavcloud-devflight/k8s-rabbitmq.yaml | 328 - .../uavcloud-devflight/k8s-redis.yaml | 585 - .../uavcloud-devflight/k8s-srs.yaml | 496 - .../uavcloud-devflight/old/k8s-backend.yaml | 10025 +++++++------- .../uavcloud-devflight/old/k8s-configmap.yaml | 620 +- .../uavcloud-devflight/old/k8s-emqx.yaml | 265 - .../uavcloud-devflight/old/k8s-frontend.yaml | 4265 +++--- .../uavcloud-devflight/old/k8s-ingress.yaml | 24 +- .../uavcloud-devflight/old/k8s-mongo.yaml | 77 - .../uavcloud-devflight/old/k8s-mysql.yaml | 423 - .../uavcloud-devflight/old/k8s-nacos.yaml | 130 - .../uavcloud-devflight/old/k8s-pvc.yaml | 76 - .../uavcloud-devflight/old/k8s-rabbitmq.yaml | 328 - .../uavcloud-devflight/old/k8s-redis.yaml | 585 - .../uavcloud-devflight/old/k8s-srs.yaml | 496 - agent-deploy/d_app/CmiiImageConfig.go | 1 + agent-deploy/d_app/FrontendConfigMap.go | 4 + agent-operator/CmiiDeployOperator_test.go | 4 +- agent-operator/CmiiK8sOperator_test.go | 96 +- agent-operator/log/cmii-update-log.txt | 44 + 29 files changed, 15208 insertions(+), 21327 deletions(-) delete mode 100644 agent-common/real_project/uavcloud-devflight/k8s-emqx.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/k8s-mongo.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/k8s-mysql.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/k8s-nacos.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/k8s-pvc.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/k8s-rabbitmq.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/k8s-redis.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/k8s-srs.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/old/k8s-emqx.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/old/k8s-mongo.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/old/k8s-mysql.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/old/k8s-nacos.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/old/k8s-pvc.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/old/k8s-rabbitmq.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/old/k8s-redis.yaml delete mode 100644 agent-common/real_project/uavcloud-devflight/old/k8s-srs.yaml diff --git a/agent-common/real_project/uavcloud-devflight/k8s-backend.yaml b/agent-common/real_project/uavcloud-devflight/k8s-backend.yaml index a8e1755..661e561 100644 --- a/agent-common/real_project/uavcloud-devflight/k8s-backend.yaml +++ b/agent-common/real_project/uavcloud-devflight/k8s-backend.yaml @@ -9,7 +9,7 @@ metadata: cmii.app: cmii-uav-autowaypoint octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 0 strategy: @@ -56,11 +56,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -126,7 +126,7 @@ metadata: cmii.app: cmii-uav-autowaypoint octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: @@ -140,1535 +140,6 @@ spec: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-data-post-process - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-data-post-process - image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-data-post-process - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-data-post-process - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-data-post-process - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-gis-server - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-gis-server - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-gis-server - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-gis-server - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-gis-server - image: harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-gis-server - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-gis-server - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-gis-server - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-gis-server - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-gis-server - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-brain - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-brain - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-brain - image: harbor.cdcyy.com.cn/cmii/cmii-uav-brain:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-brain - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-brain - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-brain - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-brain - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-oauth - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-oauth - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-oauth - image: harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-oauth - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-oauth - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-oauth - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-oauth - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-admin-data - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-data - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-admin-data - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-admin-data - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-data - image: harbor.cdcyy.com.cn/cmii/cmii-admin-data:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-admin-data - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-admin-data - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-admin-data - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-data - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-admin-data - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-grid-engine - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-engine - image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-grid-engine - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-grid-engine - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-grid-engine - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-app-release - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-app-release - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-app-release - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-app-release - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-app-release - image: harbor.cdcyy.com.cn/cmii/cmii-app-release:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-app-release - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-app-release - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-app-release - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-app-release - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-app-release - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-notice - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-notice - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-notice - image: harbor.cdcyy.com.cn/cmii/cmii-uav-notice:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-notice - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-notice - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-notice - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-notice - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-suav-supervision - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-suav-supervision - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-suav-supervision - image: harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-suav-supervision - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-suav-supervision - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-suav-supervision - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-suav-supervision - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-open-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-open-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-open-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-open-gateway:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-open-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-open-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-open-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-open-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-cloud-live - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-cloud-live - image: harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-cloud-live - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-cloud-live - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-cloud-live - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: cmii-uav-logger namespace: uavcloud-devflight @@ -1677,7 +148,7 @@ metadata: cmii.app: cmii-uav-logger octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -1724,11 +195,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -1794,7 +265,7 @@ metadata: cmii.app: cmii-uav-logger octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: @@ -1809,14 +280,14 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-material-warehouse + name: cmii-suav-supervision namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-material-warehouse + cmii.app: cmii-suav-supervision octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -1825,12 +296,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-material-warehouse + cmii.app: cmii-suav-supervision template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-material-warehouse + cmii.app: cmii-suav-supervision spec: affinity: nodeAffinity: @@ -1844,14 +315,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-material-warehouse - image: harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:5.6.0 + - name: cmii-suav-supervision + image: harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-material-warehouse + value: cmii-suav-supervision - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -1863,11 +334,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -1917,7 +388,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-material-warehouse + subPath: uavcloud-devflight/cmii-suav-supervision volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -1926,19 +397,19 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-material-warehouse + name: cmii-suav-supervision namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-material-warehouse + cmii.app: cmii-suav-supervision octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-material-warehouse + cmii.app: cmii-suav-supervision ports: - name: backend-tcp port: 8080 @@ -1948,14 +419,14 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-airspace + name: cmii-uav-sync namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-airspace + cmii.app: cmii-uav-sync octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -1964,12 +435,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-airspace + cmii.app: cmii-uav-sync template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-airspace + cmii.app: cmii-uav-sync spec: affinity: nodeAffinity: @@ -1983,14 +454,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-airspace - image: harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:5.7.0-snapshot + - name: cmii-uav-sync + image: harbor.cdcyy.com.cn/cmii/cmii-uav-sync:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-airspace + value: cmii-uav-sync - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -2002,11 +473,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -2056,7 +527,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-airspace + subPath: uavcloud-devflight/cmii-uav-sync volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -2065,3911 +536,19 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-airspace + name: cmii-uav-sync namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-airspace + cmii.app: cmii-uav-sync octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-airspace - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-waypoint - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-waypoint - image: harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-waypoint - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-waypoint - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-waypoint - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-waypoint - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uas-lifecycle - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uas-lifecycle - image: harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uas-lifecycle - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uas-lifecycle - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uas-lifecycle - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-developer - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-developer - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-developer - image: harbor.cdcyy.com.cn/cmii/cmii-uav-developer:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-developer - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-developer - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-developer - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-developer - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uas-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uas-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uas-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uas-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uas-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uas-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uas-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-grid-manage - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-manage - image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-grid-manage - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-grid-manage - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-grid-manage - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-surveillance - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-surveillance - image: harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-surveillance - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-surveillance - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-surveillance - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-surveillance - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-sense-adapter - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-sense-adapter - image: harbor.cdcyy.com.cn/cmii/cmii-uav-sense-adapter:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-sense-adapter - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-sense-adapter - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-sense-adapter - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-grid-datasource - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-datasource - image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-grid-datasource - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-grid-datasource - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-grid-datasource - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-user - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-user - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-user - image: harbor.cdcyy.com.cn/cmii/cmii-uav-user:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-user - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-user - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-user - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-alarm - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-alarm - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-alarm - image: harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-alarm - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-alarm - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-alarm - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-alarm - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-uav-gateway:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-admin-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-admin-user - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-admin-user - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-user - image: harbor.cdcyy.com.cn/cmii/cmii-admin-user:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-admin-user - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-admin-user - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-admin-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-admin-user - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-process - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-process - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-process - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-process - image: harbor.cdcyy.com.cn/cmii/cmii-uav-process:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-process - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-process - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-process - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-process - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-emergency - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-emergency - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-emergency - image: harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-emergency - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-emergency - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-emergency - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-emergency - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-threedsimulation - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-threedsimulation - image: harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-threedsimulation - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-threedsimulation - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-threedsimulation - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-device - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-device - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-device - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-device - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-device - image: harbor.cdcyy.com.cn/cmii/cmii-uav-device:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-device - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-device - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-device - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-device - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-device - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-integration - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-integration - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-integration - image: harbor.cdcyy.com.cn/cmii/cmii-uav-integration:5.6.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-integration - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-integration - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-integration - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-integration - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-kpi-monitor - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-kpi-monitor - image: harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-kpi-monitor - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-kpi-monitor - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-kpi-monitor - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-mission - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-mission - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-mission - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-mission - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-mission - image: harbor.cdcyy.com.cn/cmii/cmii-uav-mission:5.7.0-071604 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-mission - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-mission - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-mission - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-mission - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-mission - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-clusters - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-clusters - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-clusters - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-clusters - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-clusters - image: harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-clusters - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-clusters - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-clusters - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-clusters - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-clusters - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-tower - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-tower - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-tower - image: harbor.cdcyy.com.cn/cmii/cmii-uav-tower:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-tower - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-tower - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-tower - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-tower - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-industrial-portfolio - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-industrial-portfolio - image: harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-industrial-portfolio - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-industrial-portfolio - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-industrial-portfolio - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-cms - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cms - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-cms - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-cms - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-cms - image: harbor.cdcyy.com.cn/cmii/cmii-uav-cms:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-cms - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-cms - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-cms - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cms - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-cms - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-multilink - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-multilink - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-multilink - image: harbor.cdcyy.com.cn/cmii/cmii-uav-multilink:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-multilink - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-multilink - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-multilink - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-multilink - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-mqtthandler - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-mqtthandler - image: harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-mqtthandler - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-mqtthandler - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-mqtthandler - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-depotautoreturn - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-depotautoreturn - image: harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-depotautoreturn - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-depotautoreturn - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-depotautoreturn - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-bridge - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-bridge - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-bridge - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-bridge - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-bridge - image: harbor.cdcyy.com.cn/cmii/cmii-uav-bridge:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-bridge - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-bridge - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-bridge - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-bridge - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-bridge - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: helm-live-op-v2 - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: helm-live-op-v2 - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: helm-live-op-v2 - template: - metadata: - labels: - cmii.type: backend - cmii.app: helm-live-op-v2 - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: helm-live-op-v2 - image: harbor.cdcyy.com.cn/cmii/helm-live-op-v2:5.2.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: helm-live-op-v2 - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/helm-live-op-v2 - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-live-op-v2 - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: helm-live-op-v2 - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: helm-live-op-v2 + cmii.app: cmii-uav-sync ports: - name: backend-tcp port: 8080 @@ -5986,7 +565,7 @@ metadata: cmii.app: cmii-admin-gateway octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -6033,11 +612,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -6103,7 +682,7 @@ metadata: cmii.app: cmii-admin-gateway octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: @@ -6114,3 +693,5424 @@ spec: port: 8080 protocol: TCP targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-brain + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-brain + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-brain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-brain:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-brain + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-brain + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-brain + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-brain + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-process + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-process + image: harbor.cdcyy.com.cn/cmii/cmii-uav-process:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-process + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-depotautoreturn + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-depotautoreturn + image: harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-depotautoreturn + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-depotautoreturn + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-depotautoreturn + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-tower + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-tower + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-tower + image: harbor.cdcyy.com.cn/cmii/cmii-uav-tower:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-tower + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-tower + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-tower + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-tower + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-airspace + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-airspace + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-airspace + image: harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-airspace + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-airspace + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-airspace + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-airspace + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-data + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-data + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-data + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-data + image: harbor.cdcyy.com.cn/cmii/cmii-admin-data:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-admin-data + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-admin-data + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-data + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-data + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cloud-live + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cloud-live + image: harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-cloud-live + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-cloud-live + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cloud-live + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-alarm + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-alarm + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-alarm + image: harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-alarm + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-alarm + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-alarm + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-alarm + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-kpi-monitor + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-kpi-monitor + image: harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-kpi-monitor + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-kpi-monitor + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-kpi-monitor + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-oauth + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-oauth + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-oauth + image: harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-oauth + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-oauth + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-oauth + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-oauth + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-developer + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-developer + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-developer + image: harbor.cdcyy.com.cn/cmii/cmii-uav-developer:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-developer + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-developer + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-developer + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-developer + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-multilink + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-multilink + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-multilink + image: harbor.cdcyy.com.cn/cmii/cmii-uav-multilink:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-multilink + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-multilink + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-multilink + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-multilink + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-manage + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-manage + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-grid-manage + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-grid-manage + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-manage + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-user + image: harbor.cdcyy.com.cn/cmii/cmii-uav-user:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-lifecycle + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-lifecycle + image: harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uas-lifecycle + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uas-lifecycle + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-lifecycle + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mqtthandler + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mqtthandler + image: harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-mqtthandler + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-mqtthandler + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mqtthandler + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-bridge + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-bridge + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-bridge + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-bridge + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-bridge + image: harbor.cdcyy.com.cn/cmii/cmii-uav-bridge:5.6.0-redisBackup + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-bridge + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-bridge + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-bridge + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-bridge + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-bridge + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-waypoint + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-waypoint + image: harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-waypoint + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-waypoint + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-waypoint + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-waypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-notice + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-notice + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-notice + image: harbor.cdcyy.com.cn/cmii/cmii-uav-notice:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-notice + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-notice + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-notice + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-notice + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-material-warehouse + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-material-warehouse + image: harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-material-warehouse + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-material-warehouse + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-material-warehouse + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-clusters + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-clusters + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-clusters + image: harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-clusters + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-clusters + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-clusters + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-clusters + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-integration + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-integration + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-integration + image: harbor.cdcyy.com.cn/cmii/cmii-uav-integration:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-integration + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-integration + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-integration + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-integration + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-device + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-device + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-device + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-device + image: harbor.cdcyy.com.cn/cmii/cmii-uav-device:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-device + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-device + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-device + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-device + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-data-post-process + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-data-post-process + image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-data-post-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-data-post-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-data-post-process + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-emergency + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-emergency + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-emergency + image: harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-emergency + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-emergency + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-emergency + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-emergency + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uas-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uas-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-datasource + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-datasource + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-grid-datasource + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-grid-datasource + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-datasource + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-surveillance + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-surveillance + image: harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-surveillance + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-surveillance + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-surveillance + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-surveillance + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-sense-adapter + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sense-adapter + image: harbor.cdcyy.com.cn/cmii/cmii-uav-sense-adapter:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-sense-adapter + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-sense-adapter + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sense-adapter + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-open-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-open-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-open-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-open-gateway:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-open-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-open-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-open-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-open-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-app-release + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-app-release + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-app-release + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-app-release + image: harbor.cdcyy.com.cn/cmii/cmii-app-release:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-app-release + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-app-release + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-app-release + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-app-release + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-uav-gateway:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-user + image: harbor.cdcyy.com.cn/cmii/cmii-admin-user:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-admin-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-admin-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-threedsimulation + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-threedsimulation + image: harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-threedsimulation + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-threedsimulation + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-threedsimulation + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mission + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mission + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mission + image: harbor.cdcyy.com.cn/cmii/cmii-uav-mission:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-mission + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-mission + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mission + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mission + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cms + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cms + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-cms:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-cms + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-cms + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cms + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cms + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-engine + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-engine + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-grid-engine + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-grid-engine + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-engine + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-industrial-portfolio + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-industrial-portfolio + image: harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-industrial-portfolio + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-industrial-portfolio + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-industrial-portfolio + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gis-server + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gis-server + image: harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-gis-server + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-gis-server + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gis-server + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-gis-server + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 diff --git a/agent-common/real_project/uavcloud-devflight/k8s-configmap.yaml b/agent-common/real_project/uavcloud-devflight/k8s-configmap.yaml index 7818d26..76799f5 100644 --- a/agent-common/real_project/uavcloud-devflight/k8s-configmap.yaml +++ b/agent-common/real_project/uavcloud-devflight/k8s-configmap.yaml @@ -15,6 +15,90 @@ data: --- kind: ConfigMap apiVersion: v1 +metadata: + name: tenant-prefix-share + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "share", + AppClientId: "APP_4lVSVI0ZGxTssir8" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hyper + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "hyper", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-base + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "base", + AppClientId: "APP_9LY41OaKSqk2btY0" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-open + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "open", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-security + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "security", + AppClientId: "APP_JUSEMc7afyWXxvE7" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-splice + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "splice", + AppClientId: "APP_zE0M3sTRXrCIJS8Y" + } +--- +kind: ConfigMap +apiVersion: v1 metadata: name: tenant-prefix-jiangsuwenlv namespace: uavcloud-devflight @@ -29,6 +113,216 @@ data: --- kind: ConfigMap apiVersion: v1 +metadata: + name: tenant-prefix-mws + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "mws", + AppClientId: "APP_uKniXPELlRERBBwK" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-detection + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "detection", + AppClientId: "APP_FDHW2VLVDWPnnOCy" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-traffic + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "traffic", + AppClientId: "APP_Jc8i2wOQ1t73QEJS" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hljtt + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "hljtt", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uasms + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "uasms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-armypeople + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "armypeople", + AppClientId: "APP_UIegse6Lfou9pO1U" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-media + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "media", + AppClientId: "APP_4AU8lbifESQO4FD6" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qingdao + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "qingdao", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-visualization + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "visualization", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uas + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "uas", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-cmsportal + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "cmsportal", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-threedsimulation + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "threedsimulation", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pilot2cloud + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "pilot2cloud", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-securityh5 + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "securityh5", + AppClientId: "APP_N3ImO0Ubfu9peRHD" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pangu + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 metadata: name: tenant-prefix-ai-brain namespace: uavcloud-devflight @@ -43,6 +337,62 @@ data: --- kind: ConfigMap apiVersion: v1 +metadata: + name: tenant-prefix-emergency + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "emergency", + AppClientId: "APP_aGsTAY1uMZrpKdfk" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qinghaitourism + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "qinghaitourism", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dispatchh5 + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "dispatchh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervisionh5 + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "supervisionh5", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 metadata: name: tenant-prefix-logistics namespace: uavcloud-devflight @@ -71,34 +421,6 @@ data: --- kind: ConfigMap apiVersion: v1 -metadata: - name: tenant-prefix-supervisionh5 - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "supervisionh5", - AppClientId: "APP_qqSu82THfexI8PLM" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-securityh5 - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "securityh5", - AppClientId: "APP_N3ImO0Ubfu9peRHD" - } ---- -kind: ConfigMap -apiVersion: v1 metadata: name: tenant-prefix-oms namespace: uavcloud-devflight @@ -113,146 +435,6 @@ data: --- kind: ConfigMap apiVersion: v1 -metadata: - name: tenant-prefix-hljtt - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "hljtt", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-visualization - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "visualization", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-detection - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "detection", - AppClientId: "APP_FDHW2VLVDWPnnOCy" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-media - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "media", - AppClientId: "APP_4AU8lbifESQO4FD6" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-mws - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "mws", - AppClientId: "APP_uKniXPELlRERBBwK" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-splice - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "splice", - AppClientId: "APP_zE0M3sTRXrCIJS8Y" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-traffic - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "traffic", - AppClientId: "APP_Jc8i2wOQ1t73QEJS" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-threedsimulation - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "threedsimulation", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-qinghaitourism - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "qinghaitourism", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-uasms - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "uasms", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 metadata: name: tenant-prefix-supervision namespace: uavcloud-devflight @@ -264,143 +446,3 @@ data: ApplicationShortName: "supervision", AppClientId: "APP_qqSu82THfexI8PLM" } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-armypeople - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "armypeople", - AppClientId: "APP_UIegse6Lfou9pO1U" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-security - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "security", - AppClientId: "APP_JUSEMc7afyWXxvE7" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-qingdao - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "qingdao", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-uas - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "uas", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-pangu - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-open - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "open", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-share - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "share", - AppClientId: "APP_4lVSVI0ZGxTssir8" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-base - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "base", - AppClientId: "APP_9LY41OaKSqk2btY0" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-cmsportal - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "cmsportal", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-emergency - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "emergency", - AppClientId: "APP_aGsTAY1uMZrpKdfk" - } diff --git a/agent-common/real_project/uavcloud-devflight/k8s-emqx.yaml b/agent-common/real_project/uavcloud-devflight/k8s-emqx.yaml deleted file mode 100644 index 666a522..0000000 --- a/agent-common/real_project/uavcloud-devflight/k8s-emqx.yaml +++ /dev/null @@ -1,265 +0,0 @@ ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: helm-emqxs - namespace: uavcloud-devflight ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-emqxs-env - namespace: uavcloud-devflight - labels: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - helm.sh/chart: emqx-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 -data: - EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc.cluster.local:443" - EMQX_NAME: "helm-emqxs" - EMQX_CLUSTER__DISCOVERY: "k8s" - EMQX_CLUSTER__K8S__APP_NAME: "helm-emqxs" - EMQX_CLUSTER__K8S__SERVICE_NAME: "helm-emqxs-headless" - EMQX_CLUSTER__K8S__ADDRESS_TYPE: "dns" - EMQX_CLUSTER__K8S__namespace: "uavcloud-devflight" - EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local" - EMQX_ALLOW_ANONYMOUS: "false" - EMQX_ACL_NOMATCH: "deny" ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-emqxs-cm - namespace: uavcloud-devflight - labels: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - helm.sh/chart: emqx-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 -data: - emqx_auth_username.conf: |- - auth.user.1.username = cmlc - auth.user.1.password = 4YPk*DS%+5 - auth.user.password_hash = sha256 - - acl.conf: |- - {allow, {user, "admin"}, pubsub, ["admin/#"]}. - {allow, {user, "dashboard"}, subscribe, ["$SYS/#"]}. - {allow, {ipaddr, "127.0.0.1"}, pubsub, ["$SYS/#", "#"]}. - {deny, all, subscribe, ["$SYS/#", {eq, "#"}]}. - {allow, all}. - - loaded_plugins: |- - {emqx_auth_username,true}. - {emqx_management, true}. - {emqx_recon, true}. - {emqx_retainer, false}. - {emqx_dashboard, true}. - {emqx_telemetry, true}. - {emqx_rule_engine, true}. - {emqx_bridge_mqtt, false}. ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: helm-emqxs - namespace: uavcloud-devflight - labels: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - helm.sh/chart: emqx-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 -spec: - replicas: 1 - serviceName: helm-emqxs-headless - updateStrategy: - type: RollingUpdate - selector: - matchLabels: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - template: - metadata: - labels: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - helm.sh/chart: emqx-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 - spec: - affinity: { } - imagePullSecrets: - - name: harborsecret - serviceAccountName: helm-emqxs - containers: - - name: helm-emqxs - image: harbor.cdcyy.com.cn/cmii/emqx:5.5.1 - imagePullPolicy: Always - ports: - - name: mqtt - containerPort: 1883 - - name: mqttssl - containerPort: 8883 - - name: mgmt - containerPort: 8081 - - name: ws - containerPort: 8083 - - name: wss - containerPort: 8084 - - name: dashboard - containerPort: 18083 - - name: ekka - containerPort: 4370 - envFrom: - - configMapRef: - name: helm-emqxs-env - resources: { } - volumeMounts: - - name: emqx-data - mountPath: "/opt/emqx/data/mnesia" - readOnly: false - - name: helm-emqxs-cm - mountPath: "/opt/emqx/etc/plugins/emqx_auth_username.conf" - subPath: emqx_auth_username.conf - readOnly: false - # - name: helm-emqxs-cm - # mountPath: "/opt/emqx/etc/acl.conf" - # subPath: "acl.conf" - # readOnly: false - - name: helm-emqxs-cm - mountPath: "/opt/emqx/data/loaded_plugins" - subPath: loaded_plugins - readOnly: false - volumes: - - name: emqx-data - persistentVolumeClaim: - claimName: helm-emqxs - - name: helm-emqxs-cm - configMap: - name: helm-emqxs-cm - items: - - key: emqx_auth_username.conf - path: emqx_auth_username.conf - - key: acl.conf - path: acl.conf - - key: loaded_plugins - path: loaded_plugins ---- -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: helm-emqxs - namespace: uavcloud-devflight -rules: - - apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list ---- -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: helm-emqxs - namespace: uavcloud-devflight -subjects: - - kind: ServiceAccount - name: helm-emqxs - namespace: uavcloud-devflight -roleRef: - kind: Role - name: helm-emqxs - apiGroup: rbac.authorization.k8s.io ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-emqxs - namespace: uavcloud-devflight - labels: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - helm.sh/chart: emqx-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 -spec: - type: NodePort - selector: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - ports: - - port: 1883 - name: mqtt - targetPort: 1883 - nodePort: 31884 - - port: 18083 - name: dashboard - targetPort: 18083 - nodePort: 38086 - - port: 8083 - name: mqtt-websocket - targetPort: 8083 - nodePort: 38084 ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-emqxs-headless - namespace: uavcloud-devflight - labels: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - helm.sh/chart: emqx-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - clusterIP: None - selector: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - ports: - - name: mqtt - port: 1883 - protocol: TCP - targetPort: 1883 - - name: mqttssl - port: 8883 - protocol: TCP - targetPort: 8883 - - name: mgmt - port: 8081 - protocol: TCP - targetPort: 8081 - - name: websocket - port: 8083 - protocol: TCP - targetPort: 8083 - - name: wss - port: 8084 - protocol: TCP - targetPort: 8084 - - name: dashboard - port: 18083 - protocol: TCP - targetPort: 18083 - - name: ekka - port: 4370 - protocol: TCP - targetPort: 4370 diff --git a/agent-common/real_project/uavcloud-devflight/k8s-frontend.yaml b/agent-common/real_project/uavcloud-devflight/k8s-frontend.yaml index bcf6cd5..0628078 100644 --- a/agent-common/real_project/uavcloud-devflight/k8s-frontend.yaml +++ b/agent-common/real_project/uavcloud-devflight/k8s-frontend.yaml @@ -26,718 +26,6 @@ data: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-platform-hljtt - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-hljtt - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-hljtt - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-hljtt - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-hljtt - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-uas - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-uas - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uas:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-uas - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-uas - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-uas - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-emergency-rescue - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-emergency-rescue - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-emergency-rescue:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-emergency-rescue - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-emergency - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-emergency-rescue - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-seniclive - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-seniclive - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-seniclive:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-seniclive - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-seniclive - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-seniclive - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-visualization - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-visualization - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-visualization - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-visualization - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-visualization - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.7.0-validation - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-pangu - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-detection - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-detection - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-detection - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-detection - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-detection - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-media - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-media - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-media:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-media - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-media - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-media - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: cmii-uav-platform-splice namespace: uavcloud-devflight @@ -745,7 +33,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-splice octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -813,7 +101,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-splice octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: @@ -828,39 +116,39 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-base + name: cmii-uav-platform-uas namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-base + cmii.app: cmii-uav-platform-uas octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: - replicas: 1 + replicas: 0 strategy: rollingUpdate: maxUnavailable: 1 selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-base + cmii.app: cmii-uav-platform-uas template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-base + cmii.app: cmii-uav-platform-uas spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-base - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:5.6.0 + - name: cmii-uav-platform-uas + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uas:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-base + value: cmii-uav-platform-uas ports: - name: platform-9528 containerPort: 9528 @@ -888,7 +176,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-base + name: tenant-prefix-uas items: - key: ingress-config.js path: ingress-config.js @@ -896,463 +184,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-base + name: cmii-uav-platform-uas namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-base + cmii.app: cmii-uav-platform-uas octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-base - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-mws - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-mws - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-mws - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-mws - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-mws - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-jiangsuwenlv - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-jiangsuwenlv - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-jiangsuwenlv - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-jiangsuwenlv - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-jiangsuwenlv - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-ai-brain - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-ai-brain - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-ai-brain - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-ai-brain - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-ai-brain - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-uasms - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-uasms - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uasms:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-uasms - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-uasms - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-uasms - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-security - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-security - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-security - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-security - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-security - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-security:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-security - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-security - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-security - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-security - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-security + cmii.app: cmii-uav-platform-uas ports: - name: web-svc-port port: 9528 @@ -1368,7 +211,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-threedsimulation octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -1436,7 +279,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-threedsimulation octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: @@ -1451,13 +294,13 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-suav-platform-supervision + name: cmii-uav-platform-base namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-base octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -1466,24 +309,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-base template: metadata: labels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-base spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-suav-platform-supervision - image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervision:5.6.0 + - name: cmii-uav-platform-base + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-suav-platform-supervision + value: cmii-uav-platform-base ports: - name: platform-9528 containerPort: 9528 @@ -1511,7 +354,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-supervision + name: tenant-prefix-base items: - key: ingress-config.js path: ingress-config.js @@ -1519,18 +362,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-suav-platform-supervision + name: cmii-uav-platform-base namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-base octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-base ports: - name: web-svc-port port: 9528 @@ -1540,13 +383,13 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-armypeople + name: cmii-uav-platform-pilot2-to-cloud namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-pilot2-to-cloud octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -1555,24 +398,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-pilot2-to-cloud template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-pilot2-to-cloud spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-armypeople - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-armypeople:5.6.0 + - name: cmii-uav-platform-pilot2-to-cloud + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-pilot2-to-cloud:5.7.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-armypeople + value: cmii-uav-platform-pilot2-to-cloud ports: - name: platform-9528 containerPort: 9528 @@ -1600,7 +443,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-armypeople + name: tenant-prefix-pilot2cloud items: - key: ingress-config.js path: ingress-config.js @@ -1608,18 +451,196 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-armypeople + name: cmii-uav-platform-pilot2-to-cloud namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-pilot2-to-cloud octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-pilot2-to-cloud + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-ai-brain + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-ai-brain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-ai-brain + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-ai-brain + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-ai-brain + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-qingdao + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qingdao + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-qingdao + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qingdao + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qingdao + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao ports: - name: web-svc-port port: 9528 @@ -1635,7 +656,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-open octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -1703,7 +724,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-open octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: @@ -1718,39 +739,39 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-suav-platform-supervisionh5 + name: cmii-uav-platform-uasms namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 + cmii.app: cmii-uav-platform-uasms octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: - replicas: 1 + replicas: 0 strategy: rollingUpdate: maxUnavailable: 1 selector: matchLabels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 + cmii.app: cmii-uav-platform-uasms template: metadata: labels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 + cmii.app: cmii-uav-platform-uasms spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-suav-platform-supervisionh5 - image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:5.6.0 + - name: cmii-uav-platform-uasms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uasms:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-suav-platform-supervisionh5 + value: cmii-uav-platform-uasms ports: - name: platform-9528 containerPort: 9528 @@ -1778,7 +799,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-supervisionh5 + name: tenant-prefix-uasms items: - key: ingress-config.js path: ingress-config.js @@ -1786,18 +807,107 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-suav-platform-supervisionh5 + name: cmii-uav-platform-uasms namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 + cmii.app: cmii-uav-platform-uasms octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 + cmii.app: cmii-uav-platform-uasms + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qinghaitourism + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-qinghaitourism + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qinghaitourism + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism ports: - name: web-svc-port port: 9528 @@ -1813,7 +923,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-securityh5 octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -1881,7 +991,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-securityh5 octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: @@ -1896,13 +1006,13 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-share + name: cmii-uav-platform namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-share + cmii.app: cmii-uav-platform octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -1911,24 +1021,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-share + cmii.app: cmii-uav-platform template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-share + cmii.app: cmii-uav-platform spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-share - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:5.7.0-snapshot + - name: cmii-uav-platform + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.7.0-validation imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-share + value: cmii-uav-platform ports: - name: platform-9528 containerPort: 9528 @@ -1956,7 +1066,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-share + name: tenant-prefix-pangu items: - key: ingress-config.js path: ingress-config.js @@ -1964,18 +1074,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-share + name: cmii-uav-platform namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-share + cmii.app: cmii-uav-platform octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-share + cmii.app: cmii-uav-platform ports: - name: web-svc-port port: 9528 @@ -1985,13 +1095,13 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-multiterminal + name: cmii-uav-platform-hyperspectral namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal + cmii.app: cmii-uav-platform-hyperspectral octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -2000,24 +1110,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal + cmii.app: cmii-uav-platform-hyperspectral template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal + cmii.app: cmii-uav-platform-hyperspectral spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-multiterminal - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:5.6.0 + - name: cmii-uav-platform-hyperspectral + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hyperspectral:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-multiterminal + value: cmii-uav-platform-hyperspectral ports: - name: platform-9528 containerPort: 9528 @@ -2045,7 +1155,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-multiterminal + name: tenant-prefix-hyper items: - key: ingress-config.js path: ingress-config.js @@ -2053,18 +1163,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-multiterminal + name: cmii-uav-platform-hyperspectral namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal + cmii.app: cmii-uav-platform-hyperspectral octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal + cmii.app: cmii-uav-platform-hyperspectral ports: - name: web-svc-port port: 9528 @@ -2074,13 +1184,13 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-cms-portal + name: cmii-uav-platform-mws namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal + cmii.app: cmii-uav-platform-mws octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -2089,24 +1199,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal + cmii.app: cmii-uav-platform-mws template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal + cmii.app: cmii-uav-platform-mws spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-cms-portal - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:5.6.0 + - name: cmii-uav-platform-mws + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-cms-portal + value: cmii-uav-platform-mws ports: - name: platform-9528 containerPort: 9528 @@ -2134,7 +1244,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-cmsportal + name: tenant-prefix-mws items: - key: ingress-config.js path: ingress-config.js @@ -2142,196 +1252,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-cms-portal + name: cmii-uav-platform-mws namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal + cmii.app: cmii-uav-platform-mws octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-oms - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-oms - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-oms:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-oms - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-oms - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-oms - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-qingdao - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-qingdao - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-qingdao - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-qingdao - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-qingdao - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao + cmii.app: cmii-uav-platform-mws ports: - name: web-svc-port port: 9528 @@ -2347,7 +1279,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-logistics octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -2415,7 +1347,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-logistics octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: @@ -2430,13 +1362,13 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-qinghaitourism + name: cmii-uav-platform-oms namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism + cmii.app: cmii-uav-platform-oms octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -2445,24 +1377,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism + cmii.app: cmii-uav-platform-oms template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism + cmii.app: cmii-uav-platform-oms spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-qinghaitourism - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:5.6.0 + - name: cmii-uav-platform-oms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-oms:5.7.0-validation imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-qinghaitourism + value: cmii-uav-platform-oms ports: - name: platform-9528 containerPort: 9528 @@ -2490,7 +1422,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-qinghaitourism + name: tenant-prefix-oms items: - key: ingress-config.js path: ingress-config.js @@ -2498,18 +1430,1264 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-qinghaitourism + name: cmii-uav-platform-oms namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism + cmii.app: cmii-uav-platform-oms octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism + cmii.app: cmii-uav-platform-oms + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-multiterminal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-multiterminal + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-multiterminal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-multiterminal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-multiterminal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-detection + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-detection + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-detection + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-detection + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-detection + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-security + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-security + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-security:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-security + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-security + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-security + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-media + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-media + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-media:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-media + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-media + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-media + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-armypeople + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-armypeople + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-armypeople:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-armypeople + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-armypeople + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-armypeople + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-platform-supervision + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervision + image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervision:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-suav-platform-supervision + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervision + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervision + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-share + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-share + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-share + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-share + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-share + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-jiangsuwenlv + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-jiangsuwenlv + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-jiangsuwenlv + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-hljtt + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-hljtt + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-hljtt + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-hljtt + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-hljtt + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervisionh5 + image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-suav-platform-supervisionh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervisionh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-emergency-rescue + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-emergency-rescue + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-emergency-rescue:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-emergency-rescue + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-emergency + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-emergency-rescue + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-visualization + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-visualization + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-visualization + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-visualization + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-visualization + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-cms-portal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-cms-portal + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-cms-portal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-cmsportal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-cms-portal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-seniclive + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-seniclive + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-seniclive:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-seniclive + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-seniclive + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-seniclive + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive ports: - name: web-svc-port port: 9528 diff --git a/agent-common/real_project/uavcloud-devflight/k8s-ingress.yaml b/agent-common/real_project/uavcloud-devflight/k8s-ingress.yaml index 09a9dbc..0c45a09 100644 --- a/agent-common/real_project/uavcloud-devflight/k8s-ingress.yaml +++ b/agent-common/real_project/uavcloud-devflight/k8s-ingress.yaml @@ -8,7 +8,7 @@ metadata: type: frontend octopus.control: all-ingress-config-wdd app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/enable-cors: "true" @@ -22,8 +22,10 @@ metadata: rewrite ^(/base)$ $1/ redirect; rewrite ^(/cmsportal)$ $1/ redirect; rewrite ^(/detection)$ $1/ redirect; + rewrite ^(/dispatchh5)$ $1/ redirect; rewrite ^(/emergency)$ $1/ redirect; rewrite ^(/hljtt)$ $1/ redirect; + rewrite ^(/hyper)$ $1/ redirect; rewrite ^(/jiangsuwenlv)$ $1/ redirect; rewrite ^(/logistics)$ $1/ redirect; rewrite ^(/media)$ $1/ redirect; @@ -31,6 +33,7 @@ metadata: rewrite ^(/mws)$ $1/ redirect; rewrite ^(/oms)$ $1/ redirect; rewrite ^(/open)$ $1/ redirect; + rewrite ^(/pilot2cloud)$ $1/ redirect; rewrite ^(/qingdao)$ $1/ redirect; rewrite ^(/qinghaitourism)$ $1/ redirect; rewrite ^(/security)$ $1/ redirect; @@ -93,6 +96,11 @@ spec: backend: serviceName: cmii-uav-platform-detection servicePort: 9528 + - path: /devflight/dispatchh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-dispatchh5 + servicePort: 9528 - path: /devflight/emergency/?(.*) pathType: ImplementationSpecific backend: @@ -103,6 +111,11 @@ spec: backend: serviceName: cmii-uav-platform-hljtt servicePort: 9528 + - path: /devflight/hyper/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-hyperspectral + servicePort: 9528 - path: /devflight/jiangsuwenlv/?(.*) pathType: ImplementationSpecific backend: @@ -138,6 +151,11 @@ spec: backend: serviceName: cmii-uav-platform-open servicePort: 9528 + - path: /devflight/pilot2cloud/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-pilot2-to-cloud + servicePort: 9528 - path: /devflight/qingdao/?(.*) pathType: ImplementationSpecific backend: @@ -208,7 +226,7 @@ metadata: type: backend octopus.control: all-ingress-config-wdd app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/enable-cors: "true" @@ -568,2001 +586,7 @@ metadata: type: api-gateway octopus.control: all-ingress-config-1.1.0 app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 - annotations: - kubernetes.io/ingress.class: "nginx" - nginx.ingress.kubernetes.io/enable-cors: "true" - nginx.ingress.kubernetes.io/rewrite-target: /$1 - nginx.ingress.kubernetes.io/configuration-snippet: | - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "Upgrade"; -spec: - rules: - - host: fake-domain.uavcloud-devflight.io - http: - paths: - - path: /devflight/oms/api/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-admin-gateway - servicePort: 8080 - - path: /devflight/open/api/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-open-gateway - servicePort: 8080 - - path: /devflight/api/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-gateway - servicePort: 8080 ---- -apiVersion: networking.k8s.io/v1beta1 -kind: Ingress -metadata: - name: frontend-applications-ingress - namespace: uavcloud-devflight - labels: - type: frontend - octopus.control: all-ingress-config-wdd - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 - annotations: - kubernetes.io/ingress.class: "nginx" - nginx.ingress.kubernetes.io/enable-cors: "true" - nginx.ingress.kubernetes.io/rewrite-target: /$1 - nginx.ingress.kubernetes.io/configuration-snippet: | - rewrite ^(/supervision)$ $1/ redirect; - rewrite ^(/supervisionh5)$ $1/ redirect; - rewrite ^(/pangu)$ $1/ redirect; - rewrite ^(/ai-brain)$ $1/ redirect; - rewrite ^(/armypeople)$ $1/ redirect; - rewrite ^(/base)$ $1/ redirect; - rewrite ^(/cmsportal)$ $1/ redirect; - rewrite ^(/detection)$ $1/ redirect; - rewrite ^(/emergency)$ $1/ redirect; - rewrite ^(/hljtt)$ $1/ redirect; - rewrite ^(/jiangsuwenlv)$ $1/ redirect; - rewrite ^(/logistics)$ $1/ redirect; - rewrite ^(/media)$ $1/ redirect; - rewrite ^(/multiterminal)$ $1/ redirect; - rewrite ^(/mws)$ $1/ redirect; - rewrite ^(/oms)$ $1/ redirect; - rewrite ^(/open)$ $1/ redirect; - rewrite ^(/qingdao)$ $1/ redirect; - rewrite ^(/qinghaitourism)$ $1/ redirect; - rewrite ^(/security)$ $1/ redirect; - rewrite ^(/securityh5)$ $1/ redirect; - rewrite ^(/seniclive)$ $1/ redirect; - rewrite ^(/share)$ $1/ redirect; - rewrite ^(/splice)$ $1/ redirect; - rewrite ^(/threedsimulation)$ $1/ redirect; - rewrite ^(/traffic)$ $1/ redirect; - rewrite ^(/uas)$ $1/ redirect; - rewrite ^(/uasms)$ $1/ redirect; - rewrite ^(/visualization)$ $1/ redirect; -spec: - rules: - - host: fake-domain.uavcloud-devflight.io - http: - paths: - - path: /?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform - servicePort: 9528 - - path: /supervision/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-suav-platform-supervision - servicePort: 9528 - - path: /supervisionh5/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-suav-platform-supervisionh5 - servicePort: 9528 - - path: /pangu/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform - servicePort: 9528 - - path: /ai-brain/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-ai-brain - servicePort: 9528 - - path: /armypeople/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-armypeople - servicePort: 9528 - - path: /base/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-base - servicePort: 9528 - - path: /cmsportal/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-cms-portal - servicePort: 9528 - - path: /detection/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-detection - servicePort: 9528 - - path: /emergency/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-emergency-rescue - servicePort: 9528 - - path: /hljtt/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-hljtt - servicePort: 9528 - - path: /jiangsuwenlv/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-jiangsuwenlv - servicePort: 9528 - - path: /logistics/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-logistics - servicePort: 9528 - - path: /media/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-media - servicePort: 9528 - - path: /multiterminal/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-multiterminal - servicePort: 9528 - - path: /mws/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-mws - servicePort: 9528 - - path: /oms/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-oms - servicePort: 9528 - - path: /open/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-open - servicePort: 9528 - - path: /qingdao/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-qingdao - servicePort: 9528 - - path: /qinghaitourism/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-qinghaitourism - servicePort: 9528 - - path: /security/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-security - servicePort: 9528 - - path: /securityh5/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-securityh5 - servicePort: 9528 - - path: /seniclive/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-seniclive - servicePort: 9528 - - path: /share/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-share - servicePort: 9528 - - path: /splice/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-splice - servicePort: 9528 - - path: /threedsimulation/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-threedsimulation - servicePort: 9528 - - path: /traffic/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-traffic - servicePort: 9528 - - path: /uas/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-uas - servicePort: 9528 - - path: /uasms/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-uasms - servicePort: 9528 - - path: /visualization/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-visualization - servicePort: 9528 ---- -apiVersion: networking.k8s.io/v1beta1 -kind: Ingress -metadata: - name: frontend-applications-ingress - namespace: uavcloud-devflight - labels: - type: frontend - octopus.control: all-ingress-config-wdd - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 - annotations: - kubernetes.io/ingress.class: "nginx" - nginx.ingress.kubernetes.io/enable-cors: "true" - nginx.ingress.kubernetes.io/rewrite-target: /$1 - nginx.ingress.kubernetes.io/configuration-snippet: | - rewrite ^(/supervision)$ $1/ redirect; - rewrite ^(/supervisionh5)$ $1/ redirect; - rewrite ^(/pangu)$ $1/ redirect; - rewrite ^(/ai-brain)$ $1/ redirect; - rewrite ^(/armypeople)$ $1/ redirect; - rewrite ^(/base)$ $1/ redirect; - rewrite ^(/cmsportal)$ $1/ redirect; - rewrite ^(/detection)$ $1/ redirect; - rewrite ^(/emergency)$ $1/ redirect; - rewrite ^(/hljtt)$ $1/ redirect; - rewrite ^(/jiangsuwenlv)$ $1/ redirect; - rewrite ^(/logistics)$ $1/ redirect; - rewrite ^(/media)$ $1/ redirect; - rewrite ^(/multiterminal)$ $1/ redirect; - rewrite ^(/mws)$ $1/ redirect; - rewrite ^(/oms)$ $1/ redirect; - rewrite ^(/open)$ $1/ redirect; - rewrite ^(/qingdao)$ $1/ redirect; - rewrite ^(/qinghaitourism)$ $1/ redirect; - rewrite ^(/security)$ $1/ redirect; - rewrite ^(/securityh5)$ $1/ redirect; - rewrite ^(/seniclive)$ $1/ redirect; - rewrite ^(/share)$ $1/ redirect; - rewrite ^(/splice)$ $1/ redirect; - rewrite ^(/threedsimulation)$ $1/ redirect; - rewrite ^(/traffic)$ $1/ redirect; - rewrite ^(/uas)$ $1/ redirect; - rewrite ^(/uasms)$ $1/ redirect; - rewrite ^(/visualization)$ $1/ redirect; -spec: - rules: - - host: fake-domain.uavcloud-devflight.io - http: - paths: - - path: /devflight/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform - servicePort: 9528 - - path: /devflight/supervision/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-suav-platform-supervision - servicePort: 9528 - - path: /devflight/supervisionh5/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-suav-platform-supervisionh5 - servicePort: 9528 - - path: /devflight/pangu/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform - servicePort: 9528 - - path: /devflight/ai-brain/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-ai-brain - servicePort: 9528 - - path: /devflight/armypeople/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-armypeople - servicePort: 9528 - - path: /devflight/base/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-base - servicePort: 9528 - - path: /devflight/cmsportal/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-cms-portal - servicePort: 9528 - - path: /devflight/detection/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-detection - servicePort: 9528 - - path: /devflight/emergency/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-emergency-rescue - servicePort: 9528 - - path: /devflight/hljtt/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-hljtt - servicePort: 9528 - - path: /devflight/jiangsuwenlv/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-jiangsuwenlv - servicePort: 9528 - - path: /devflight/logistics/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-logistics - servicePort: 9528 - - path: /devflight/media/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-media - servicePort: 9528 - - path: /devflight/multiterminal/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-multiterminal - servicePort: 9528 - - path: /devflight/mws/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-mws - servicePort: 9528 - - path: /devflight/oms/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-oms - servicePort: 9528 - - path: /devflight/open/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-open - servicePort: 9528 - - path: /devflight/qingdao/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-qingdao - servicePort: 9528 - - path: /devflight/qinghaitourism/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-qinghaitourism - servicePort: 9528 - - path: /devflight/security/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-security - servicePort: 9528 - - path: /devflight/securityh5/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-securityh5 - servicePort: 9528 - - path: /devflight/seniclive/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-seniclive - servicePort: 9528 - - path: /devflight/share/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-share - servicePort: 9528 - - path: /devflight/splice/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-splice - servicePort: 9528 - - path: /devflight/threedsimulation/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-threedsimulation - servicePort: 9528 - - path: /devflight/traffic/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-traffic - servicePort: 9528 - - path: /devflight/uas/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-uas - servicePort: 9528 - - path: /devflight/uasms/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-uasms - servicePort: 9528 - - path: /devflight/visualization/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-visualization - servicePort: 9528 ---- -apiVersion: networking.k8s.io/v1beta1 -kind: Ingress -metadata: - name: backend-applications-ingress - namespace: uavcloud-devflight - labels: - type: backend - octopus.control: all-ingress-config-wdd - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 - annotations: - kubernetes.io/ingress.class: "nginx" - nginx.ingress.kubernetes.io/enable-cors: "true" -spec: - rules: - - host: cmii-admin-data.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-admin-data - servicePort: 8080 - - host: cmii-admin-gateway.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-admin-gateway - servicePort: 8080 - - host: cmii-admin-user.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-admin-user - servicePort: 8080 - - host: cmii-app-release.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-app-release - servicePort: 8080 - - host: cmii-open-gateway.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-open-gateway - servicePort: 8080 - - host: cmii-suav-supervision.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-suav-supervision - servicePort: 8080 - - host: cmii-uas-gateway.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uas-gateway - servicePort: 8080 - - host: cmii-uas-lifecycle.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uas-lifecycle - servicePort: 8080 - - host: cmii-uav-airspace.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-airspace - servicePort: 8080 - - host: cmii-uav-alarm.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-alarm - servicePort: 8080 - - host: cmii-uav-autowaypoint.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-autowaypoint - servicePort: 8080 - - host: cmii-uav-brain.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-brain - servicePort: 8080 - - host: cmii-uav-bridge.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-bridge - servicePort: 8080 - - host: cmii-uav-cloud-live.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-cloud-live - servicePort: 8080 - - host: cmii-uav-clusters.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-clusters - servicePort: 8080 - - host: cmii-uav-cms.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-cms - servicePort: 8080 - - host: cmii-uav-data-post-process.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-data-post-process - servicePort: 8080 - - host: cmii-uav-depotautoreturn.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-depotautoreturn - servicePort: 8080 - - host: cmii-uav-developer.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-developer - servicePort: 8080 - - host: cmii-uav-device.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-device - servicePort: 8080 - - host: cmii-uav-emergency.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-emergency - servicePort: 8080 - - host: cmii-uav-gateway.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-gateway - servicePort: 8080 - - host: cmii-uav-gis-server.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-gis-server - servicePort: 8080 - - host: cmii-uav-grid-datasource.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-grid-datasource - servicePort: 8080 - - host: cmii-uav-grid-engine.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-grid-engine - servicePort: 8080 - - host: cmii-uav-grid-manage.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-grid-manage - servicePort: 8080 - - host: cmii-uav-industrial-portfolio.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-industrial-portfolio - servicePort: 8080 - - host: cmii-uav-integration.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-integration - servicePort: 8080 - - host: cmii-uav-kpi-monitor.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-kpi-monitor - servicePort: 8080 - - host: cmii-uav-logger.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-logger - servicePort: 8080 - - host: cmii-uav-material-warehouse.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-material-warehouse - servicePort: 8080 - - host: cmii-uav-mission.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-mission - servicePort: 8080 - - host: cmii-uav-mqtthandler.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-mqtthandler - servicePort: 8080 - - host: cmii-uav-multilink.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-multilink - servicePort: 8080 - - host: cmii-uav-notice.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-notice - servicePort: 8080 - - host: cmii-uav-oauth.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-oauth - servicePort: 8080 - - host: cmii-uav-process.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-process - servicePort: 8080 - - host: cmii-uav-sense-adapter.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-sense-adapter - servicePort: 8080 - - host: cmii-uav-surveillance.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-surveillance - servicePort: 8080 - - host: cmii-uav-threedsimulation.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-threedsimulation - servicePort: 8080 - - host: cmii-uav-tower.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-tower - servicePort: 8080 - - host: cmii-uav-user.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-user - servicePort: 8080 - - host: cmii-uav-waypoint.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-waypoint - servicePort: 8080 ---- -apiVersion: networking.k8s.io/v1beta1 -kind: Ingress -metadata: - name: all-gateways-ingress - namespace: uavcloud-devflight - labels: - type: api-gateway - octopus.control: all-ingress-config-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 - annotations: - kubernetes.io/ingress.class: "nginx" - nginx.ingress.kubernetes.io/enable-cors: "true" - nginx.ingress.kubernetes.io/rewrite-target: /$1 - nginx.ingress.kubernetes.io/configuration-snippet: | - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "Upgrade"; -spec: - rules: - - host: fake-domain.uavcloud-devflight.io - http: - paths: - - path: /devflight/oms/api/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-admin-gateway - servicePort: 8080 - - path: /devflight/open/api/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-open-gateway - servicePort: 8080 - - path: /devflight/api/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-gateway - servicePort: 8080 ---- -apiVersion: networking.k8s.io/v1beta1 -kind: Ingress -metadata: - name: frontend-applications-ingress - namespace: uavcloud-devflight - labels: - type: frontend - octopus.control: all-ingress-config-wdd - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 - annotations: - kubernetes.io/ingress.class: "nginx" - nginx.ingress.kubernetes.io/enable-cors: "true" - nginx.ingress.kubernetes.io/rewrite-target: /$1 - nginx.ingress.kubernetes.io/configuration-snippet: | - rewrite ^(/supervision)$ $1/ redirect; - rewrite ^(/supervisionh5)$ $1/ redirect; - rewrite ^(/pangu)$ $1/ redirect; - rewrite ^(/ai-brain)$ $1/ redirect; - rewrite ^(/armypeople)$ $1/ redirect; - rewrite ^(/base)$ $1/ redirect; - rewrite ^(/cmsportal)$ $1/ redirect; - rewrite ^(/detection)$ $1/ redirect; - rewrite ^(/emergency)$ $1/ redirect; - rewrite ^(/hljtt)$ $1/ redirect; - rewrite ^(/jiangsuwenlv)$ $1/ redirect; - rewrite ^(/logistics)$ $1/ redirect; - rewrite ^(/media)$ $1/ redirect; - rewrite ^(/multiterminal)$ $1/ redirect; - rewrite ^(/mws)$ $1/ redirect; - rewrite ^(/oms)$ $1/ redirect; - rewrite ^(/open)$ $1/ redirect; - rewrite ^(/qingdao)$ $1/ redirect; - rewrite ^(/qinghaitourism)$ $1/ redirect; - rewrite ^(/security)$ $1/ redirect; - rewrite ^(/securityh5)$ $1/ redirect; - rewrite ^(/seniclive)$ $1/ redirect; - rewrite ^(/share)$ $1/ redirect; - rewrite ^(/splice)$ $1/ redirect; - rewrite ^(/threedsimulation)$ $1/ redirect; - rewrite ^(/traffic)$ $1/ redirect; - rewrite ^(/uas)$ $1/ redirect; - rewrite ^(/uasms)$ $1/ redirect; - rewrite ^(/visualization)$ $1/ redirect; -spec: - rules: - - host: fake-domain.uavcloud-devflight.io - http: - paths: - - path: /devflight/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform - servicePort: 9528 - - path: /devflight/supervision/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-suav-platform-supervision - servicePort: 9528 - - path: /devflight/supervisionh5/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-suav-platform-supervisionh5 - servicePort: 9528 - - path: /devflight/pangu/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform - servicePort: 9528 - - path: /devflight/ai-brain/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-ai-brain - servicePort: 9528 - - path: /devflight/armypeople/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-armypeople - servicePort: 9528 - - path: /devflight/base/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-base - servicePort: 9528 - - path: /devflight/cmsportal/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-cms-portal - servicePort: 9528 - - path: /devflight/detection/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-detection - servicePort: 9528 - - path: /devflight/emergency/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-emergency-rescue - servicePort: 9528 - - path: /devflight/hljtt/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-hljtt - servicePort: 9528 - - path: /devflight/jiangsuwenlv/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-jiangsuwenlv - servicePort: 9528 - - path: /devflight/logistics/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-logistics - servicePort: 9528 - - path: /devflight/media/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-media - servicePort: 9528 - - path: /devflight/multiterminal/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-multiterminal - servicePort: 9528 - - path: /devflight/mws/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-mws - servicePort: 9528 - - path: /devflight/oms/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-oms - servicePort: 9528 - - path: /devflight/open/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-open - servicePort: 9528 - - path: /devflight/qingdao/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-qingdao - servicePort: 9528 - - path: /devflight/qinghaitourism/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-qinghaitourism - servicePort: 9528 - - path: /devflight/security/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-security - servicePort: 9528 - - path: /devflight/securityh5/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-securityh5 - servicePort: 9528 - - path: /devflight/seniclive/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-seniclive - servicePort: 9528 - - path: /devflight/share/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-share - servicePort: 9528 - - path: /devflight/splice/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-splice - servicePort: 9528 - - path: /devflight/threedsimulation/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-threedsimulation - servicePort: 9528 - - path: /devflight/traffic/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-traffic - servicePort: 9528 - - path: /devflight/uas/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-uas - servicePort: 9528 - - path: /devflight/uasms/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-uasms - servicePort: 9528 - - path: /devflight/visualization/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-visualization - servicePort: 9528 ---- -apiVersion: networking.k8s.io/v1beta1 -kind: Ingress -metadata: - name: backend-applications-ingress - namespace: uavcloud-devflight - labels: - type: backend - octopus.control: all-ingress-config-wdd - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 - annotations: - kubernetes.io/ingress.class: "nginx" - nginx.ingress.kubernetes.io/enable-cors: "true" -spec: - rules: - - host: cmii-admin-data.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-admin-data - servicePort: 8080 - - host: cmii-admin-gateway.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-admin-gateway - servicePort: 8080 - - host: cmii-admin-user.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-admin-user - servicePort: 8080 - - host: cmii-app-release.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-app-release - servicePort: 8080 - - host: cmii-open-gateway.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-open-gateway - servicePort: 8080 - - host: cmii-suav-supervision.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-suav-supervision - servicePort: 8080 - - host: cmii-uas-gateway.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uas-gateway - servicePort: 8080 - - host: cmii-uas-lifecycle.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uas-lifecycle - servicePort: 8080 - - host: cmii-uav-airspace.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-airspace - servicePort: 8080 - - host: cmii-uav-alarm.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-alarm - servicePort: 8080 - - host: cmii-uav-autowaypoint.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-autowaypoint - servicePort: 8080 - - host: cmii-uav-brain.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-brain - servicePort: 8080 - - host: cmii-uav-bridge.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-bridge - servicePort: 8080 - - host: cmii-uav-cloud-live.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-cloud-live - servicePort: 8080 - - host: cmii-uav-clusters.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-clusters - servicePort: 8080 - - host: cmii-uav-cms.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-cms - servicePort: 8080 - - host: cmii-uav-data-post-process.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-data-post-process - servicePort: 8080 - - host: cmii-uav-depotautoreturn.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-depotautoreturn - servicePort: 8080 - - host: cmii-uav-developer.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-developer - servicePort: 8080 - - host: cmii-uav-device.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-device - servicePort: 8080 - - host: cmii-uav-emergency.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-emergency - servicePort: 8080 - - host: cmii-uav-gateway.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-gateway - servicePort: 8080 - - host: cmii-uav-gis-server.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-gis-server - servicePort: 8080 - - host: cmii-uav-grid-datasource.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-grid-datasource - servicePort: 8080 - - host: cmii-uav-grid-engine.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-grid-engine - servicePort: 8080 - - host: cmii-uav-grid-manage.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-grid-manage - servicePort: 8080 - - host: cmii-uav-industrial-portfolio.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-industrial-portfolio - servicePort: 8080 - - host: cmii-uav-integration.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-integration - servicePort: 8080 - - host: cmii-uav-kpi-monitor.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-kpi-monitor - servicePort: 8080 - - host: cmii-uav-logger.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-logger - servicePort: 8080 - - host: cmii-uav-material-warehouse.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-material-warehouse - servicePort: 8080 - - host: cmii-uav-mission.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-mission - servicePort: 8080 - - host: cmii-uav-mqtthandler.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-mqtthandler - servicePort: 8080 - - host: cmii-uav-multilink.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-multilink - servicePort: 8080 - - host: cmii-uav-notice.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-notice - servicePort: 8080 - - host: cmii-uav-oauth.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-oauth - servicePort: 8080 - - host: cmii-uav-process.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-process - servicePort: 8080 - - host: cmii-uav-sense-adapter.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-sense-adapter - servicePort: 8080 - - host: cmii-uav-surveillance.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-surveillance - servicePort: 8080 - - host: cmii-uav-threedsimulation.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-threedsimulation - servicePort: 8080 - - host: cmii-uav-tower.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-tower - servicePort: 8080 - - host: cmii-uav-user.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-user - servicePort: 8080 - - host: cmii-uav-waypoint.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-waypoint - servicePort: 8080 ---- -apiVersion: networking.k8s.io/v1beta1 -kind: Ingress -metadata: - name: all-gateways-ingress - namespace: uavcloud-devflight - labels: - type: api-gateway - octopus.control: all-ingress-config-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 - annotations: - kubernetes.io/ingress.class: "nginx" - nginx.ingress.kubernetes.io/enable-cors: "true" - nginx.ingress.kubernetes.io/rewrite-target: /$1 - nginx.ingress.kubernetes.io/configuration-snippet: | - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "Upgrade"; -spec: - rules: - - host: fake-domain.uavcloud-devflight.io - http: - paths: - - path: /devflight/oms/api/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-admin-gateway - servicePort: 8080 - - path: /devflight/open/api/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-open-gateway - servicePort: 8080 - - path: /devflight/api/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-gateway - servicePort: 8080 ---- -apiVersion: networking.k8s.io/v1beta1 -kind: Ingress -metadata: - name: frontend-applications-ingress - namespace: uavcloud-devflight - labels: - type: frontend - octopus.control: all-ingress-config-wdd - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 - annotations: - kubernetes.io/ingress.class: "nginx" - nginx.ingress.kubernetes.io/enable-cors: "true" - nginx.ingress.kubernetes.io/rewrite-target: /$1 - nginx.ingress.kubernetes.io/configuration-snippet: | - rewrite ^(/supervision)$ $1/ redirect; - rewrite ^(/supervisionh5)$ $1/ redirect; - rewrite ^(/pangu)$ $1/ redirect; - rewrite ^(/ai-brain)$ $1/ redirect; - rewrite ^(/armypeople)$ $1/ redirect; - rewrite ^(/base)$ $1/ redirect; - rewrite ^(/cmsportal)$ $1/ redirect; - rewrite ^(/detection)$ $1/ redirect; - rewrite ^(/emergency)$ $1/ redirect; - rewrite ^(/hljtt)$ $1/ redirect; - rewrite ^(/jiangsuwenlv)$ $1/ redirect; - rewrite ^(/logistics)$ $1/ redirect; - rewrite ^(/media)$ $1/ redirect; - rewrite ^(/multiterminal)$ $1/ redirect; - rewrite ^(/mws)$ $1/ redirect; - rewrite ^(/oms)$ $1/ redirect; - rewrite ^(/open)$ $1/ redirect; - rewrite ^(/qingdao)$ $1/ redirect; - rewrite ^(/qinghaitourism)$ $1/ redirect; - rewrite ^(/security)$ $1/ redirect; - rewrite ^(/securityh5)$ $1/ redirect; - rewrite ^(/seniclive)$ $1/ redirect; - rewrite ^(/share)$ $1/ redirect; - rewrite ^(/splice)$ $1/ redirect; - rewrite ^(/threedsimulation)$ $1/ redirect; - rewrite ^(/traffic)$ $1/ redirect; - rewrite ^(/uas)$ $1/ redirect; - rewrite ^(/uasms)$ $1/ redirect; - rewrite ^(/visualization)$ $1/ redirect; -spec: - rules: - - host: fake-domain.uavcloud-devflight.io - http: - paths: - - path: /devflight/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform - servicePort: 9528 - - path: /devflight/supervision/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-suav-platform-supervision - servicePort: 9528 - - path: /devflight/supervisionh5/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-suav-platform-supervisionh5 - servicePort: 9528 - - path: /devflight/pangu/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform - servicePort: 9528 - - path: /devflight/ai-brain/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-ai-brain - servicePort: 9528 - - path: /devflight/armypeople/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-armypeople - servicePort: 9528 - - path: /devflight/base/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-base - servicePort: 9528 - - path: /devflight/cmsportal/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-cms-portal - servicePort: 9528 - - path: /devflight/detection/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-detection - servicePort: 9528 - - path: /devflight/emergency/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-emergency-rescue - servicePort: 9528 - - path: /devflight/hljtt/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-hljtt - servicePort: 9528 - - path: /devflight/jiangsuwenlv/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-jiangsuwenlv - servicePort: 9528 - - path: /devflight/logistics/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-logistics - servicePort: 9528 - - path: /devflight/media/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-media - servicePort: 9528 - - path: /devflight/multiterminal/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-multiterminal - servicePort: 9528 - - path: /devflight/mws/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-mws - servicePort: 9528 - - path: /devflight/oms/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-oms - servicePort: 9528 - - path: /devflight/open/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-open - servicePort: 9528 - - path: /devflight/qingdao/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-qingdao - servicePort: 9528 - - path: /devflight/qinghaitourism/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-qinghaitourism - servicePort: 9528 - - path: /devflight/security/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-security - servicePort: 9528 - - path: /devflight/securityh5/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-securityh5 - servicePort: 9528 - - path: /devflight/seniclive/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-seniclive - servicePort: 9528 - - path: /devflight/share/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-share - servicePort: 9528 - - path: /devflight/splice/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-splice - servicePort: 9528 - - path: /devflight/threedsimulation/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-threedsimulation - servicePort: 9528 - - path: /devflight/traffic/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-traffic - servicePort: 9528 - - path: /devflight/uas/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-uas - servicePort: 9528 - - path: /devflight/uasms/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-uasms - servicePort: 9528 - - path: /devflight/visualization/?(.*) - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-platform-visualization - servicePort: 9528 ---- -apiVersion: networking.k8s.io/v1beta1 -kind: Ingress -metadata: - name: backend-applications-ingress - namespace: uavcloud-devflight - labels: - type: backend - octopus.control: all-ingress-config-wdd - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 - annotations: - kubernetes.io/ingress.class: "nginx" - nginx.ingress.kubernetes.io/enable-cors: "true" -spec: - rules: - - host: cmii-admin-data.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-admin-data - servicePort: 8080 - - host: cmii-admin-gateway.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-admin-gateway - servicePort: 8080 - - host: cmii-admin-user.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-admin-user - servicePort: 8080 - - host: cmii-app-release.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-app-release - servicePort: 8080 - - host: cmii-open-gateway.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-open-gateway - servicePort: 8080 - - host: cmii-suav-supervision.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-suav-supervision - servicePort: 8080 - - host: cmii-uas-gateway.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uas-gateway - servicePort: 8080 - - host: cmii-uas-lifecycle.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uas-lifecycle - servicePort: 8080 - - host: cmii-uav-airspace.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-airspace - servicePort: 8080 - - host: cmii-uav-alarm.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-alarm - servicePort: 8080 - - host: cmii-uav-autowaypoint.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-autowaypoint - servicePort: 8080 - - host: cmii-uav-brain.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-brain - servicePort: 8080 - - host: cmii-uav-bridge.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-bridge - servicePort: 8080 - - host: cmii-uav-cloud-live.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-cloud-live - servicePort: 8080 - - host: cmii-uav-clusters.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-clusters - servicePort: 8080 - - host: cmii-uav-cms.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-cms - servicePort: 8080 - - host: cmii-uav-data-post-process.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-data-post-process - servicePort: 8080 - - host: cmii-uav-depotautoreturn.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-depotautoreturn - servicePort: 8080 - - host: cmii-uav-developer.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-developer - servicePort: 8080 - - host: cmii-uav-device.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-device - servicePort: 8080 - - host: cmii-uav-emergency.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-emergency - servicePort: 8080 - - host: cmii-uav-gateway.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-gateway - servicePort: 8080 - - host: cmii-uav-gis-server.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-gis-server - servicePort: 8080 - - host: cmii-uav-grid-datasource.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-grid-datasource - servicePort: 8080 - - host: cmii-uav-grid-engine.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-grid-engine - servicePort: 8080 - - host: cmii-uav-grid-manage.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-grid-manage - servicePort: 8080 - - host: cmii-uav-industrial-portfolio.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-industrial-portfolio - servicePort: 8080 - - host: cmii-uav-integration.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-integration - servicePort: 8080 - - host: cmii-uav-kpi-monitor.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-kpi-monitor - servicePort: 8080 - - host: cmii-uav-logger.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-logger - servicePort: 8080 - - host: cmii-uav-material-warehouse.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-material-warehouse - servicePort: 8080 - - host: cmii-uav-mission.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-mission - servicePort: 8080 - - host: cmii-uav-mqtthandler.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-mqtthandler - servicePort: 8080 - - host: cmii-uav-multilink.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-multilink - servicePort: 8080 - - host: cmii-uav-notice.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-notice - servicePort: 8080 - - host: cmii-uav-oauth.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-oauth - servicePort: 8080 - - host: cmii-uav-process.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-process - servicePort: 8080 - - host: cmii-uav-sense-adapter.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-sense-adapter - servicePort: 8080 - - host: cmii-uav-surveillance.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-surveillance - servicePort: 8080 - - host: cmii-uav-threedsimulation.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-threedsimulation - servicePort: 8080 - - host: cmii-uav-tower.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-tower - servicePort: 8080 - - host: cmii-uav-user.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-user - servicePort: 8080 - - host: cmii-uav-waypoint.uavcloud-devflight.io - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - serviceName: cmii-uav-waypoint - servicePort: 8080 ---- -apiVersion: networking.k8s.io/v1beta1 -kind: Ingress -metadata: - name: all-gateways-ingress - namespace: uavcloud-devflight - labels: - type: api-gateway - octopus.control: all-ingress-config-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/enable-cors: "true" diff --git a/agent-common/real_project/uavcloud-devflight/k8s-mongo.yaml b/agent-common/real_project/uavcloud-devflight/k8s-mongo.yaml deleted file mode 100644 index cc08b0c..0000000 --- a/agent-common/real_project/uavcloud-devflight/k8s-mongo.yaml +++ /dev/null @@ -1,77 +0,0 @@ ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-mongo - namespace: uavcloud-devflight - labels: - cmii.app: helm-mongo - cmii.type: middleware - helm.sh/chart: mongo-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.app: helm-mongo - cmii.type: middleware - ports: - - port: 27017 - name: server-27017 - targetPort: 27017 ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: helm-mongo - namespace: uavcloud-devflight - labels: - cmii.app: helm-mongo - cmii.type: middleware - helm.sh/chart: mongo-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 -spec: - serviceName: helm-mongo - replicas: 1 - selector: - matchLabels: - cmii.app: helm-mongo - cmii.type: middleware - template: - metadata: - labels: - cmii.app: helm-mongo - cmii.type: middleware - helm.sh/chart: mongo-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 - annotations: - pod.alpha.kubernetes.io/initialized: "true" - spec: - imagePullSecrets: - - name: harborsecret - affinity: { } - containers: - - name: helm-mongo - image: harbor.cdcyy.com.cn/cmii/mongo:5.0 - resources: { } - ports: - - containerPort: 27017 - name: mongo27017 - protocol: TCP - env: - - name: MONGO_INITDB_ROOT_USERNAME - value: cmlc - - name: MONGO_INITDB_ROOT_PASSWORD - value: 7(#dD3zcz8 - volumeMounts: - - name: mongo-data - mountPath: /data/db - readOnly: false - subPath: default/helm-mongo/data/db - volumes: - - name: mongo-data - persistentVolumeClaim: - claimName: helm-mongo ---- diff --git a/agent-common/real_project/uavcloud-devflight/k8s-mysql.yaml b/agent-common/real_project/uavcloud-devflight/k8s-mysql.yaml deleted file mode 100644 index 4e446d5..0000000 --- a/agent-common/real_project/uavcloud-devflight/k8s-mysql.yaml +++ /dev/null @@ -1,423 +0,0 @@ ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: helm-mysql - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - annotations: { } -secrets: - - name: helm-mysql ---- -apiVersion: v1 -kind: Secret -metadata: - name: helm-mysql - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus -type: Opaque -data: - mysql-root-password: "R3d1YmM2Q3hSTQ==" - mysql-password: "S0F0cm5PckFKNw==" ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-mysql - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/component: primary -data: - my.cnf: |- - - [mysqld] - port=3306 - basedir=/opt/bitnami/mysql - datadir=/bitnami/mysql/data - pid-file=/opt/bitnami/mysql/tmp/mysqld.pid - socket=/opt/bitnami/mysql/tmp/mysql.sock - log-error=/bitnami/mysql/data/error.log - general_log_file = /bitnami/mysql/data/general.log - slow_query_log_file = /bitnami/mysql/data/slow.log - innodb_data_file_path = ibdata1:512M:autoextend - innodb_buffer_pool_size = 512M - innodb_buffer_pool_instances = 2 - innodb_log_file_size = 512M - innodb_log_files_in_group = 4 - innodb_log_files_in_group = 4 - log-bin = /bitnami/mysql/data/mysql-bin - max_binlog_size=1G - transaction_isolation = REPEATABLE-READ - default_storage_engine = innodb - character-set-server = utf8mb4 - collation-server=utf8mb4_bin - binlog_format = ROW - binlog_rows_query_log_events=on - binlog_cache_size=4M - binlog_expire_logs_seconds = 1296000 - max_binlog_cache_size=2G - gtid_mode = on - enforce_gtid_consistency = 1 - sync_binlog = 1 - innodb_flush_log_at_trx_commit = 1 - innodb_flush_method = O_DIRECT - log_slave_updates=1 - relay_log_recovery = 1 - relay-log-purge = 1 - default_time_zone = '+08:00' - lower_case_table_names=1 - log_bin_trust_function_creators=1 - group_concat_max_len=67108864 - innodb_io_capacity = 4000 - innodb_io_capacity_max = 8000 - innodb_flush_sync = 0 - innodb_flush_neighbors = 0 - innodb_write_io_threads = 8 - innodb_read_io_threads = 8 - innodb_purge_threads = 4 - innodb_page_cleaners = 4 - innodb_open_files = 65535 - innodb_max_dirty_pages_pct = 50 - innodb_lru_scan_depth = 4000 - innodb_checksum_algorithm = crc32 - innodb_lock_wait_timeout = 10 - innodb_rollback_on_timeout = 1 - innodb_print_all_deadlocks = 1 - innodb_file_per_table = 1 - innodb_online_alter_log_max_size = 4G - innodb_stats_on_metadata = 0 - innodb_thread_concurrency = 0 - innodb_sync_spin_loops = 100 - innodb_spin_wait_delay = 30 - lock_wait_timeout = 3600 - slow_query_log = 1 - long_query_time = 10 - log_queries_not_using_indexes =1 - log_throttle_queries_not_using_indexes = 60 - min_examined_row_limit = 100 - log_slow_admin_statements = 1 - log_slow_slave_statements = 1 - default_authentication_plugin=mysql_native_password - skip-name-resolve=1 - explicit_defaults_for_timestamp=1 - plugin_dir=/opt/bitnami/mysql/plugin - max_allowed_packet=128M - max_connections = 2000 - max_connect_errors = 1000000 - table_definition_cache=2000 - table_open_cache_instances=64 - tablespace_definition_cache=1024 - thread_cache_size=256 - interactive_timeout = 600 - wait_timeout = 600 - tmpdir=/opt/bitnami/mysql/tmp - max_allowed_packet=32M - bind-address=0.0.0.0 - performance_schema = 1 - performance_schema_instrument = '%memory%=on' - performance_schema_instrument = '%lock%=on' - innodb_monitor_enable=ALL - - [mysql] - no-auto-rehash - - [mysqldump] - quick - max_allowed_packet = 32M - - [client] - port=3306 - socket=/opt/bitnami/mysql/tmp/mysql.sock - default-character-set=UTF8 - plugin_dir=/opt/bitnami/mysql/plugin - - [manager] - port=3306 - socket=/opt/bitnami/mysql/tmp/mysql.sock - pid-file=/opt/bitnami/mysql/tmp/mysqld.pid ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-mysql-init-scripts - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/component: primary -data: - create_users_grants_core.sql: |- - create - user zyly@'%' identified by 'Cmii@451315'; - grant select on *.* to zyly@'%'; - create - user zyly_qc@'%' identified by 'Uh)E_owCyb16'; - grant all - on *.* to zyly_qc@'%'; - create - user k8s_admin@'%' identified by 'VFJncwy58^Zm'; - grant all - on *.* to k8s_admin@'%'; - create - user audit_dba@'%' identified by 'PjCzqiBmJaTpgkoYXynH'; - grant all - on *.* to audit_dba@'%'; - create - user db_backup@'%' identified by 'RU5Pu(4FGdT9'; - GRANT - SELECT, RELOAD, PROCESS, LOCK TABLES, REPLICATION CLIENT, EVENT - on *.* to db_backup@'%'; - create - user monitor@'%' identified by 'PL3#nGtrWbf-'; - grant REPLICATION - CLIENT on *.* to monitor@'%'; - flush - privileges; ---- -kind: Service -apiVersion: v1 -metadata: - name: cmii-mysql - namespace: uavcloud-devflight - labels: - app.kubernetes.io/component: primary - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-devflight - cmii.app: mysql - cmii.type: middleware - octopus.control: mysql-db-wdd -spec: - ports: - - name: mysql - protocol: TCP - port: 13306 - targetPort: mysql - selector: - app.kubernetes.io/component: primary - app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-devflight - cmii.app: mysql - cmii.type: middleware - type: ClusterIP ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-mysql-headless - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - cmii.type: middleware - cmii.app: mysql - app.kubernetes.io/component: primary - annotations: { } -spec: - type: ClusterIP - clusterIP: None - publishNotReadyAddresses: true - ports: - - name: mysql - port: 3306 - targetPort: mysql - selector: - app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-devflight - cmii.type: middleware - cmii.app: mysql - app.kubernetes.io/component: primary ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-mysql - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - cmii.type: middleware - cmii.app: mysql - app.kubernetes.io/component: primary - annotations: { } -spec: - type: NodePort - ports: - - name: mysql - port: 3306 - protocol: TCP - targetPort: mysql - nodePort: 33307 - selector: - app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-devflight - cmii.type: middleware - cmii.app: mysql - app.kubernetes.io/component: primary ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: helm-mysql - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - cmii.type: middleware - cmii.app: mysql - app.kubernetes.io/component: primary -spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-devflight - cmii.type: middleware - cmii.app: mysql - app.kubernetes.io/component: primary - serviceName: helm-mysql - updateStrategy: - type: RollingUpdate - template: - metadata: - annotations: - checksum/configuration: 6b60fa0f3a846a6ada8effdc4f823cf8003d42a8c8f630fe8b1b66d3454082dd - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - cmii.type: middleware - cmii.app: mysql - app.kubernetes.io/component: primary - spec: - imagePullSecrets: - - name: harborsecret - serviceAccountName: helm-mysql - affinity: { } - nodeSelector: - mysql-deploy: "true" - securityContext: - fsGroup: 1001 - initContainers: - - name: change-volume-permissions - image: harbor.cdcyy.com.cn/cmii/bitnami-shell:11-debian-11-r136 - imagePullPolicy: "Always" - command: - - /bin/bash - - -ec - - | - chown -R 1001:1001 /bitnami/mysql - securityContext: - runAsUser: 0 - volumeMounts: - - name: mysql-data - mountPath: /bitnami/mysql - containers: - - name: mysql - image: harbor.cdcyy.com.cn/cmii/mysql:8.1.0-debian-11-r42 - imagePullPolicy: "IfNotPresent" - securityContext: - runAsUser: 1001 - env: - - name: BITNAMI_DEBUG - value: "true" - - name: MYSQL_ROOT_PASSWORD - valueFrom: - secretKeyRef: - name: helm-mysql - key: mysql-root-password - - name: MYSQL_DATABASE - value: "cmii" - ports: - - name: mysql - containerPort: 3306 - livenessProbe: - failureThreshold: 5 - initialDelaySeconds: 120 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 3 - exec: - command: - - /bin/bash - - -ec - - | - password_aux="${MYSQL_ROOT_PASSWORD:-}" - if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then - password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") - fi - mysqladmin status -uroot -p"${password_aux}" - readinessProbe: - failureThreshold: 5 - initialDelaySeconds: 30 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 3 - exec: - command: - - /bin/bash - - -ec - - | - password_aux="${MYSQL_ROOT_PASSWORD:-}" - if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then - password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") - fi - mysqladmin status -uroot -p"${password_aux}" - startupProbe: - failureThreshold: 60 - initialDelaySeconds: 120 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 1 - exec: - command: - - /bin/bash - - -ec - - | - password_aux="${MYSQL_ROOT_PASSWORD:-}" - if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then - password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") - fi - mysqladmin status -uroot -p"${password_aux}" - resources: - limits: { } - requests: { } - volumeMounts: - - name: mysql-data - mountPath: /bitnami/mysql - - name: custom-init-scripts - mountPath: /docker-entrypoint-initdb.d - - name: config - mountPath: /opt/bitnami/mysql/conf/my.cnf - subPath: my.cnf - volumes: - - name: config - configMap: - name: helm-mysql - - name: custom-init-scripts - configMap: - name: helm-mysql-init-scripts - - name: mysql-data - hostPath: - path: /var/lib/docker/mysql-pv/uavcloud-devflight/ diff --git a/agent-common/real_project/uavcloud-devflight/k8s-nacos.yaml b/agent-common/real_project/uavcloud-devflight/k8s-nacos.yaml deleted file mode 100644 index a9446f3..0000000 --- a/agent-common/real_project/uavcloud-devflight/k8s-nacos.yaml +++ /dev/null @@ -1,130 +0,0 @@ ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-nacos-cm - namespace: uavcloud-devflight - labels: - cmii.app: helm-nacos - cmii.type: middleware - octopus.control: nacos-wdd - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/version: 5.6.0 -data: - mysql.db.name: "cmii_nacos_config" - mysql.db.host: "helm-mysql" - mysql.port: "3306" - mysql.user: "k8s_admin" - mysql.password: "VFJncwy58^Zm" ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-nacos - namespace: uavcloud-devflight - labels: - cmii.app: helm-nacos - cmii.type: middleware - octopus.control: nacos-wdd - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/version: 5.6.0 -spec: - type: NodePort - selector: - cmii.app: helm-nacos - cmii.type: middleware - ports: - - port: 8848 - name: server - targetPort: 8848 - nodePort: 33849 - - port: 9848 - name: server12 - targetPort: 9848 - - port: 9849 - name: server23 - targetPort: 9849 ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: helm-nacos - namespace: uavcloud-devflight - labels: - cmii.app: helm-nacos - cmii.type: middleware - octopus.control: nacos-wdd - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/version: 5.6.0 -spec: - serviceName: helm-nacos - replicas: 1 - selector: - matchLabels: - cmii.app: helm-nacos - cmii.type: middleware - template: - metadata: - labels: - cmii.app: helm-nacos - cmii.type: middleware - octopus.control: nacos-wdd - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/version: 5.6.0 - annotations: - pod.alpha.kubernetes.io/initialized: "true" - spec: - imagePullSecrets: - - name: harborsecret - affinity: { } - containers: - - name: nacos-server - image: harbor.cdcyy.com.cn/cmii/nacos-server:v2.1.2 - ports: - - containerPort: 8848 - name: dashboard - - containerPort: 9848 - name: tcp-9848 - - containerPort: 9849 - name: tcp-9849 - env: - - name: NACOS_AUTH_ENABLE - value: "false" - - name: NACOS_REPLICAS - value: "1" - - name: MYSQL_SERVICE_DB_NAME - valueFrom: - configMapKeyRef: - name: helm-nacos-cm - key: mysql.db.name - - name: MYSQL_SERVICE_PORT - valueFrom: - configMapKeyRef: - name: helm-nacos-cm - key: mysql.port - - name: MYSQL_SERVICE_USER - valueFrom: - configMapKeyRef: - name: helm-nacos-cm - key: mysql.user - - name: MYSQL_SERVICE_PASSWORD - valueFrom: - configMapKeyRef: - name: helm-nacos-cm - key: mysql.password - - name: MYSQL_SERVICE_HOST - valueFrom: - configMapKeyRef: - name: helm-nacos-cm - key: mysql.db.host - - name: NACOS_SERVER_PORT - value: "8848" - - name: NACOS_APPLICATION_PORT - value: "8848" - - name: PREFER_HOST_MODE - value: "hostname" - - name: MODE - value: standalone - - name: SPRING_DATASOURCE_PLATFORM - value: mysql ---- diff --git a/agent-common/real_project/uavcloud-devflight/k8s-pvc.yaml b/agent-common/real_project/uavcloud-devflight/k8s-pvc.yaml deleted file mode 100644 index ebce971..0000000 --- a/agent-common/real_project/uavcloud-devflight/k8s-pvc.yaml +++ /dev/null @@ -1,76 +0,0 @@ ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: nfs-backend-log-pvc - namespace: uavcloud-devflight - labels: - cmii.type: middleware-base - cmii.app: nfs-backend-log-pvc - helm.sh/chart: all-persistence-volume-claims-1.1.0 - app.kubernetes.io/version: 5.6.0 -spec: - storageClassName: nfs-prod-distribute - accessModes: - - ReadWriteMany - volumeMode: Filesystem - resources: - requests: - storage: 100Gi ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: helm-emqxs - namespace: uavcloud-devflight - labels: - cmii.type: middleware-base - cmii.app: helm-emqxs - helm.sh/chart: all-persistence-volume-claims-1.1.0 - app.kubernetes.io/version: 5.6.0 -spec: - storageClassName: nfs-prod-distribute - accessModes: - - ReadWriteMany - volumeMode: Filesystem - resources: - requests: - storage: 20Gi ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: helm-mongo - namespace: uavcloud-devflight - labels: - cmii.type: middleware-base - cmii.app: helm-mongo - helm.sh/chart: all-persistence-volume-claims-1.1.0 - app.kubernetes.io/version: 5.6.0 -spec: - storageClassName: nfs-prod-distribute - accessModes: - - ReadWriteMany - volumeMode: Filesystem - resources: - requests: - storage: 30Gi ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: helm-rabbitmq - namespace: uavcloud-devflight - labels: - cmii.type: middleware-base - cmii.app: helm-rabbitmq - helm.sh/chart: all-persistence-volume-claims-1.1.0 - app.kubernetes.io/version: 5.6.0 -spec: - storageClassName: nfs-prod-distribute - accessModes: - - ReadWriteMany - volumeMode: Filesystem - resources: - requests: - storage: 20Gi diff --git a/agent-common/real_project/uavcloud-devflight/k8s-rabbitmq.yaml b/agent-common/real_project/uavcloud-devflight/k8s-rabbitmq.yaml deleted file mode 100644 index a933eb1..0000000 --- a/agent-common/real_project/uavcloud-devflight/k8s-rabbitmq.yaml +++ /dev/null @@ -1,328 +0,0 @@ ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: helm-rabbitmq - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -automountServiceAccountToken: true -secrets: - - name: helm-rabbitmq ---- -apiVersion: v1 -kind: Secret -metadata: - name: helm-rabbitmq - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -type: Opaque -data: - rabbitmq-password: "N3YmNyN3MWVmKVQt" - rabbitmq-erlang-cookie: "emFBRmt1ZU1xMkJieXZvdHRYbWpoWk52UThuVXFzcTU=" ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-rabbitmq-config - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -data: - rabbitmq.conf: |- - ## Username and password - ## - default_user = admin - default_pass = 7v&7#w1ef)T- - ## Clustering - ## - cluster_formation.peer_discovery_backend = rabbit_peer_discovery_k8s - cluster_formation.k8s.host = kubernetes.default.svc.cluster.local - cluster_formation.node_cleanup.interval = 10 - cluster_formation.node_cleanup.only_log_warning = true - cluster_partition_handling = autoheal - # queue master locator - queue_master_locator = min-masters - # enable guest user - loopback_users.guest = false - #default_vhost = default-vhost - #disk_free_limit.absolute = 50MB - #load_definitions = /app/load_definition.json ---- -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: helm-rabbitmq-endpoint-reader - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -rules: - - apiGroups: [ "" ] - resources: [ "endpoints" ] - verbs: [ "get" ] - - apiGroups: [ "" ] - resources: [ "events" ] - verbs: [ "create" ] ---- -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: helm-rabbitmq-endpoint-reader - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -subjects: - - kind: ServiceAccount - name: helm-rabbitmq -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: helm-rabbitmq-endpoint-reader ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-rabbitmq-headless - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -spec: - clusterIP: None - ports: - - name: epmd - port: 4369 - targetPort: epmd - - name: amqp - port: 5672 - targetPort: amqp - - name: dist - port: 25672 - targetPort: dist - - name: dashboard - port: 15672 - targetPort: stats - selector: - app.kubernetes.io/name: helm-rabbitmq - app.kubernetes.io/release: uavcloud-devflight - publishNotReadyAddresses: true ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-rabbitmq - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -spec: - type: NodePort - ports: - - name: amqp - port: 5672 - targetPort: amqp - nodePort: 35673 - - name: dashboard - port: 15672 - targetPort: dashboard - nodePort: 36676 - selector: - app.kubernetes.io/name: helm-rabbitmq - app.kubernetes.io/release: uavcloud-devflight ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: helm-rabbitmq - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -spec: - serviceName: helm-rabbitmq-headless - podManagementPolicy: OrderedReady - replicas: 1 - updateStrategy: - type: RollingUpdate - selector: - matchLabels: - app.kubernetes.io/name: helm-rabbitmq - app.kubernetes.io/release: uavcloud-devflight - template: - metadata: - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq - annotations: - checksum/config: d6c2caa9572f64a06d9f7daa34c664a186b4778cd1697ef8e59663152fc628f1 - checksum/secret: d764e7b3d999e7324d1afdfec6140092a612f04b6e0306818675815cec2f454f - spec: - imagePullSecrets: - - name: harborsecret - serviceAccountName: helm-rabbitmq - affinity: { } - securityContext: - fsGroup: 5001 - runAsUser: 5001 - terminationGracePeriodSeconds: 120 - initContainers: - - name: volume-permissions - image: harbor.cdcyy.com.cn/cmii/bitnami-shell:11-debian-11-r136 - imagePullPolicy: "Always" - command: - - /bin/bash - args: - - -ec - - | - mkdir -p "/bitnami/rabbitmq/mnesia" - chown -R "5001:5001" "/bitnami/rabbitmq/mnesia" - securityContext: - runAsUser: 0 - resources: - limits: { } - requests: { } - volumeMounts: - - name: data - mountPath: /bitnami/rabbitmq/mnesia - containers: - - name: rabbitmq - image: harbor.cdcyy.com.cn/cmii/rabbitmq:3.9.12-debian-10-r3 - imagePullPolicy: "Always" - env: - - name: BITNAMI_DEBUG - value: "false" - - name: MY_POD_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: MY_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: MY_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: K8S_SERVICE_NAME - value: "helm-rabbitmq-headless" - - name: K8S_ADDRESS_TYPE - value: hostname - - name: RABBITMQ_FORCE_BOOT - value: "no" - - name: RABBITMQ_NODE_NAME - value: "rabbit@$(MY_POD_NAME).$(K8S_SERVICE_NAME).$(MY_POD_NAMESPACE).svc.cluster.local" - - name: K8S_HOSTNAME_SUFFIX - value: ".$(K8S_SERVICE_NAME).$(MY_POD_NAMESPACE).svc.cluster.local" - - name: RABBITMQ_MNESIA_DIR - value: "/bitnami/rabbitmq/mnesia/$(RABBITMQ_NODE_NAME)" - - name: RABBITMQ_LDAP_ENABLE - value: "no" - - name: RABBITMQ_LOGS - value: "-" - - name: RABBITMQ_ULIMIT_NOFILES - value: "65536" - - name: RABBITMQ_USE_LONGNAME - value: "true" - - name: RABBITMQ_ERL_COOKIE - valueFrom: - secretKeyRef: - name: helm-rabbitmq - key: rabbitmq-erlang-cookie - - name: RABBITMQ_LOAD_DEFINITIONS - value: "no" - - name: RABBITMQ_SECURE_PASSWORD - value: "yes" - - name: RABBITMQ_USERNAME - value: "admin" - - name: RABBITMQ_PASSWORD - valueFrom: - secretKeyRef: - name: helm-rabbitmq - key: rabbitmq-password - - name: RABBITMQ_PLUGINS - value: "rabbitmq_management, rabbitmq_peer_discovery_k8s, rabbitmq_shovel, rabbitmq_shovel_management, rabbitmq_auth_backend_ldap" - ports: - - name: amqp - containerPort: 5672 - - name: dist - containerPort: 25672 - - name: dashboard - containerPort: 15672 - - name: epmd - containerPort: 4369 - livenessProbe: - exec: - command: - - /bin/bash - - -ec - - rabbitmq-diagnostics -q ping - initialDelaySeconds: 120 - periodSeconds: 30 - timeoutSeconds: 20 - successThreshold: 1 - failureThreshold: 6 - readinessProbe: - exec: - command: - - /bin/bash - - -ec - - rabbitmq-diagnostics -q check_running && rabbitmq-diagnostics -q check_local_alarms - initialDelaySeconds: 10 - periodSeconds: 30 - timeoutSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - lifecycle: - preStop: - exec: - command: - - /bin/bash - - -ec - - | - if [[ -f /opt/bitnami/scripts/rabbitmq/nodeshutdown.sh ]]; then - /opt/bitnami/scripts/rabbitmq/nodeshutdown.sh -t "120" -d "false" - else - rabbitmqctl stop_app - fi - resources: - limits: { } - requests: { } - volumeMounts: - - name: configuration - mountPath: /bitnami/rabbitmq/conf - - name: data - mountPath: /bitnami/rabbitmq/mnesia - volumes: - - name: configuration - configMap: - name: helm-rabbitmq-config - items: - - key: rabbitmq.conf - path: rabbitmq.conf - - name: data - persistentVolumeClaim: - claimName: helm-rabbitmq diff --git a/agent-common/real_project/uavcloud-devflight/k8s-redis.yaml b/agent-common/real_project/uavcloud-devflight/k8s-redis.yaml deleted file mode 100644 index 92ce01a..0000000 --- a/agent-common/real_project/uavcloud-devflight/k8s-redis.yaml +++ /dev/null @@ -1,585 +0,0 @@ ---- -apiVersion: v1 -kind: ServiceAccount -automountServiceAccountToken: true -metadata: - name: helm-redis - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus ---- -apiVersion: v1 -kind: Secret -metadata: - name: helm-redis - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus -type: Opaque -data: - redis-password: "TWNhY2hlQDQ1MjI=" ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-redis-configuration - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus -data: - redis.conf: |- - # User-supplied common configuration: - # Enable AOF https://redis.io/topics/persistence#append-only-file - appendonly yes - # Disable RDB persistence, AOF persistence already enabled. - save "" - # End of common configuration - master.conf: |- - dir /data - # User-supplied master configuration: - rename-command FLUSHDB "" - rename-command FLUSHALL "" - # End of master configuration - replica.conf: |- - dir /data - slave-read-only yes - # User-supplied replica configuration: - rename-command FLUSHDB "" - rename-command FLUSHALL "" - # End of replica configuration ---- -# Source: outside-deploy/charts/redis-db/templates/health-configmap.yaml -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-redis-health - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus -data: - ping_readiness_local.sh: |- - #!/bin/bash - - [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" - [[ -n "$REDIS_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_PASSWORD" - response=$( - timeout -s 3 $1 \ - redis-cli \ - -h localhost \ - -p $REDIS_PORT \ - ping - ) - if [ "$response" != "PONG" ]; then - echo "$response" - exit 1 - fi - ping_liveness_local.sh: |- - #!/bin/bash - - [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" - [[ -n "$REDIS_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_PASSWORD" - response=$( - timeout -s 3 $1 \ - redis-cli \ - -h localhost \ - -p $REDIS_PORT \ - ping - ) - if [ "$response" != "PONG" ] && [ "$response" != "LOADING Redis is loading the dataset in memory" ]; then - echo "$response" - exit 1 - fi - ping_readiness_master.sh: |- - #!/bin/bash - - [[ -f $REDIS_MASTER_PASSWORD_FILE ]] && export REDIS_MASTER_PASSWORD="$(< "${REDIS_MASTER_PASSWORD_FILE}")" - [[ -n "$REDIS_MASTER_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_MASTER_PASSWORD" - response=$( - timeout -s 3 $1 \ - redis-cli \ - -h $REDIS_MASTER_HOST \ - -p $REDIS_MASTER_PORT_NUMBER \ - ping - ) - if [ "$response" != "PONG" ]; then - echo "$response" - exit 1 - fi - ping_liveness_master.sh: |- - #!/bin/bash - - [[ -f $REDIS_MASTER_PASSWORD_FILE ]] && export REDIS_MASTER_PASSWORD="$(< "${REDIS_MASTER_PASSWORD_FILE}")" - [[ -n "$REDIS_MASTER_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_MASTER_PASSWORD" - response=$( - timeout -s 3 $1 \ - redis-cli \ - -h $REDIS_MASTER_HOST \ - -p $REDIS_MASTER_PORT_NUMBER \ - ping - ) - if [ "$response" != "PONG" ] && [ "$response" != "LOADING Redis is loading the dataset in memory" ]; then - echo "$response" - exit 1 - fi - ping_readiness_local_and_master.sh: |- - script_dir="$(dirname "$0")" - exit_status=0 - "$script_dir/ping_readiness_local.sh" $1 || exit_status=$? - "$script_dir/ping_readiness_master.sh" $1 || exit_status=$? - exit $exit_status - ping_liveness_local_and_master.sh: |- - script_dir="$(dirname "$0")" - exit_status=0 - "$script_dir/ping_liveness_local.sh" $1 || exit_status=$? - "$script_dir/ping_liveness_master.sh" $1 || exit_status=$? - exit $exit_status ---- -# Source: outside-deploy/charts/redis-db/templates/scripts-configmap.yaml -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-redis-scripts - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus -data: - start-master.sh: | - #!/bin/bash - - [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" - if [[ ! -f /opt/bitnami/redis/etc/master.conf ]];then - cp /opt/bitnami/redis/mounted-etc/master.conf /opt/bitnami/redis/etc/master.conf - fi - if [[ ! -f /opt/bitnami/redis/etc/redis.conf ]];then - cp /opt/bitnami/redis/mounted-etc/redis.conf /opt/bitnami/redis/etc/redis.conf - fi - ARGS=("--port" "${REDIS_PORT}") - ARGS+=("--requirepass" "${REDIS_PASSWORD}") - ARGS+=("--masterauth" "${REDIS_PASSWORD}") - ARGS+=("--include" "/opt/bitnami/redis/etc/redis.conf") - ARGS+=("--include" "/opt/bitnami/redis/etc/master.conf") - exec redis-server "${ARGS[@]}" - start-replica.sh: | - #!/bin/bash - - get_port() { - hostname="$1" - type="$2" - - port_var=$(echo "${hostname^^}_SERVICE_PORT_$type" | sed "s/-/_/g") - port=${!port_var} - - if [ -z "$port" ]; then - case $type in - "SENTINEL") - echo 26379 - ;; - "REDIS") - echo 6379 - ;; - esac - else - echo $port - fi - } - - get_full_hostname() { - hostname="$1" - echo "${hostname}.${HEADLESS_SERVICE}" - } - - REDISPORT=$(get_port "$HOSTNAME" "REDIS") - - [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" - [[ -f $REDIS_MASTER_PASSWORD_FILE ]] && export REDIS_MASTER_PASSWORD="$(< "${REDIS_MASTER_PASSWORD_FILE}")" - if [[ ! -f /opt/bitnami/redis/etc/replica.conf ]];then - cp /opt/bitnami/redis/mounted-etc/replica.conf /opt/bitnami/redis/etc/replica.conf - fi - if [[ ! -f /opt/bitnami/redis/etc/redis.conf ]];then - cp /opt/bitnami/redis/mounted-etc/redis.conf /opt/bitnami/redis/etc/redis.conf - fi - - echo "" >> /opt/bitnami/redis/etc/replica.conf - echo "replica-announce-port $REDISPORT" >> /opt/bitnami/redis/etc/replica.conf - echo "replica-announce-ip $(get_full_hostname "$HOSTNAME")" >> /opt/bitnami/redis/etc/replica.conf - ARGS=("--port" "${REDIS_PORT}") - ARGS+=("--slaveof" "${REDIS_MASTER_HOST}" "${REDIS_MASTER_PORT_NUMBER}") - ARGS+=("--requirepass" "${REDIS_PASSWORD}") - ARGS+=("--masterauth" "${REDIS_MASTER_PASSWORD}") - ARGS+=("--include" "/opt/bitnami/redis/etc/redis.conf") - ARGS+=("--include" "/opt/bitnami/redis/etc/replica.conf") - exec redis-server "${ARGS[@]}" ---- -# Source: outside-deploy/charts/redis-db/templates/headless-svc.yaml -apiVersion: v1 -kind: Service -metadata: - name: helm-redis-headless - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus -spec: - type: ClusterIP - clusterIP: None - ports: - - name: tcp-redis - port: 6379 - targetPort: redis - selector: - app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-devflight ---- -# Source: outside-deploy/charts/redis-db/templates/master/service.yaml -apiVersion: v1 -kind: Service -metadata: - name: helm-redis-master - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - cmii.type: middleware - cmii.app: redis - app.kubernetes.io/component: master -spec: - type: ClusterIP - - ports: - - name: tcp-redis - port: 6379 - targetPort: redis - nodePort: null - selector: - app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-devflight - cmii.type: middleware - cmii.app: redis - app.kubernetes.io/component: master ---- -# Source: outside-deploy/charts/redis-db/templates/replicas/service.yaml -apiVersion: v1 -kind: Service -metadata: - name: helm-redis-replicas - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/component: replica -spec: - type: ClusterIP - ports: - - name: tcp-redis - port: 6379 - targetPort: redis - nodePort: null - selector: - app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/component: replica ---- -# Source: outside-deploy/charts/redis-db/templates/master/statefulset.yaml -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: helm-redis-master - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - cmii.type: middleware - cmii.app: redis - app.kubernetes.io/component: master -spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-devflight - cmii.type: middleware - cmii.app: redis - app.kubernetes.io/component: master - serviceName: helm-redis-headless - updateStrategy: - rollingUpdate: { } - type: RollingUpdate - template: - metadata: - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - cmii.type: middleware - cmii.app: redis - app.kubernetes.io/component: master - annotations: - checksum/configmap: b64aa5db67e6e63811f3c1095b9fce34d83c86a471fccdda0e48eedb53a179b0 - checksum/health: 6e0a6330e5ac63e565ae92af1444527d72d8897f91266f333555b3d323570623 - checksum/scripts: b88df93710b7c42a76006e20218f05c6e500e6cc2affd4bb1985832f03166e98 - checksum/secret: 43f1b0e20f9cb2de936bd182bc3683b720fc3cf4f4e76cb23c06a52398a50e8d - spec: - affinity: { } - securityContext: - fsGroup: 1001 - serviceAccountName: helm-redis - imagePullSecrets: - - name: harborsecret - terminationGracePeriodSeconds: 30 - containers: - - name: redis - image: harbor.cdcyy.com.cn/cmii/redis:6.2.6-debian-10-r0 - imagePullPolicy: "Always" - securityContext: - runAsUser: 1001 - command: - - /bin/bash - args: - - -c - - /opt/bitnami/scripts/start-scripts/start-master.sh - env: - - name: BITNAMI_DEBUG - value: "false" - - name: REDIS_REPLICATION_MODE - value: master - - name: ALLOW_EMPTY_PASSWORD - value: "no" - - name: REDIS_PASSWORD - valueFrom: - secretKeyRef: - name: helm-redis - key: redis-password - - name: REDIS_TLS_ENABLED - value: "no" - - name: REDIS_PORT - value: "6379" - ports: - - name: redis - containerPort: 6379 - livenessProbe: - initialDelaySeconds: 20 - periodSeconds: 5 - # One second longer than command timeout should prevent generation of zombie processes. - timeoutSeconds: 6 - successThreshold: 1 - failureThreshold: 5 - exec: - command: - - sh - - -c - - /health/ping_liveness_local.sh 5 - readinessProbe: - initialDelaySeconds: 20 - periodSeconds: 5 - timeoutSeconds: 2 - successThreshold: 1 - failureThreshold: 5 - exec: - command: - - sh - - -c - - /health/ping_readiness_local.sh 1 - resources: - limits: - cpu: "2" - memory: 8Gi - requests: - cpu: "100m" - memory: 1Gi - volumeMounts: - - name: start-scripts - mountPath: /opt/bitnami/scripts/start-scripts - - name: health - mountPath: /health - - name: redis-data - mountPath: /data - subPath: - - name: config - mountPath: /opt/bitnami/redis/mounted-etc - - name: redis-tmp-conf - mountPath: /opt/bitnami/redis/etc/ - - name: tmp - mountPath: /tmp - volumes: - - name: start-scripts - configMap: - name: helm-redis-scripts - defaultMode: 0755 - - name: health - configMap: - name: helm-redis-health - defaultMode: 0755 - - name: config - configMap: - name: helm-redis-configuration - - name: redis-tmp-conf - emptyDir: { } - - name: tmp - emptyDir: { } - - name: redis-data - emptyDir: { } ---- -# Source: outside-deploy/charts/redis-db/templates/replicas/statefulset.yaml -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: helm-redis-replicas - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/component: replica -spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/component: replica - serviceName: helm-redis-headless - updateStrategy: - rollingUpdate: { } - type: RollingUpdate - template: - metadata: - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/component: replica - annotations: - checksum/configmap: b64aa5db67e6e63811f3c1095b9fce34d83c86a471fccdda0e48eedb53a179b0 - checksum/health: 6e0a6330e5ac63e565ae92af1444527d72d8897f91266f333555b3d323570623 - checksum/scripts: b88df93710b7c42a76006e20218f05c6e500e6cc2affd4bb1985832f03166e98 - checksum/secret: 43f1b0e20f9cb2de936bd182bc3683b720fc3cf4f4e76cb23c06a52398a50e8d - spec: - imagePullSecrets: - - name: harborsecret - securityContext: - fsGroup: 1001 - serviceAccountName: helm-redis - terminationGracePeriodSeconds: 30 - containers: - - name: redis - image: harbor.cdcyy.com.cn/cmii/redis:6.2.6-debian-10-r0 - imagePullPolicy: "Always" - securityContext: - runAsUser: 1001 - command: - - /bin/bash - args: - - -c - - /opt/bitnami/scripts/start-scripts/start-replica.sh - env: - - name: BITNAMI_DEBUG - value: "false" - - name: REDIS_REPLICATION_MODE - value: slave - - name: REDIS_MASTER_HOST - value: helm-redis-master-0.helm-redis-headless.uavcloud-devflight.svc.cluster.local - - name: REDIS_MASTER_PORT_NUMBER - value: "6379" - - name: ALLOW_EMPTY_PASSWORD - value: "no" - - name: REDIS_PASSWORD - valueFrom: - secretKeyRef: - name: helm-redis - key: redis-password - - name: REDIS_MASTER_PASSWORD - valueFrom: - secretKeyRef: - name: helm-redis - key: redis-password - - name: REDIS_TLS_ENABLED - value: "no" - - name: REDIS_PORT - value: "6379" - ports: - - name: redis - containerPort: 6379 - livenessProbe: - initialDelaySeconds: 20 - periodSeconds: 5 - timeoutSeconds: 6 - successThreshold: 1 - failureThreshold: 5 - exec: - command: - - sh - - -c - - /health/ping_liveness_local_and_master.sh 5 - readinessProbe: - initialDelaySeconds: 20 - periodSeconds: 5 - timeoutSeconds: 2 - successThreshold: 1 - failureThreshold: 5 - exec: - command: - - sh - - -c - - /health/ping_readiness_local_and_master.sh 1 - resources: - limits: - cpu: "2" - memory: 8Gi - requests: - cpu: "100m" - memory: 1Gi - volumeMounts: - - name: start-scripts - mountPath: /opt/bitnami/scripts/start-scripts - - name: health - mountPath: /health - - name: redis-data - mountPath: /data - subPath: - - name: config - mountPath: /opt/bitnami/redis/mounted-etc - - name: redis-tmp-conf - mountPath: /opt/bitnami/redis/etc - volumes: - - name: start-scripts - configMap: - name: helm-redis-scripts - defaultMode: 0755 - - name: health - configMap: - name: helm-redis-health - defaultMode: 0755 - - name: config - configMap: - name: helm-redis-configuration - - name: redis-tmp-conf - emptyDir: { } - - name: redis-data - emptyDir: { } - diff --git a/agent-common/real_project/uavcloud-devflight/k8s-srs.yaml b/agent-common/real_project/uavcloud-devflight/k8s-srs.yaml deleted file mode 100644 index c25d928..0000000 --- a/agent-common/real_project/uavcloud-devflight/k8s-srs.yaml +++ /dev/null @@ -1,496 +0,0 @@ ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: helm-live-srs-cm - namespace: uavcloud-devflight - labels: - cmii.app: live-srs - cmii.type: live - octopus.control: wdd - app.kubernetes.io/managed-by: octopus - helm.sh/chart: cmlc-live-srs-rtc-2.0.0 -data: - srs.rtc.conf: |- - listen 30936; - max_connections 4096; - srs_log_tank console; - srs_log_level info; - srs_log_file /home/srs.log; - daemon off; - http_api { - enabled on; - listen 1985; - crossdomain on; - } - stats { - network 0; - } - http_server { - enabled on; - listen 8080; - dir /home/hls; - } - srt_server { - enabled on; - listen 30556; - maxbw 1000000000; - connect_timeout 4000; - peerlatency 600; - recvlatency 600; - } - rtc_server { - enabled on; - listen 30091; - candidate $CANDIDATE; - } - vhost __defaultVhost__ { - http_hooks { - enabled on; - on_publish http://helm-live-op-svc-v2:8080/hooks/on_push; - } - http_remux { - enabled on; - } - rtc { - enabled on; - rtmp_to_rtc on; - rtc_to_rtmp on; - keep_bframe off; - } - tcp_nodelay on; - min_latency on; - play { - gop_cache off; - mw_latency 100; - mw_msgs 10; - } - publish { - firstpkt_timeout 8000; - normal_timeout 4000; - mr on; - } - dvr { - enabled off; - dvr_path /home/dvr/[app]/[stream]/[2006][01]/[timestamp].mp4; - dvr_plan session; - } - hls { - enabled on; - hls_path /home/hls; - hls_fragment 10; - hls_window 60; - hls_m3u8_file [app]/[stream].m3u8; - hls_ts_file [app]/[stream]/[2006][01][02]/[timestamp]-[duration].ts; - hls_cleanup on; - hls_entry_prefix http://lab.uavcmlc.com; - } - } ---- -kind: Service -apiVersion: v1 -metadata: - name: helm-live-srs-svc-exporter - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus -spec: - ports: - - name: rtmp - protocol: TCP - port: 30935 - targetPort: 30935 - nodePort: 30936 - - name: rtc - protocol: UDP - port: 30090 - targetPort: 30090 - nodePort: 30091 - - name: rtc-tcp - protocol: TCP - port: 30090 - targetPort: 30090 - nodePort: 30091 - - name: srt - protocol: UDP - port: 30556 - targetPort: 30556 - nodePort: 30558 - - name: api - protocol: TCP - port: 1985 - targetPort: 1985 - nodePort: 30559 - selector: - srs-role: rtc - type: NodePort - sessionAffinity: None - externalTrafficPolicy: Cluster - ---- -kind: Service -apiVersion: v1 -metadata: - name: helm-live-srs-svc - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus -spec: - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: 8080 - - name: api - protocol: TCP - port: 1985 - targetPort: 1985 - selector: - srs-role: rtc - type: ClusterIP - sessionAffinity: None - ---- -kind: Service -apiVersion: v1 -metadata: - name: helm-live-srsrtc-svc - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus -spec: - ports: - - name: rtmp - protocol: TCP - port: 30935 - targetPort: 30935 - selector: - srs-role: rtc - type: ClusterIP - sessionAffinity: None - ---- -kind: StatefulSet -apiVersion: apps/v1 -metadata: - name: helm-live-srs-rtc - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus - cmii.app: live-srs - cmii.type: live - helm.sh/chart: cmlc-live-srs-rtc-2.0.0 - srs-role: rtc -spec: - replicas: 1 - selector: - matchLabels: - srs-role: rtc - template: - metadata: - labels: - srs-role: rtc - spec: - volumes: - - name: srs-conf-file - configMap: - name: helm-live-srs-cm - items: - - key: srs.rtc.conf - path: docker.conf - defaultMode: 420 - - name: srs-vol - emptyDir: - sizeLimit: 8Gi - containers: - - name: srs-rtc - image: harbor.cdcyy.com.cn/cmii/srs:v5.0.195 - ports: - - name: srs-rtmp - containerPort: 30935 - protocol: TCP - - name: srs-api - containerPort: 1985 - protocol: TCP - - name: srs-flv - containerPort: 8080 - protocol: TCP - - name: srs-webrtc - containerPort: 30090 - protocol: UDP - - name: srs-webrtc-tcp - containerPort: 30090 - protocol: TCP - - name: srs-srt - containerPort: 30556 - protocol: UDP - env: - - name: CANDIDATE - value: lab.uavcmlc.com - resources: - limits: - cpu: 2000m - memory: 4Gi - requests: - cpu: 100m - memory: 256Mi - volumeMounts: - - name: srs-conf-file - mountPath: /usr/local/srs/conf/docker.conf - subPath: docker.conf - - name: srs-vol - mountPath: /home/dvr - subPath: uavcloud-devflight/helm-live/dvr - - name: srs-vol - mountPath: /home/hls - subPath: uavcloud-devflight/helm-live/hls - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - imagePullPolicy: Always - - name: oss-adaptor - image: harbor.cdcyy.com.cn/cmii/cmii-srs-oss-adaptor:2023-SA - env: - - name: OSS_ENDPOINT - value: 'http://:9000' - - name: OSS_AK - value: cmii - - name: OSS_SK - value: 'B#923fC7mk' - - name: OSS_BUCKET - value: live-cluster-hls - - name: SRS_OP - value: 'http://helm-live-op-svc-v2:8080' - - name: MYSQL_ENDPOINT - value: 'helm-mysql:3306' - - name: MYSQL_USERNAME - value: k8s_admin - - name: MYSQL_PASSWORD - value: VFJncwy58^Zm - - name: MYSQL_DATABASE - value: cmii_live_srs_op - - name: MYSQL_TABLE - value: live_segment - - name: LOG_LEVEL - value: info - - name: OSS_META - value: 'yes' - resources: - limits: - cpu: 2000m - memory: 4Gi - requests: - cpu: 100m - memory: 256Mi - volumeMounts: - - name: srs-vol - mountPath: /cmii/share/hls - subPath: uavcloud-devflight/helm-live/hls - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - imagePullPolicy: Always - restartPolicy: Always - terminationGracePeriodSeconds: 30 - dnsPolicy: ClusterFirst - securityContext: { } - imagePullSecrets: - - name: harborsecret - affinity: { } - schedulerName: default-scheduler - serviceName: helm-live-srsrtc-svc - podManagementPolicy: OrderedReady - updateStrategy: - type: RollingUpdate - rollingUpdate: - partition: 0 - revisionHistoryLimit: 10 ---- -# live-srs部分 ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: helm-live-op-v2 - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus - cmii.app: live-engine - cmii.type: live - helm.sh/chart: cmlc-live-live-op-2.0.0 - live-role: op-v2 -spec: - replicas: 1 - selector: - matchLabels: - live-role: op-v2 - template: - metadata: - labels: - live-role: op-v2 - spec: - volumes: - - name: srs-conf-file - configMap: - name: helm-live-op-cm-v2 - items: - - key: live.op.conf - path: bootstrap.yaml - defaultMode: 420 - containers: - - name: helm-live-op-v2 - image: harbor.cdcyy.com.cn/cmii/cmii-live-operator:5.2.0 - ports: - - name: operator - containerPort: 8080 - protocol: TCP - resources: - limits: - cpu: 4800m - memory: 4Gi - requests: - cpu: 100m - memory: 256Mi - volumeMounts: - - name: srs-conf-file - mountPath: /cmii/bootstrap.yaml - subPath: bootstrap.yaml - livenessProbe: - httpGet: - path: /cmii/health - port: 8080 - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: 8080 - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - imagePullPolicy: Always - restartPolicy: Always - terminationGracePeriodSeconds: 30 - dnsPolicy: ClusterFirst - securityContext: { } - imagePullSecrets: - - name: harborsecret - affinity: { } - schedulerName: default-scheduler - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 25% - maxSurge: 25% - revisionHistoryLimit: 10 - progressDeadlineSeconds: 600 ---- -kind: Service -apiVersion: v1 -metadata: - name: helm-live-op-svc-v2 - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus -spec: - ports: - - protocol: TCP - port: 8080 - targetPort: 8080 - nodePort: 30333 - selector: - live-role: op-v2 - type: NodePort - sessionAffinity: None ---- -kind: Service -apiVersion: v1 -metadata: - name: helm-live-op-svc - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus -spec: - ports: - - protocol: TCP - port: 8080 - targetPort: 8080 - selector: - live-role: op - type: ClusterIP - sessionAffinity: None ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: helm-live-op-cm-v2 - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus - cmii.app: live-engine - cmii.type: live -data: - live.op.conf: |- - server: - port: 8080 - spring: - main: - allow-bean-definition-overriding: true - allow-circular-references: true - application: - name: cmii-live-operator - platform: - info: - name: cmii-live-operator - description: cmii-live-operator - version: 5.6.0 - scanPackage: com.cmii.live.op - cloud: - nacos: - config: - username: developer - password: N@cos14Good - server-addr: helm-nacos:8848 - extension-configs: - - data-id: cmii-live-operator.yml - group: 5.6.0 - refresh: true - shared-configs: - - data-id: cmii-backend-system.yml - group: 5.6.0 - refresh: true - discovery: - enabled: false - - live: - engine: - type: srs - endpoint: 'http://helm-live-srs-svc:1985' - proto: - rtmp: 'rtmp://lab.uavcmlc.com:30936' - rtsp: 'rtsp://lab.uavcmlc.com:30554' - srt: 'srt://lab.uavcmlc.com:30558' - flv: 'http://lab.uavcmlc.com:30500' - hls: 'http://lab.uavcmlc.com:30500' - rtc: 'webrtc://lab.uavcmlc.com:30091' - replay: 'https://lab.uavcmlc.com:30333' - minio: - endpoint: http://:9000 - access-key: cmii - secret-key: B#923fC7mk - bucket: live-cluster-hls diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-backend.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-backend.yaml index df830d8..2b15ec9 100644 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-backend.yaml +++ b/agent-common/real_project/uavcloud-devflight/old/k8s-backend.yaml @@ -1,2369 +1,6 @@ --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-material-warehouse - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-material-warehouse - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-material-warehouse:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-material-warehouse - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-material-warehouse - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-material-warehouse - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-logger - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-logger - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-logger - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-logger:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-logger - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-logger - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-logger - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-logger - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-notice - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-notice - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-notice - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-notice:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-notice - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-notice - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-notice - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-notice - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-emergency - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-emergency - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-emergency - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-emergency:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-emergency - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-emergency - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-emergency - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-emergency - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uas-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uas-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uas-gateway - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uas-gateway:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uas-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uas-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uas-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uas-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-open-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-open-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-open-gateway - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-open-gateway:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-open-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-open-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-open-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-open-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-mqtthandler - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-mqtthandler - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-mqtthandler:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-mqtthandler - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-mqtthandler - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-mqtthandler - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-brain - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-brain - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-brain - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-brain:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-brain - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-brain - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-brain - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-brain - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-waypoint - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-waypoint - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-waypoint:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-waypoint - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-waypoint - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-waypoint - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-waypoint - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-bridge - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-bridge - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-bridge - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-bridge - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-bridge - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-bridge:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-bridge - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-bridge - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-bridge - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-bridge - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-bridge - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-grid-datasource - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-datasource - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-grid-datasource:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-grid-datasource - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-grid-datasource - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-grid-datasource - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-data-post-process - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-data-post-process - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-data-post-process:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-data-post-process - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-data-post-process - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-data-post-process - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-alarm - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-alarm - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-alarm - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-alarm:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-alarm - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-alarm - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-alarm - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-alarm - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-admin-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-admin-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-admin-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-gateway - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-admin-gateway:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-admin-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-admin-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-admin-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-admin-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-developer - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-developer - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-developer - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-developer:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-developer - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-developer - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-developer - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-developer - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-airspace - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-airspace - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-airspace - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-airspace - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-airspace - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-airspace:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-airspace - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-airspace - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-airspace - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-airspace - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-airspace - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-user - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-user - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-user - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-user:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-user - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-user - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-user - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: cmii-app-release namespace: uavcloud-devflight @@ -2372,7 +9,7 @@ metadata: cmii.app: cmii-app-release octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 0 strategy: @@ -2401,7 +38,7 @@ spec: - name: harborsecret containers: - name: cmii-app-release - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-app-release:5.6.0 + image: harbor.cdcyy.com.cn/cmii/cmii-app-release:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -2419,11 +56,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -2489,7 +126,7 @@ metadata: cmii.app: cmii-app-release octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: @@ -2504,14 +141,14 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-gis-server + name: cmii-uav-grid-datasource namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-gis-server + cmii.app: cmii-uav-grid-datasource octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 0 strategy: @@ -2520,12 +157,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-gis-server + cmii.app: cmii-uav-grid-datasource template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-gis-server + cmii.app: cmii-uav-grid-datasource spec: affinity: nodeAffinity: @@ -2539,14 +176,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-gis-server - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-gis-server:5.6.0 + - name: cmii-uav-grid-datasource + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-gis-server + value: cmii-uav-grid-datasource - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -2558,11 +195,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -2612,7 +249,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-gis-server + subPath: uavcloud-devflight/cmii-uav-grid-datasource volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -2621,992 +258,19 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-gis-server + name: cmii-uav-grid-datasource namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-gis-server + cmii.app: cmii-uav-grid-datasource octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-gis-server - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-multilink - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-multilink - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-multilink - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-multilink:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-multilink - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-multilink - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-multilink - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-multilink - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-grid-engine - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-engine - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-grid-engine:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-grid-engine - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-grid-engine - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-grid-engine - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-sense-adapter - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-sense-adapter - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-sense-adapter:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-sense-adapter - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-sense-adapter - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-sense-adapter - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-admin-data - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-data - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-admin-data - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-admin-data - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-data - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-admin-data:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-admin-data - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-admin-data - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-admin-data - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-data - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-admin-data - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-cms - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cms - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-cms - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-cms - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-cms - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-cms:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-cms - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-cms - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-cms - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cms - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-cms - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-threedsimulation - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-threedsimulation - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-threedsimulation:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-threedsimulation - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-threedsimulation - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-threedsimulation - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-integration - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-integration - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-integration - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-integration:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-integration - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-integration - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-integration - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-integration + cmii.app: cmii-uav-grid-datasource ports: - name: backend-tcp port: 8080 @@ -3623,7 +287,7 @@ metadata: cmii.app: cmii-uav-oauth octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -3652,7 +316,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-oauth - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-oauth:5.6.0 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -3670,11 +334,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -3740,7 +404,7 @@ metadata: cmii.app: cmii-uav-oauth octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: @@ -3755,14 +419,14 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-suav-supervision + name: cmii-uav-bridge namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-suav-supervision + cmii.app: cmii-uav-bridge octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -3771,12 +435,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-suav-supervision + cmii.app: cmii-uav-bridge template: metadata: labels: cmii.type: backend - cmii.app: cmii-suav-supervision + cmii.app: cmii-uav-bridge spec: affinity: nodeAffinity: @@ -3790,14 +454,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-suav-supervision - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-suav-supervision:5.6.0 + - name: cmii-uav-bridge + image: harbor.cdcyy.com.cn/cmii/cmii-uav-bridge:5.6.0-redisBackup imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-suav-supervision + value: cmii-uav-bridge - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -3809,11 +473,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -3863,7 +527,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-suav-supervision + subPath: uavcloud-devflight/cmii-uav-bridge volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -3872,19 +536,19 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-suav-supervision + name: cmii-uav-bridge namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-suav-supervision + cmii.app: cmii-uav-bridge octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-suav-supervision + cmii.app: cmii-uav-bridge ports: - name: backend-tcp port: 8080 @@ -3894,292 +558,14 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-industrial-portfolio + name: cmii-uav-brain namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio + cmii.app: cmii-uav-brain octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-industrial-portfolio - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-industrial-portfolio:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-industrial-portfolio - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-industrial-portfolio - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-industrial-portfolio - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-process - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-process - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-process - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-process - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-process:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-process - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-process - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-process - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-process - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-clusters - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-clusters - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 0 strategy: @@ -4188,12 +574,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-clusters + cmii.app: cmii-uav-brain template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-clusters + cmii.app: cmii-uav-brain spec: affinity: nodeAffinity: @@ -4207,14 +593,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-clusters - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-clusters:5.6.0 + - name: cmii-uav-brain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-brain:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-clusters + value: cmii-uav-brain - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -4226,11 +612,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -4280,7 +666,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-clusters + subPath: uavcloud-devflight/cmii-uav-brain volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -4289,158 +675,19 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-clusters + name: cmii-uav-brain namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-clusters + cmii.app: cmii-uav-brain octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-clusters - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-depotautoreturn - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-depotautoreturn - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-depotautoreturn:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-depotautoreturn - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-depotautoreturn - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-depotautoreturn - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn + cmii.app: cmii-uav-brain ports: - name: backend-tcp port: 8080 @@ -4457,7 +704,7 @@ metadata: cmii.app: cmii-uav-gateway octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -4486,7 +733,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-gateway - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-gateway:5.7.0-snapshot + image: harbor.cdcyy.com.cn/cmii/cmii-uav-gateway:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -4504,11 +751,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -4574,7 +821,7 @@ metadata: cmii.app: cmii-uav-gateway octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: @@ -4588,1118 +835,6 @@ spec: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uas-lifecycle - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uas-lifecycle - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uas-lifecycle:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uas-lifecycle - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uas-lifecycle - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uas-lifecycle - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-device - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-device - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-device - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-device - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-device - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-device:5.6.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-device - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-device - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-device - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-device - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-device - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-surveillance - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-surveillance - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-surveillance:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-surveillance - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-surveillance - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-surveillance - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-surveillance - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-mission - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-mission - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-mission - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-mission - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-mission - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-mission:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-mission - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-mission - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-mission - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-mission - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-mission - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-kpi-monitor - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-kpi-monitor - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-kpi-monitor:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-kpi-monitor - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-kpi-monitor - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-kpi-monitor - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-cloud-live - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-cloud-live - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-cloud-live:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-cloud-live - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-cloud-live - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-cloud-live - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-admin-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-admin-user - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-admin-user - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-user - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-admin-user:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-admin-user - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-admin-user - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-admin-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-admin-user - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-tower - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-tower - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-tower - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-tower:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-tower - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-tower - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-tower - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-tower - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: cmii-uav-grid-manage namespace: uavcloud-devflight @@ -5708,7 +843,7 @@ metadata: cmii.app: cmii-uav-grid-manage octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 0 strategy: @@ -5737,7 +872,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-grid-manage - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-grid-manage:5.6.0 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -5755,11 +890,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -5825,7 +960,7 @@ metadata: cmii.app: cmii-uav-grid-manage octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: @@ -5839,6 +974,1674 @@ spec: --- apiVersion: apps/v1 kind: Deployment +metadata: + name: cmii-suav-supervision + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-suav-supervision + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-supervision + image: harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-suav-supervision + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-suav-supervision + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-supervision + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-suav-supervision + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-airspace + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-airspace + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-airspace + image: harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-airspace + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-airspace + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-airspace + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-airspace + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-open-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-open-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-open-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-open-gateway:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-open-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-open-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-open-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-open-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-process + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-process + image: harbor.cdcyy.com.cn/cmii/cmii-uav-process:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-process + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-emergency + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-emergency + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-emergency + image: harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-emergency + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-emergency + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-emergency + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-emergency + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-sync + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sync + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-sync + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-sync + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sync + image: harbor.cdcyy.com.cn/cmii/cmii-uav-sync:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-sync + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-sync + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sync + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sync + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-sync + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-sense-adapter + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sense-adapter + image: harbor.cdcyy.com.cn/cmii/cmii-uav-sense-adapter:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-sense-adapter + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-sense-adapter + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sense-adapter + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uas-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uas-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-lifecycle + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-lifecycle + image: harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uas-lifecycle + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uas-lifecycle + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-lifecycle + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mqtthandler + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mqtthandler + image: harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-mqtthandler + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-mqtthandler + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mqtthandler + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-engine + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-engine + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-grid-engine + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-grid-engine + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-engine + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-multilink + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-multilink + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-multilink + image: harbor.cdcyy.com.cn/cmii/cmii-uav-multilink:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-multilink + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-multilink + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-multilink + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-multilink + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment metadata: name: cmii-uav-autowaypoint namespace: uavcloud-devflight @@ -5847,7 +2650,7 @@ metadata: cmii.app: cmii-uav-autowaypoint octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 0 strategy: @@ -5876,7 +2679,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-autowaypoint - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-autowaypoint:5.6.0 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-autowaypoint:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -5894,11 +2697,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 5.7.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -5964,7 +2767,7 @@ metadata: cmii.app: cmii-uav-autowaypoint octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: @@ -5975,3 +2778,3339 @@ spec: port: 8080 protocol: TCP targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cloud-live + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cloud-live + image: harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-cloud-live + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-cloud-live + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cloud-live + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-threedsimulation + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-threedsimulation + image: harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-threedsimulation + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-threedsimulation + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-threedsimulation + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-tower + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-tower + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-tower + image: harbor.cdcyy.com.cn/cmii/cmii-uav-tower:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-tower + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-tower + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-tower + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-tower + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-clusters + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-clusters + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-clusters + image: harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-clusters + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-clusters + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-clusters + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-clusters + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-developer + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-developer + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-developer + image: harbor.cdcyy.com.cn/cmii/cmii-uav-developer:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-developer + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-developer + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-developer + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-developer + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-notice + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-notice + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-notice + image: harbor.cdcyy.com.cn/cmii/cmii-uav-notice:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-notice + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-notice + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-notice + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-notice + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-kpi-monitor + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-kpi-monitor + image: harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-kpi-monitor + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-kpi-monitor + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-kpi-monitor + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-user + image: harbor.cdcyy.com.cn/cmii/cmii-uav-user:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mission + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mission + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mission + image: harbor.cdcyy.com.cn/cmii/cmii-uav-mission:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-mission + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-mission + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mission + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mission + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-data-post-process + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-data-post-process + image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-data-post-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-data-post-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-data-post-process + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-waypoint + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-waypoint + image: harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-waypoint + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-waypoint + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-waypoint + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-waypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-user + image: harbor.cdcyy.com.cn/cmii/cmii-admin-user:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-admin-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-admin-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-device + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-device + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-device + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-device + image: harbor.cdcyy.com.cn/cmii/cmii-uav-device:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-device + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-device + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-device + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-device + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gis-server + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gis-server + image: harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-gis-server + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-gis-server + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gis-server + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-gis-server + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cms + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cms + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-cms:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-cms + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-cms + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cms + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cms + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-data + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-data + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-data + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-data + image: harbor.cdcyy.com.cn/cmii/cmii-admin-data:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-admin-data + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-admin-data + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-data + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-data + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-industrial-portfolio + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-industrial-portfolio + image: harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-industrial-portfolio + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-industrial-portfolio + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-industrial-portfolio + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-logger + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-logger + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-logger + image: harbor.cdcyy.com.cn/cmii/cmii-uav-logger:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-logger + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-logger + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-logger + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-logger + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-integration + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-integration + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-integration + image: harbor.cdcyy.com.cn/cmii/cmii-uav-integration:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-integration + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-integration + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-integration + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-integration + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-depotautoreturn + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-depotautoreturn + image: harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-depotautoreturn + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-depotautoreturn + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-depotautoreturn + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-alarm + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-alarm + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-alarm + image: harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-alarm + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-alarm + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-alarm + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-alarm + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-surveillance + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-surveillance + image: harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-surveillance + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-surveillance + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-surveillance + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-surveillance + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-admin-gateway:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-admin-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-admin-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-material-warehouse + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-material-warehouse + image: harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-material-warehouse + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-material-warehouse + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-material-warehouse + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-configmap.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-configmap.yaml index 51fe8d1..00f0d94 100644 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-configmap.yaml +++ b/agent-common/real_project/uavcloud-devflight/old/k8s-configmap.yaml @@ -1,90 +1,6 @@ --- kind: ConfigMap apiVersion: v1 -metadata: - name: tenant-prefix-armypeople - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "armypeople", - AppClientId: "APP_UIegse6Lfou9pO1U" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-mws - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "mws", - AppClientId: "APP_uKniXPELlRERBBwK" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-securityh5 - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "securityh5", - AppClientId: "APP_N3ImO0Ubfu9peRHD" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-uasms - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "uasms", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-supervisionh5 - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "supervisionh5", - AppClientId: "APP_qqSu82THfexI8PLM" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-base - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "base", - AppClientId: "APP_9LY41OaKSqk2btY0" - } ---- -kind: ConfigMap -apiVersion: v1 metadata: name: tenant-prefix-security namespace: uavcloud-devflight @@ -92,7 +8,7 @@ data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", + CloudHOST: "lab.uavcmlc.com", ApplicationShortName: "security", AppClientId: "APP_JUSEMc7afyWXxvE7" } @@ -100,14 +16,42 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-jiangsuwenlv + name: tenant-prefix-splice namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "jiangsuwenlv", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "splice", + AppClientId: "APP_zE0M3sTRXrCIJS8Y" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pilot2cloud + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "pilot2cloud", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qinghaitourism + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "qinghaitourism", AppClientId: "empty" } --- @@ -120,195 +64,13 @@ data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", + CloudHOST: "lab.uavcmlc.com", ApplicationShortName: "qingdao", AppClientId: "empty" } --- kind: ConfigMap apiVersion: v1 -metadata: - name: tenant-prefix-supervision - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "supervision", - AppClientId: "APP_qqSu82THfexI8PLM" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-detection - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "detection", - AppClientId: "APP_FDHW2VLVDWPnnOCy" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-multiterminal - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "multiterminal", - AppClientId: "APP_PvdfRRRBPL8xbIwl" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-media - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "media", - AppClientId: "APP_4AU8lbifESQO4FD6" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-open - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "open", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-seniclive - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "seniclive", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-oms - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "oms", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-traffic - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "traffic", - AppClientId: "APP_Jc8i2wOQ1t73QEJS" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-hljtt - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "hljtt", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-uas - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "uas", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-share - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "share", - AppClientId: "APP_4lVSVI0ZGxTssir8" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-splice - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "splice", - AppClientId: "APP_zE0M3sTRXrCIJS8Y" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-qinghaitourism - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "qinghaitourism", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 metadata: name: tenant-prefix-pangu namespace: uavcloud-devflight @@ -316,7 +78,7 @@ data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", + CloudHOST: "lab.uavcmlc.com", ApplicationShortName: "", AppClientId: "empty" } @@ -324,29 +86,15 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-ai-brain + name: tenant-prefix-base namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "ai-brain", - AppClientId: "APP_rafnuCAmBESIVYMH" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-cmsportal - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "cmsportal", - AppClientId: "empty" + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "base", + AppClientId: "APP_9LY41OaKSqk2btY0" } --- kind: ConfigMap @@ -358,13 +106,167 @@ data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", + CloudHOST: "lab.uavcmlc.com", ApplicationShortName: "logistics", AppClientId: "APP_PvdfRRRBPL8xbIwl" } --- kind: ConfigMap apiVersion: v1 +metadata: + name: tenant-prefix-media + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "media", + AppClientId: "APP_4AU8lbifESQO4FD6" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-mws + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "mws", + AppClientId: "APP_uKniXPELlRERBBwK" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervision + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "supervision", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-ai-brain + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "ai-brain", + AppClientId: "APP_rafnuCAmBESIVYMH" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-detection + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "detection", + AppClientId: "APP_FDHW2VLVDWPnnOCy" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-share + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "share", + AppClientId: "APP_4lVSVI0ZGxTssir8" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uas + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "uas", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-visualization + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "visualization", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-armypeople + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "armypeople", + AppClientId: "APP_UIegse6Lfou9pO1U" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-seniclive + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "seniclive", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-traffic + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "traffic", + AppClientId: "APP_Jc8i2wOQ1t73QEJS" + } +--- +kind: ConfigMap +apiVersion: v1 metadata: name: tenant-prefix-threedsimulation namespace: uavcloud-devflight @@ -372,13 +274,111 @@ data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", + CloudHOST: "lab.uavcmlc.com", ApplicationShortName: "threedsimulation", AppClientId: "empty" } --- kind: ConfigMap apiVersion: v1 +metadata: + name: tenant-prefix-jiangsuwenlv + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "jiangsuwenlv", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dispatchh5 + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "dispatchh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervisionh5 + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "supervisionh5", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-cmsportal + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "cmsportal", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-multiterminal + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "multiterminal", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-oms + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "oms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-open + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "open", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 metadata: name: tenant-prefix-emergency namespace: uavcloud-devflight @@ -386,7 +386,7 @@ data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", + CloudHOST: "lab.uavcmlc.com", ApplicationShortName: "emergency", AppClientId: "APP_aGsTAY1uMZrpKdfk" } @@ -394,13 +394,41 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-visualization + name: tenant-prefix-securityh5 namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", - CloudHOST: "36.133.115.164:58888", - ApplicationShortName: "visualization", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "securityh5", + AppClientId: "APP_N3ImO0Ubfu9peRHD" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hljtt + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "hljtt", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uasms + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "uasms", AppClientId: "empty" } diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-emqx.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-emqx.yaml deleted file mode 100644 index d15d2b7..0000000 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-emqx.yaml +++ /dev/null @@ -1,265 +0,0 @@ ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: helm-emqxs - namespace: uavcloud-devflight ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-emqxs-env - namespace: uavcloud-devflight - labels: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - helm.sh/chart: emqx-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 -data: - EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc.cluster.local:443" - EMQX_NAME: "helm-emqxs" - EMQX_CLUSTER__DISCOVERY: "k8s" - EMQX_CLUSTER__K8S__APP_NAME: "helm-emqxs" - EMQX_CLUSTER__K8S__SERVICE_NAME: "helm-emqxs-headless" - EMQX_CLUSTER__K8S__ADDRESS_TYPE: "dns" - EMQX_CLUSTER__K8S__namespace: "uavcloud-devflight" - EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local" - EMQX_ALLOW_ANONYMOUS: "false" - EMQX_ACL_NOMATCH: "deny" ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-emqxs-cm - namespace: uavcloud-devflight - labels: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - helm.sh/chart: emqx-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 -data: - emqx_auth_username.conf: |- - auth.user.1.username = cmlc - auth.user.1.password = 4YPk*DS%+5 - auth.user.password_hash = sha256 - - acl.conf: |- - {allow, {user, "admin"}, pubsub, ["admin/#"]}. - {allow, {user, "dashboard"}, subscribe, ["$SYS/#"]}. - {allow, {ipaddr, "127.0.0.1"}, pubsub, ["$SYS/#", "#"]}. - {deny, all, subscribe, ["$SYS/#", {eq, "#"}]}. - {allow, all}. - - loaded_plugins: |- - {emqx_auth_username,true}. - {emqx_management, true}. - {emqx_recon, true}. - {emqx_retainer, false}. - {emqx_dashboard, true}. - {emqx_telemetry, true}. - {emqx_rule_engine, true}. - {emqx_bridge_mqtt, false}. ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: helm-emqxs - namespace: uavcloud-devflight - labels: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - helm.sh/chart: emqx-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 -spec: - replicas: 1 - serviceName: helm-emqxs-headless - updateStrategy: - type: RollingUpdate - selector: - matchLabels: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - template: - metadata: - labels: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - helm.sh/chart: emqx-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 - spec: - affinity: { } - imagePullSecrets: - - name: harborsecret - serviceAccountName: helm-emqxs - containers: - - name: helm-emqxs - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/emqx:5.5.1 - imagePullPolicy: Always - ports: - - name: mqtt - containerPort: 1883 - - name: mqttssl - containerPort: 8883 - - name: mgmt - containerPort: 8081 - - name: ws - containerPort: 8083 - - name: wss - containerPort: 8084 - - name: dashboard - containerPort: 18083 - - name: ekka - containerPort: 4370 - envFrom: - - configMapRef: - name: helm-emqxs-env - resources: { } - volumeMounts: - - name: emqx-data - mountPath: "/opt/emqx/data/mnesia" - readOnly: false - - name: helm-emqxs-cm - mountPath: "/opt/emqx/etc/plugins/emqx_auth_username.conf" - subPath: emqx_auth_username.conf - readOnly: false - # - name: helm-emqxs-cm - # mountPath: "/opt/emqx/etc/acl.conf" - # subPath: "acl.conf" - # readOnly: false - - name: helm-emqxs-cm - mountPath: "/opt/emqx/data/loaded_plugins" - subPath: loaded_plugins - readOnly: false - volumes: - - name: emqx-data - persistentVolumeClaim: - claimName: helm-emqxs - - name: helm-emqxs-cm - configMap: - name: helm-emqxs-cm - items: - - key: emqx_auth_username.conf - path: emqx_auth_username.conf - - key: acl.conf - path: acl.conf - - key: loaded_plugins - path: loaded_plugins ---- -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: helm-emqxs - namespace: uavcloud-devflight -rules: - - apiGroups: - - "" - resources: - - endpoints - verbs: - - get - - watch - - list ---- -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: helm-emqxs - namespace: uavcloud-devflight -subjects: - - kind: ServiceAccount - name: helm-emqxs - namespace: uavcloud-devflight -roleRef: - kind: Role - name: helm-emqxs - apiGroup: rbac.authorization.k8s.io ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-emqxs - namespace: uavcloud-devflight - labels: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - helm.sh/chart: emqx-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 -spec: - type: NodePort - selector: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - ports: - - port: 1883 - name: mqtt - targetPort: 1883 - nodePort: 31884 - - port: 18083 - name: dashboard - targetPort: 18083 - nodePort: 38086 - - port: 8083 - name: mqtt-websocket - targetPort: 8083 - nodePort: 38084 ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-emqxs-headless - namespace: uavcloud-devflight - labels: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - helm.sh/chart: emqx-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - clusterIP: None - selector: - cmii.type: middleware - cmii.app: helm-emqxs - cmii.emqx.architecture: cluster - ports: - - name: mqtt - port: 1883 - protocol: TCP - targetPort: 1883 - - name: mqttssl - port: 8883 - protocol: TCP - targetPort: 8883 - - name: mgmt - port: 8081 - protocol: TCP - targetPort: 8081 - - name: websocket - port: 8083 - protocol: TCP - targetPort: 8083 - - name: wss - port: 8084 - protocol: TCP - targetPort: 8084 - - name: dashboard - port: 18083 - protocol: TCP - targetPort: 18083 - - name: ekka - port: 4370 - protocol: TCP - targetPort: 4370 diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-frontend.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-frontend.yaml index 778b943..b103a7b 100644 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-frontend.yaml +++ b/agent-common/real_project/uavcloud-devflight/old/k8s-frontend.yaml @@ -8,573 +8,24 @@ metadata: cmii.type: frontend data: nginx.conf: | - user root; - worker_processes auto; + server { + listen 9528; + server_name localhost; + gzip on; - events { - worker_connections 1024; - } - http { - include mime.types; - default_type application/octet-stream; + location / { + root /home/cmii-platform/dist; + index index.html index.htm; + } - sendfile on; - - keepalive_timeout 600; - - server { - listen 9528; - server_name localhost; - gzip on; - - location / { - root /home/cmii-platform/dist; - index index.html index.htm; - } - - error_page 500 502 503 504 /50x.html; - location = /50x.html { - root html; - } + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root html; } } --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-platform-seniclive - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-seniclive - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-seniclive:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-seniclive - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-seniclive - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-seniclive - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-threedsimulation - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-threedsimulation - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-threedsimulation:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-threedsimulation - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-threedsimulation - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-threedsimulation - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-ai-brain - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-ai-brain - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-ai-brain:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-ai-brain - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-ai-brain - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-ai-brain - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-suav-platform-supervisionh5 - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-suav-platform-supervisionh5 - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-suav-platform-supervisionh5:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-suav-platform-supervisionh5 - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-supervisionh5 - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-suav-platform-supervisionh5 - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-securityh5 - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-securityh5 - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-securityh5:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-securityh5 - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-securityh5 - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-securityh5 - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-uas - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-uas - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-uas:5.5.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-uas - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-uas - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-uas - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: cmii-uav-platform-visualization namespace: uavcloud-devflight @@ -582,7 +33,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-visualization octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -602,7 +53,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-platform-visualization - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-visualization:5.6.0 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -618,11 +69,11 @@ spec: cpu: "1" memory: 1Gi requests: - cpu: 500m - memory: 500Mi + cpu: 50m + memory: 50Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/nginx.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -650,7 +101,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-visualization octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: @@ -664,896 +115,6 @@ spec: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-platform-logistics - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-logistics - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-logistics - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-logistics - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-logistics - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-logistics:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-logistics - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-logistics - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-logistics - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-logistics - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-logistics - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-qinghaitourism - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-qinghaitourism - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-qinghaitourism:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-qinghaitourism - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-qinghaitourism - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-qinghaitourism - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-share - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-share - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-share:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-share - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-share - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-share - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-emergency-rescue - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-emergency-rescue - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-emergency-rescue:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-emergency-rescue - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-emergency - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-emergency-rescue - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-cms-portal - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-cms-portal - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-cms-portal:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-cms-portal - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-cmsportal - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-cms-portal - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-oms - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-oms - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-oms:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-oms - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-oms - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-oms - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-multiterminal - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-multiterminal - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-multiterminal:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-multiterminal - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-multiterminal - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-multiterminal - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-pangu - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-detection - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-detection - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-detection:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-detection - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-detection - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-detection - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-media - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-media - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-media:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-media - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-media - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-media - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: cmii-uav-platform-qingdao namespace: uavcloud-devflight @@ -1561,9 +122,9 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-qingdao octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: - replicas: 1 + replicas: 0 strategy: rollingUpdate: maxUnavailable: 1 @@ -1581,7 +142,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-platform-qingdao - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-qingdao:5.6.0 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -1597,11 +158,11 @@ spec: cpu: "1" memory: 1Gi requests: - cpu: 500m - memory: 500Mi + cpu: 50m + memory: 50Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/nginx.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -1629,7 +190,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-qingdao octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: @@ -1644,13 +205,13 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-suav-platform-supervision + name: cmii-uav-platform-pilot2-to-cloud namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-pilot2-to-cloud octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -1659,24 +220,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-pilot2-to-cloud template: metadata: labels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-pilot2-to-cloud spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-suav-platform-supervision - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-suav-platform-supervision:5.6.0 + - name: cmii-uav-platform-pilot2-to-cloud + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-pilot2-to-cloud:5.7.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-suav-platform-supervision + value: cmii-uav-platform-pilot2-to-cloud ports: - name: platform-9528 containerPort: 9528 @@ -1686,11 +247,11 @@ spec: cpu: "1" memory: 1Gi requests: - cpu: 500m - memory: 500Mi + cpu: 50m + memory: 50Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/nginx.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -1704,7 +265,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-supervision + name: tenant-prefix-pilot2cloud items: - key: ingress-config.js path: ingress-config.js @@ -1712,18 +273,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-suav-platform-supervision + name: cmii-uav-platform-pilot2-to-cloud namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-pilot2-to-cloud octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-pilot2-to-cloud ports: - name: web-svc-port port: 9528 @@ -1733,13 +294,13 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-mws + name: cmii-uav-platform-emergency-rescue namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-mws + cmii.app: cmii-uav-platform-emergency-rescue octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -1748,24 +309,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-mws + cmii.app: cmii-uav-platform-emergency-rescue template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-mws + cmii.app: cmii-uav-platform-emergency-rescue spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-mws - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-mws:5.6.0 + - name: cmii-uav-platform-emergency-rescue + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-emergency-rescue:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-mws + value: cmii-uav-platform-emergency-rescue ports: - name: platform-9528 containerPort: 9528 @@ -1775,11 +336,11 @@ spec: cpu: "1" memory: 1Gi requests: - cpu: 500m - memory: 500Mi + cpu: 50m + memory: 50Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/nginx.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -1793,7 +354,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-mws + name: tenant-prefix-emergency items: - key: ingress-config.js path: ingress-config.js @@ -1801,18 +362,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-mws + name: cmii-uav-platform-emergency-rescue namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-mws + cmii.app: cmii-uav-platform-emergency-rescue octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-mws + cmii.app: cmii-uav-platform-emergency-rescue ports: - name: web-svc-port port: 9528 @@ -1822,13 +383,13 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-open + name: cmii-uav-platform-oms namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-open + cmii.app: cmii-uav-platform-oms octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -1837,24 +398,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-open + cmii.app: cmii-uav-platform-oms template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-open + cmii.app: cmii-uav-platform-oms spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-open - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-open:5.6.0 + - name: cmii-uav-platform-oms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-oms:5.7.0-validation imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-open + value: cmii-uav-platform-oms ports: - name: platform-9528 containerPort: 9528 @@ -1864,11 +425,11 @@ spec: cpu: "1" memory: 1Gi requests: - cpu: 500m - memory: 500Mi + cpu: 50m + memory: 50Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/nginx.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -1882,7 +443,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-open + name: tenant-prefix-oms items: - key: ingress-config.js path: ingress-config.js @@ -1890,552 +451,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-open + name: cmii-uav-platform-oms namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-open + cmii.app: cmii-uav-platform-oms octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-open - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-uasms - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-uasms - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-uasms:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-uasms - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-uasms - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-uasms - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-base - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-base - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-base:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-base - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-base - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-base - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-splice - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-splice - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-splice:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-splice - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-splice - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-splice - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-armypeople - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-armypeople - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-armypeople:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-armypeople - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-armypeople - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-armypeople - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-hljtt - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-hljtt - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-hljtt:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-hljtt - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-hljtt - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-hljtt - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-jiangsuwenlv - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-jiangsuwenlv - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-jiangsuwenlv:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-jiangsuwenlv - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-jiangsuwenlv - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-jiangsuwenlv - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv + cmii.app: cmii-uav-platform-oms ports: - name: web-svc-port port: 9528 @@ -2451,7 +478,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-security octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 5.7.0 spec: replicas: 1 strategy: @@ -2471,7 +498,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-platform-security - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-security:5.6.0 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-security:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -2487,11 +514,11 @@ spec: cpu: "1" memory: 1Gi requests: - cpu: 500m - memory: 500Mi + cpu: 50m + memory: 50Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/nginx.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -2519,7 +546,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-security octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP selector: @@ -2530,3 +557,2139 @@ spec: port: 9528 protocol: TCP targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-seniclive + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-seniclive + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-seniclive:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-seniclive + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-seniclive + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-seniclive + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.7.0-validation + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-pangu + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-splice + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-splice + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-splice + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-splice + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-splice + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-threedsimulation + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-threedsimulation + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-threedsimulation:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-threedsimulation + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-threedsimulation + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-threedsimulation + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-uasms + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-uasms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uasms:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-uasms + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-uasms + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-uasms + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervisionh5 + image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-suav-platform-supervisionh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervisionh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-open + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-open + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-open:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-open + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-open + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-open + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-base + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-base + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-base + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-base + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-base + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-cms-portal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-cms-portal + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-cms-portal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-cmsportal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-cms-portal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-multiterminal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-multiterminal + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-multiterminal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-multiterminal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-multiterminal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qinghaitourism + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-qinghaitourism + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qinghaitourism + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-detection + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-detection + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-detection + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-detection + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-detection + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-armypeople + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-armypeople + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-armypeople:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-armypeople + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-armypeople + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-armypeople + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-logistics + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-logistics + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-logistics:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-logistics + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-logistics + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-logistics + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-uas + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-uas + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uas:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-uas + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-uas + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-uas + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-jiangsuwenlv + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-jiangsuwenlv + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-jiangsuwenlv + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-hyperspectral + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-hyperspectral + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hyperspectral:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-hyperspectral + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-hyper + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-hyperspectral + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-mws + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-mws + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-mws + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-mws + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-mws + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-platform-supervision + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervision + image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervision:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-suav-platform-supervision + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervision + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervision + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-ai-brain + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-ai-brain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-ai-brain + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-ai-brain + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-ai-brain + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-share + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-share + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-share + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-share + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-share + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-hljtt + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-hljtt + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-hljtt + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-hljtt + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-hljtt + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-securityh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-securityh5 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-securityh5:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-securityh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-securityh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-securityh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-media + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-media + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-media:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-media + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-media + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-media + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-ingress.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-ingress.yaml index 470c0ff..0c45a09 100644 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-ingress.yaml +++ b/agent-common/real_project/uavcloud-devflight/old/k8s-ingress.yaml @@ -8,7 +8,7 @@ metadata: type: frontend octopus.control: all-ingress-config-wdd app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/enable-cors: "true" @@ -22,8 +22,10 @@ metadata: rewrite ^(/base)$ $1/ redirect; rewrite ^(/cmsportal)$ $1/ redirect; rewrite ^(/detection)$ $1/ redirect; + rewrite ^(/dispatchh5)$ $1/ redirect; rewrite ^(/emergency)$ $1/ redirect; rewrite ^(/hljtt)$ $1/ redirect; + rewrite ^(/hyper)$ $1/ redirect; rewrite ^(/jiangsuwenlv)$ $1/ redirect; rewrite ^(/logistics)$ $1/ redirect; rewrite ^(/media)$ $1/ redirect; @@ -31,6 +33,7 @@ metadata: rewrite ^(/mws)$ $1/ redirect; rewrite ^(/oms)$ $1/ redirect; rewrite ^(/open)$ $1/ redirect; + rewrite ^(/pilot2cloud)$ $1/ redirect; rewrite ^(/qingdao)$ $1/ redirect; rewrite ^(/qinghaitourism)$ $1/ redirect; rewrite ^(/security)$ $1/ redirect; @@ -93,6 +96,11 @@ spec: backend: serviceName: cmii-uav-platform-detection servicePort: 9528 + - path: /devflight/dispatchh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-dispatchh5 + servicePort: 9528 - path: /devflight/emergency/?(.*) pathType: ImplementationSpecific backend: @@ -103,6 +111,11 @@ spec: backend: serviceName: cmii-uav-platform-hljtt servicePort: 9528 + - path: /devflight/hyper/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-hyperspectral + servicePort: 9528 - path: /devflight/jiangsuwenlv/?(.*) pathType: ImplementationSpecific backend: @@ -138,6 +151,11 @@ spec: backend: serviceName: cmii-uav-platform-open servicePort: 9528 + - path: /devflight/pilot2cloud/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-pilot2-to-cloud + servicePort: 9528 - path: /devflight/qingdao/?(.*) pathType: ImplementationSpecific backend: @@ -208,7 +226,7 @@ metadata: type: backend octopus.control: all-ingress-config-wdd app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/enable-cors: "true" @@ -568,7 +586,7 @@ metadata: type: api-gateway octopus.control: all-ingress-config-1.1.0 app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/enable-cors: "true" diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-mongo.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-mongo.yaml deleted file mode 100644 index 44c2795..0000000 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-mongo.yaml +++ /dev/null @@ -1,77 +0,0 @@ ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-mongo - namespace: uavcloud-devflight - labels: - cmii.app: helm-mongo - cmii.type: middleware - helm.sh/chart: mongo-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.app: helm-mongo - cmii.type: middleware - ports: - - port: 27017 - name: server-27017 - targetPort: 27017 ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: helm-mongo - namespace: uavcloud-devflight - labels: - cmii.app: helm-mongo - cmii.type: middleware - helm.sh/chart: mongo-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 -spec: - serviceName: helm-mongo - replicas: 1 - selector: - matchLabels: - cmii.app: helm-mongo - cmii.type: middleware - template: - metadata: - labels: - cmii.app: helm-mongo - cmii.type: middleware - helm.sh/chart: mongo-1.1.0 - app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 - annotations: - pod.alpha.kubernetes.io/initialized: "true" - spec: - imagePullSecrets: - - name: harborsecret - affinity: { } - containers: - - name: helm-mongo - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/mongo:5.0 - resources: { } - ports: - - containerPort: 27017 - name: mongo27017 - protocol: TCP - env: - - name: MONGO_INITDB_ROOT_USERNAME - value: cmlc - - name: MONGO_INITDB_ROOT_PASSWORD - value: 7(#dD3zcz8 - volumeMounts: - - name: mongo-data - mountPath: /data/db - readOnly: false - subPath: default/helm-mongo/data/db - volumes: - - name: mongo-data - persistentVolumeClaim: - claimName: helm-mongo ---- diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-mysql.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-mysql.yaml deleted file mode 100644 index c1d566d..0000000 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-mysql.yaml +++ /dev/null @@ -1,423 +0,0 @@ ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: helm-mysql - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - annotations: { } -secrets: - - name: helm-mysql ---- -apiVersion: v1 -kind: Secret -metadata: - name: helm-mysql - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus -type: Opaque -data: - mysql-root-password: "R3d1YmM2Q3hSTQ==" - mysql-password: "S0F0cm5PckFKNw==" ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-mysql - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/component: primary -data: - my.cnf: |- - - [mysqld] - port=3306 - basedir=/opt/bitnami/mysql - datadir=/bitnami/mysql/data - pid-file=/opt/bitnami/mysql/tmp/mysqld.pid - socket=/opt/bitnami/mysql/tmp/mysql.sock - log-error=/bitnami/mysql/data/error.log - general_log_file = /bitnami/mysql/data/general.log - slow_query_log_file = /bitnami/mysql/data/slow.log - innodb_data_file_path = ibdata1:512M:autoextend - innodb_buffer_pool_size = 512M - innodb_buffer_pool_instances = 2 - innodb_log_file_size = 512M - innodb_log_files_in_group = 4 - innodb_log_files_in_group = 4 - log-bin = /bitnami/mysql/data/mysql-bin - max_binlog_size=1G - transaction_isolation = REPEATABLE-READ - default_storage_engine = innodb - character-set-server = utf8mb4 - collation-server=utf8mb4_bin - binlog_format = ROW - binlog_rows_query_log_events=on - binlog_cache_size=4M - binlog_expire_logs_seconds = 1296000 - max_binlog_cache_size=2G - gtid_mode = on - enforce_gtid_consistency = 1 - sync_binlog = 1 - innodb_flush_log_at_trx_commit = 1 - innodb_flush_method = O_DIRECT - log_slave_updates=1 - relay_log_recovery = 1 - relay-log-purge = 1 - default_time_zone = '+08:00' - lower_case_table_names=1 - log_bin_trust_function_creators=1 - group_concat_max_len=67108864 - innodb_io_capacity = 4000 - innodb_io_capacity_max = 8000 - innodb_flush_sync = 0 - innodb_flush_neighbors = 0 - innodb_write_io_threads = 8 - innodb_read_io_threads = 8 - innodb_purge_threads = 4 - innodb_page_cleaners = 4 - innodb_open_files = 65535 - innodb_max_dirty_pages_pct = 50 - innodb_lru_scan_depth = 4000 - innodb_checksum_algorithm = crc32 - innodb_lock_wait_timeout = 10 - innodb_rollback_on_timeout = 1 - innodb_print_all_deadlocks = 1 - innodb_file_per_table = 1 - innodb_online_alter_log_max_size = 4G - innodb_stats_on_metadata = 0 - innodb_thread_concurrency = 0 - innodb_sync_spin_loops = 100 - innodb_spin_wait_delay = 30 - lock_wait_timeout = 3600 - slow_query_log = 1 - long_query_time = 10 - log_queries_not_using_indexes =1 - log_throttle_queries_not_using_indexes = 60 - min_examined_row_limit = 100 - log_slow_admin_statements = 1 - log_slow_slave_statements = 1 - default_authentication_plugin=mysql_native_password - skip-name-resolve=1 - explicit_defaults_for_timestamp=1 - plugin_dir=/opt/bitnami/mysql/plugin - max_allowed_packet=128M - max_connections = 2000 - max_connect_errors = 1000000 - table_definition_cache=2000 - table_open_cache_instances=64 - tablespace_definition_cache=1024 - thread_cache_size=256 - interactive_timeout = 600 - wait_timeout = 600 - tmpdir=/opt/bitnami/mysql/tmp - max_allowed_packet=32M - bind-address=0.0.0.0 - performance_schema = 1 - performance_schema_instrument = '%memory%=on' - performance_schema_instrument = '%lock%=on' - innodb_monitor_enable=ALL - - [mysql] - no-auto-rehash - - [mysqldump] - quick - max_allowed_packet = 32M - - [client] - port=3306 - socket=/opt/bitnami/mysql/tmp/mysql.sock - default-character-set=UTF8 - plugin_dir=/opt/bitnami/mysql/plugin - - [manager] - port=3306 - socket=/opt/bitnami/mysql/tmp/mysql.sock - pid-file=/opt/bitnami/mysql/tmp/mysqld.pid ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-mysql-init-scripts - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/component: primary -data: - create_users_grants_core.sql: |- - create - user zyly@'%' identified by 'Cmii@451315'; - grant select on *.* to zyly@'%'; - create - user zyly_qc@'%' identified by 'Uh)E_owCyb16'; - grant all - on *.* to zyly_qc@'%'; - create - user k8s_admin@'%' identified by 'VFJncwy58^Zm'; - grant all - on *.* to k8s_admin@'%'; - create - user audit_dba@'%' identified by 'PjCzqiBmJaTpgkoYXynH'; - grant all - on *.* to audit_dba@'%'; - create - user db_backup@'%' identified by 'RU5Pu(4FGdT9'; - GRANT - SELECT, RELOAD, PROCESS, LOCK TABLES, REPLICATION CLIENT, EVENT - on *.* to db_backup@'%'; - create - user monitor@'%' identified by 'PL3#nGtrWbf-'; - grant REPLICATION - CLIENT on *.* to monitor@'%'; - flush - privileges; ---- -kind: Service -apiVersion: v1 -metadata: - name: cmii-mysql - namespace: uavcloud-devflight - labels: - app.kubernetes.io/component: primary - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-devflight - cmii.app: mysql - cmii.type: middleware - octopus.control: mysql-db-wdd -spec: - ports: - - name: mysql - protocol: TCP - port: 13306 - targetPort: mysql - selector: - app.kubernetes.io/component: primary - app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-devflight - cmii.app: mysql - cmii.type: middleware - type: ClusterIP ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-mysql-headless - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - cmii.type: middleware - cmii.app: mysql - app.kubernetes.io/component: primary - annotations: { } -spec: - type: ClusterIP - clusterIP: None - publishNotReadyAddresses: true - ports: - - name: mysql - port: 3306 - targetPort: mysql - selector: - app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-devflight - cmii.type: middleware - cmii.app: mysql - app.kubernetes.io/component: primary ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-mysql - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - cmii.type: middleware - cmii.app: mysql - app.kubernetes.io/component: primary - annotations: { } -spec: - type: NodePort - ports: - - name: mysql - port: 3306 - protocol: TCP - targetPort: mysql - nodePort: 33307 - selector: - app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-devflight - cmii.type: middleware - cmii.app: mysql - app.kubernetes.io/component: primary ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: helm-mysql - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - cmii.type: middleware - cmii.app: mysql - app.kubernetes.io/component: primary -spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-devflight - cmii.type: middleware - cmii.app: mysql - app.kubernetes.io/component: primary - serviceName: helm-mysql - updateStrategy: - type: RollingUpdate - template: - metadata: - annotations: - checksum/configuration: 6b60fa0f3a846a6ada8effdc4f823cf8003d42a8c8f630fe8b1b66d3454082dd - labels: - app.kubernetes.io/name: mysql-db - octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - cmii.type: middleware - cmii.app: mysql - app.kubernetes.io/component: primary - spec: - imagePullSecrets: - - name: harborsecret - serviceAccountName: helm-mysql - affinity: { } - nodeSelector: - mysql-deploy: "true" - securityContext: - fsGroup: 1001 - initContainers: - - name: change-volume-permissions - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/bitnami-shell:11-debian-11-r136 - imagePullPolicy: "Always" - command: - - /bin/bash - - -ec - - | - chown -R 1001:1001 /bitnami/mysql - securityContext: - runAsUser: 0 - volumeMounts: - - name: mysql-data - mountPath: /bitnami/mysql - containers: - - name: mysql - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/mysql:8.1.0-debian-11-r42 - imagePullPolicy: "IfNotPresent" - securityContext: - runAsUser: 1001 - env: - - name: BITNAMI_DEBUG - value: "true" - - name: MYSQL_ROOT_PASSWORD - valueFrom: - secretKeyRef: - name: helm-mysql - key: mysql-root-password - - name: MYSQL_DATABASE - value: "cmii" - ports: - - name: mysql - containerPort: 3306 - livenessProbe: - failureThreshold: 5 - initialDelaySeconds: 120 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 3 - exec: - command: - - /bin/bash - - -ec - - | - password_aux="${MYSQL_ROOT_PASSWORD:-}" - if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then - password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") - fi - mysqladmin status -uroot -p"${password_aux}" - readinessProbe: - failureThreshold: 5 - initialDelaySeconds: 30 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 3 - exec: - command: - - /bin/bash - - -ec - - | - password_aux="${MYSQL_ROOT_PASSWORD:-}" - if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then - password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") - fi - mysqladmin status -uroot -p"${password_aux}" - startupProbe: - failureThreshold: 60 - initialDelaySeconds: 120 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 1 - exec: - command: - - /bin/bash - - -ec - - | - password_aux="${MYSQL_ROOT_PASSWORD:-}" - if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then - password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") - fi - mysqladmin status -uroot -p"${password_aux}" - resources: - limits: { } - requests: { } - volumeMounts: - - name: mysql-data - mountPath: /bitnami/mysql - - name: custom-init-scripts - mountPath: /docker-entrypoint-initdb.d - - name: config - mountPath: /opt/bitnami/mysql/conf/my.cnf - subPath: my.cnf - volumes: - - name: config - configMap: - name: helm-mysql - - name: custom-init-scripts - configMap: - name: helm-mysql-init-scripts - - name: mysql-data - hostPath: - path: /var/lib/docker/mysql-pv/uavcloud-devflight/ diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-nacos.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-nacos.yaml deleted file mode 100644 index a748f17..0000000 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-nacos.yaml +++ /dev/null @@ -1,130 +0,0 @@ ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-nacos-cm - namespace: uavcloud-devflight - labels: - cmii.app: helm-nacos - cmii.type: middleware - octopus.control: nacos-wdd - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/version: 5.6.0 -data: - mysql.db.name: "cmii_nacos_config" - mysql.db.host: "helm-mysql" - mysql.port: "3306" - mysql.user: "k8s_admin" - mysql.password: "VFJncwy58^Zm" ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-nacos - namespace: uavcloud-devflight - labels: - cmii.app: helm-nacos - cmii.type: middleware - octopus.control: nacos-wdd - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/version: 5.6.0 -spec: - type: NodePort - selector: - cmii.app: helm-nacos - cmii.type: middleware - ports: - - port: 8848 - name: server - targetPort: 8848 - nodePort: 33849 - - port: 9848 - name: server12 - targetPort: 9848 - - port: 9849 - name: server23 - targetPort: 9849 ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: helm-nacos - namespace: uavcloud-devflight - labels: - cmii.app: helm-nacos - cmii.type: middleware - octopus.control: nacos-wdd - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/version: 5.6.0 -spec: - serviceName: helm-nacos - replicas: 1 - selector: - matchLabels: - cmii.app: helm-nacos - cmii.type: middleware - template: - metadata: - labels: - cmii.app: helm-nacos - cmii.type: middleware - octopus.control: nacos-wdd - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/version: 5.6.0 - annotations: - pod.alpha.kubernetes.io/initialized: "true" - spec: - imagePullSecrets: - - name: harborsecret - affinity: { } - containers: - - name: nacos-server - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/nacos-server:v2.1.2 - ports: - - containerPort: 8848 - name: dashboard - - containerPort: 9848 - name: tcp-9848 - - containerPort: 9849 - name: tcp-9849 - env: - - name: NACOS_AUTH_ENABLE - value: "false" - - name: NACOS_REPLICAS - value: "1" - - name: MYSQL_SERVICE_DB_NAME - valueFrom: - configMapKeyRef: - name: helm-nacos-cm - key: mysql.db.name - - name: MYSQL_SERVICE_PORT - valueFrom: - configMapKeyRef: - name: helm-nacos-cm - key: mysql.port - - name: MYSQL_SERVICE_USER - valueFrom: - configMapKeyRef: - name: helm-nacos-cm - key: mysql.user - - name: MYSQL_SERVICE_PASSWORD - valueFrom: - configMapKeyRef: - name: helm-nacos-cm - key: mysql.password - - name: MYSQL_SERVICE_HOST - valueFrom: - configMapKeyRef: - name: helm-nacos-cm - key: mysql.db.host - - name: NACOS_SERVER_PORT - value: "8848" - - name: NACOS_APPLICATION_PORT - value: "8848" - - name: PREFER_HOST_MODE - value: "hostname" - - name: MODE - value: standalone - - name: SPRING_DATASOURCE_PLATFORM - value: mysql ---- diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-pvc.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-pvc.yaml deleted file mode 100644 index ebce971..0000000 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-pvc.yaml +++ /dev/null @@ -1,76 +0,0 @@ ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: nfs-backend-log-pvc - namespace: uavcloud-devflight - labels: - cmii.type: middleware-base - cmii.app: nfs-backend-log-pvc - helm.sh/chart: all-persistence-volume-claims-1.1.0 - app.kubernetes.io/version: 5.6.0 -spec: - storageClassName: nfs-prod-distribute - accessModes: - - ReadWriteMany - volumeMode: Filesystem - resources: - requests: - storage: 100Gi ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: helm-emqxs - namespace: uavcloud-devflight - labels: - cmii.type: middleware-base - cmii.app: helm-emqxs - helm.sh/chart: all-persistence-volume-claims-1.1.0 - app.kubernetes.io/version: 5.6.0 -spec: - storageClassName: nfs-prod-distribute - accessModes: - - ReadWriteMany - volumeMode: Filesystem - resources: - requests: - storage: 20Gi ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: helm-mongo - namespace: uavcloud-devflight - labels: - cmii.type: middleware-base - cmii.app: helm-mongo - helm.sh/chart: all-persistence-volume-claims-1.1.0 - app.kubernetes.io/version: 5.6.0 -spec: - storageClassName: nfs-prod-distribute - accessModes: - - ReadWriteMany - volumeMode: Filesystem - resources: - requests: - storage: 30Gi ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: helm-rabbitmq - namespace: uavcloud-devflight - labels: - cmii.type: middleware-base - cmii.app: helm-rabbitmq - helm.sh/chart: all-persistence-volume-claims-1.1.0 - app.kubernetes.io/version: 5.6.0 -spec: - storageClassName: nfs-prod-distribute - accessModes: - - ReadWriteMany - volumeMode: Filesystem - resources: - requests: - storage: 20Gi diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-rabbitmq.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-rabbitmq.yaml deleted file mode 100644 index a303b94..0000000 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-rabbitmq.yaml +++ /dev/null @@ -1,328 +0,0 @@ ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: helm-rabbitmq - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -automountServiceAccountToken: true -secrets: - - name: helm-rabbitmq ---- -apiVersion: v1 -kind: Secret -metadata: - name: helm-rabbitmq - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -type: Opaque -data: - rabbitmq-password: "N3YmNyN3MWVmKVQt" - rabbitmq-erlang-cookie: "emFBRmt1ZU1xMkJieXZvdHRYbWpoWk52UThuVXFzcTU=" ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-rabbitmq-config - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -data: - rabbitmq.conf: |- - ## Username and password - ## - default_user = admin - default_pass = 7v&7#w1ef)T- - ## Clustering - ## - cluster_formation.peer_discovery_backend = rabbit_peer_discovery_k8s - cluster_formation.k8s.host = kubernetes.default.svc.cluster.local - cluster_formation.node_cleanup.interval = 10 - cluster_formation.node_cleanup.only_log_warning = true - cluster_partition_handling = autoheal - # queue master locator - queue_master_locator = min-masters - # enable guest user - loopback_users.guest = false - #default_vhost = default-vhost - #disk_free_limit.absolute = 50MB - #load_definitions = /app/load_definition.json ---- -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: helm-rabbitmq-endpoint-reader - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -rules: - - apiGroups: [ "" ] - resources: [ "endpoints" ] - verbs: [ "get" ] - - apiGroups: [ "" ] - resources: [ "events" ] - verbs: [ "create" ] ---- -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: helm-rabbitmq-endpoint-reader - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -subjects: - - kind: ServiceAccount - name: helm-rabbitmq -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: helm-rabbitmq-endpoint-reader ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-rabbitmq-headless - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -spec: - clusterIP: None - ports: - - name: epmd - port: 4369 - targetPort: epmd - - name: amqp - port: 5672 - targetPort: amqp - - name: dist - port: 25672 - targetPort: dist - - name: dashboard - port: 15672 - targetPort: stats - selector: - app.kubernetes.io/name: helm-rabbitmq - app.kubernetes.io/release: uavcloud-devflight - publishNotReadyAddresses: true ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-rabbitmq - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -spec: - type: NodePort - ports: - - name: amqp - port: 5672 - targetPort: amqp - nodePort: 35673 - - name: dashboard - port: 15672 - targetPort: dashboard - nodePort: 36676 - selector: - app.kubernetes.io/name: helm-rabbitmq - app.kubernetes.io/release: uavcloud-devflight ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: helm-rabbitmq - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq -spec: - serviceName: helm-rabbitmq-headless - podManagementPolicy: OrderedReady - replicas: 1 - updateStrategy: - type: RollingUpdate - selector: - matchLabels: - app.kubernetes.io/name: helm-rabbitmq - app.kubernetes.io/release: uavcloud-devflight - template: - metadata: - labels: - app.kubernetes.io/name: helm-rabbitmq - helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: rabbitmq - annotations: - checksum/config: d6c2caa9572f64a06d9f7daa34c664a186b4778cd1697ef8e59663152fc628f1 - checksum/secret: d764e7b3d999e7324d1afdfec6140092a612f04b6e0306818675815cec2f454f - spec: - imagePullSecrets: - - name: harborsecret - serviceAccountName: helm-rabbitmq - affinity: { } - securityContext: - fsGroup: 5001 - runAsUser: 5001 - terminationGracePeriodSeconds: 120 - initContainers: - - name: volume-permissions - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/bitnami-shell:11-debian-11-r136 - imagePullPolicy: "Always" - command: - - /bin/bash - args: - - -ec - - | - mkdir -p "/bitnami/rabbitmq/mnesia" - chown -R "5001:5001" "/bitnami/rabbitmq/mnesia" - securityContext: - runAsUser: 0 - resources: - limits: { } - requests: { } - volumeMounts: - - name: data - mountPath: /bitnami/rabbitmq/mnesia - containers: - - name: rabbitmq - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/rabbitmq:3.9.12-debian-10-r3 - imagePullPolicy: "Always" - env: - - name: BITNAMI_DEBUG - value: "false" - - name: MY_POD_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: MY_POD_NAME - valueFrom: - fieldRef: - fieldPath: metadata.name - - name: MY_POD_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: K8S_SERVICE_NAME - value: "helm-rabbitmq-headless" - - name: K8S_ADDRESS_TYPE - value: hostname - - name: RABBITMQ_FORCE_BOOT - value: "no" - - name: RABBITMQ_NODE_NAME - value: "rabbit@$(MY_POD_NAME).$(K8S_SERVICE_NAME).$(MY_POD_NAMESPACE).svc.cluster.local" - - name: K8S_HOSTNAME_SUFFIX - value: ".$(K8S_SERVICE_NAME).$(MY_POD_NAMESPACE).svc.cluster.local" - - name: RABBITMQ_MNESIA_DIR - value: "/bitnami/rabbitmq/mnesia/$(RABBITMQ_NODE_NAME)" - - name: RABBITMQ_LDAP_ENABLE - value: "no" - - name: RABBITMQ_LOGS - value: "-" - - name: RABBITMQ_ULIMIT_NOFILES - value: "65536" - - name: RABBITMQ_USE_LONGNAME - value: "true" - - name: RABBITMQ_ERL_COOKIE - valueFrom: - secretKeyRef: - name: helm-rabbitmq - key: rabbitmq-erlang-cookie - - name: RABBITMQ_LOAD_DEFINITIONS - value: "no" - - name: RABBITMQ_SECURE_PASSWORD - value: "yes" - - name: RABBITMQ_USERNAME - value: "admin" - - name: RABBITMQ_PASSWORD - valueFrom: - secretKeyRef: - name: helm-rabbitmq - key: rabbitmq-password - - name: RABBITMQ_PLUGINS - value: "rabbitmq_management, rabbitmq_peer_discovery_k8s, rabbitmq_shovel, rabbitmq_shovel_management, rabbitmq_auth_backend_ldap" - ports: - - name: amqp - containerPort: 5672 - - name: dist - containerPort: 25672 - - name: dashboard - containerPort: 15672 - - name: epmd - containerPort: 4369 - livenessProbe: - exec: - command: - - /bin/bash - - -ec - - rabbitmq-diagnostics -q ping - initialDelaySeconds: 120 - periodSeconds: 30 - timeoutSeconds: 20 - successThreshold: 1 - failureThreshold: 6 - readinessProbe: - exec: - command: - - /bin/bash - - -ec - - rabbitmq-diagnostics -q check_running && rabbitmq-diagnostics -q check_local_alarms - initialDelaySeconds: 10 - periodSeconds: 30 - timeoutSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - lifecycle: - preStop: - exec: - command: - - /bin/bash - - -ec - - | - if [[ -f /opt/bitnami/scripts/rabbitmq/nodeshutdown.sh ]]; then - /opt/bitnami/scripts/rabbitmq/nodeshutdown.sh -t "120" -d "false" - else - rabbitmqctl stop_app - fi - resources: - limits: { } - requests: { } - volumeMounts: - - name: configuration - mountPath: /bitnami/rabbitmq/conf - - name: data - mountPath: /bitnami/rabbitmq/mnesia - volumes: - - name: configuration - configMap: - name: helm-rabbitmq-config - items: - - key: rabbitmq.conf - path: rabbitmq.conf - - name: data - persistentVolumeClaim: - claimName: helm-rabbitmq diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-redis.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-redis.yaml deleted file mode 100644 index dc90b01..0000000 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-redis.yaml +++ /dev/null @@ -1,585 +0,0 @@ ---- -apiVersion: v1 -kind: ServiceAccount -automountServiceAccountToken: true -metadata: - name: helm-redis - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus ---- -apiVersion: v1 -kind: Secret -metadata: - name: helm-redis - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus -type: Opaque -data: - redis-password: "TWNhY2hlQDQ1MjI=" ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-redis-configuration - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus -data: - redis.conf: |- - # User-supplied common configuration: - # Enable AOF https://redis.io/topics/persistence#append-only-file - appendonly yes - # Disable RDB persistence, AOF persistence already enabled. - save "" - # End of common configuration - master.conf: |- - dir /data - # User-supplied master configuration: - rename-command FLUSHDB "" - rename-command FLUSHALL "" - # End of master configuration - replica.conf: |- - dir /data - slave-read-only yes - # User-supplied replica configuration: - rename-command FLUSHDB "" - rename-command FLUSHALL "" - # End of replica configuration ---- -# Source: outside-deploy/charts/redis-db/templates/health-configmap.yaml -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-redis-health - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus -data: - ping_readiness_local.sh: |- - #!/bin/bash - - [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" - [[ -n "$REDIS_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_PASSWORD" - response=$( - timeout -s 3 $1 \ - redis-cli \ - -h localhost \ - -p $REDIS_PORT \ - ping - ) - if [ "$response" != "PONG" ]; then - echo "$response" - exit 1 - fi - ping_liveness_local.sh: |- - #!/bin/bash - - [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" - [[ -n "$REDIS_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_PASSWORD" - response=$( - timeout -s 3 $1 \ - redis-cli \ - -h localhost \ - -p $REDIS_PORT \ - ping - ) - if [ "$response" != "PONG" ] && [ "$response" != "LOADING Redis is loading the dataset in memory" ]; then - echo "$response" - exit 1 - fi - ping_readiness_master.sh: |- - #!/bin/bash - - [[ -f $REDIS_MASTER_PASSWORD_FILE ]] && export REDIS_MASTER_PASSWORD="$(< "${REDIS_MASTER_PASSWORD_FILE}")" - [[ -n "$REDIS_MASTER_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_MASTER_PASSWORD" - response=$( - timeout -s 3 $1 \ - redis-cli \ - -h $REDIS_MASTER_HOST \ - -p $REDIS_MASTER_PORT_NUMBER \ - ping - ) - if [ "$response" != "PONG" ]; then - echo "$response" - exit 1 - fi - ping_liveness_master.sh: |- - #!/bin/bash - - [[ -f $REDIS_MASTER_PASSWORD_FILE ]] && export REDIS_MASTER_PASSWORD="$(< "${REDIS_MASTER_PASSWORD_FILE}")" - [[ -n "$REDIS_MASTER_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_MASTER_PASSWORD" - response=$( - timeout -s 3 $1 \ - redis-cli \ - -h $REDIS_MASTER_HOST \ - -p $REDIS_MASTER_PORT_NUMBER \ - ping - ) - if [ "$response" != "PONG" ] && [ "$response" != "LOADING Redis is loading the dataset in memory" ]; then - echo "$response" - exit 1 - fi - ping_readiness_local_and_master.sh: |- - script_dir="$(dirname "$0")" - exit_status=0 - "$script_dir/ping_readiness_local.sh" $1 || exit_status=$? - "$script_dir/ping_readiness_master.sh" $1 || exit_status=$? - exit $exit_status - ping_liveness_local_and_master.sh: |- - script_dir="$(dirname "$0")" - exit_status=0 - "$script_dir/ping_liveness_local.sh" $1 || exit_status=$? - "$script_dir/ping_liveness_master.sh" $1 || exit_status=$? - exit $exit_status ---- -# Source: outside-deploy/charts/redis-db/templates/scripts-configmap.yaml -apiVersion: v1 -kind: ConfigMap -metadata: - name: helm-redis-scripts - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus -data: - start-master.sh: | - #!/bin/bash - - [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" - if [[ ! -f /opt/bitnami/redis/etc/master.conf ]];then - cp /opt/bitnami/redis/mounted-etc/master.conf /opt/bitnami/redis/etc/master.conf - fi - if [[ ! -f /opt/bitnami/redis/etc/redis.conf ]];then - cp /opt/bitnami/redis/mounted-etc/redis.conf /opt/bitnami/redis/etc/redis.conf - fi - ARGS=("--port" "${REDIS_PORT}") - ARGS+=("--requirepass" "${REDIS_PASSWORD}") - ARGS+=("--masterauth" "${REDIS_PASSWORD}") - ARGS+=("--include" "/opt/bitnami/redis/etc/redis.conf") - ARGS+=("--include" "/opt/bitnami/redis/etc/master.conf") - exec redis-server "${ARGS[@]}" - start-replica.sh: | - #!/bin/bash - - get_port() { - hostname="$1" - type="$2" - - port_var=$(echo "${hostname^^}_SERVICE_PORT_$type" | sed "s/-/_/g") - port=${!port_var} - - if [ -z "$port" ]; then - case $type in - "SENTINEL") - echo 26379 - ;; - "REDIS") - echo 6379 - ;; - esac - else - echo $port - fi - } - - get_full_hostname() { - hostname="$1" - echo "${hostname}.${HEADLESS_SERVICE}" - } - - REDISPORT=$(get_port "$HOSTNAME" "REDIS") - - [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" - [[ -f $REDIS_MASTER_PASSWORD_FILE ]] && export REDIS_MASTER_PASSWORD="$(< "${REDIS_MASTER_PASSWORD_FILE}")" - if [[ ! -f /opt/bitnami/redis/etc/replica.conf ]];then - cp /opt/bitnami/redis/mounted-etc/replica.conf /opt/bitnami/redis/etc/replica.conf - fi - if [[ ! -f /opt/bitnami/redis/etc/redis.conf ]];then - cp /opt/bitnami/redis/mounted-etc/redis.conf /opt/bitnami/redis/etc/redis.conf - fi - - echo "" >> /opt/bitnami/redis/etc/replica.conf - echo "replica-announce-port $REDISPORT" >> /opt/bitnami/redis/etc/replica.conf - echo "replica-announce-ip $(get_full_hostname "$HOSTNAME")" >> /opt/bitnami/redis/etc/replica.conf - ARGS=("--port" "${REDIS_PORT}") - ARGS+=("--slaveof" "${REDIS_MASTER_HOST}" "${REDIS_MASTER_PORT_NUMBER}") - ARGS+=("--requirepass" "${REDIS_PASSWORD}") - ARGS+=("--masterauth" "${REDIS_MASTER_PASSWORD}") - ARGS+=("--include" "/opt/bitnami/redis/etc/redis.conf") - ARGS+=("--include" "/opt/bitnami/redis/etc/replica.conf") - exec redis-server "${ARGS[@]}" ---- -# Source: outside-deploy/charts/redis-db/templates/headless-svc.yaml -apiVersion: v1 -kind: Service -metadata: - name: helm-redis-headless - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus -spec: - type: ClusterIP - clusterIP: None - ports: - - name: tcp-redis - port: 6379 - targetPort: redis - selector: - app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-devflight ---- -# Source: outside-deploy/charts/redis-db/templates/master/service.yaml -apiVersion: v1 -kind: Service -metadata: - name: helm-redis-master - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - cmii.type: middleware - cmii.app: redis - app.kubernetes.io/component: master -spec: - type: ClusterIP - - ports: - - name: tcp-redis - port: 6379 - targetPort: redis - nodePort: null - selector: - app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-devflight - cmii.type: middleware - cmii.app: redis - app.kubernetes.io/component: master ---- -# Source: outside-deploy/charts/redis-db/templates/replicas/service.yaml -apiVersion: v1 -kind: Service -metadata: - name: helm-redis-replicas - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/component: replica -spec: - type: ClusterIP - ports: - - name: tcp-redis - port: 6379 - targetPort: redis - nodePort: null - selector: - app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/component: replica ---- -# Source: outside-deploy/charts/redis-db/templates/master/statefulset.yaml -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: helm-redis-master - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - cmii.type: middleware - cmii.app: redis - app.kubernetes.io/component: master -spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-devflight - cmii.type: middleware - cmii.app: redis - app.kubernetes.io/component: master - serviceName: helm-redis-headless - updateStrategy: - rollingUpdate: { } - type: RollingUpdate - template: - metadata: - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - cmii.type: middleware - cmii.app: redis - app.kubernetes.io/component: master - annotations: - checksum/configmap: b64aa5db67e6e63811f3c1095b9fce34d83c86a471fccdda0e48eedb53a179b0 - checksum/health: 6e0a6330e5ac63e565ae92af1444527d72d8897f91266f333555b3d323570623 - checksum/scripts: b88df93710b7c42a76006e20218f05c6e500e6cc2affd4bb1985832f03166e98 - checksum/secret: 43f1b0e20f9cb2de936bd182bc3683b720fc3cf4f4e76cb23c06a52398a50e8d - spec: - affinity: { } - securityContext: - fsGroup: 1001 - serviceAccountName: helm-redis - imagePullSecrets: - - name: harborsecret - terminationGracePeriodSeconds: 30 - containers: - - name: redis - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/redis:6.2.6-debian-10-r0 - imagePullPolicy: "Always" - securityContext: - runAsUser: 1001 - command: - - /bin/bash - args: - - -c - - /opt/bitnami/scripts/start-scripts/start-master.sh - env: - - name: BITNAMI_DEBUG - value: "false" - - name: REDIS_REPLICATION_MODE - value: master - - name: ALLOW_EMPTY_PASSWORD - value: "no" - - name: REDIS_PASSWORD - valueFrom: - secretKeyRef: - name: helm-redis - key: redis-password - - name: REDIS_TLS_ENABLED - value: "no" - - name: REDIS_PORT - value: "6379" - ports: - - name: redis - containerPort: 6379 - livenessProbe: - initialDelaySeconds: 20 - periodSeconds: 5 - # One second longer than command timeout should prevent generation of zombie processes. - timeoutSeconds: 6 - successThreshold: 1 - failureThreshold: 5 - exec: - command: - - sh - - -c - - /health/ping_liveness_local.sh 5 - readinessProbe: - initialDelaySeconds: 20 - periodSeconds: 5 - timeoutSeconds: 2 - successThreshold: 1 - failureThreshold: 5 - exec: - command: - - sh - - -c - - /health/ping_readiness_local.sh 1 - resources: - limits: - cpu: "2" - memory: 8Gi - requests: - cpu: "100m" - memory: 1Gi - volumeMounts: - - name: start-scripts - mountPath: /opt/bitnami/scripts/start-scripts - - name: health - mountPath: /health - - name: redis-data - mountPath: /data - subPath: - - name: config - mountPath: /opt/bitnami/redis/mounted-etc - - name: redis-tmp-conf - mountPath: /opt/bitnami/redis/etc/ - - name: tmp - mountPath: /tmp - volumes: - - name: start-scripts - configMap: - name: helm-redis-scripts - defaultMode: 0755 - - name: health - configMap: - name: helm-redis-health - defaultMode: 0755 - - name: config - configMap: - name: helm-redis-configuration - - name: redis-tmp-conf - emptyDir: { } - - name: tmp - emptyDir: { } - - name: redis-data - emptyDir: { } ---- -# Source: outside-deploy/charts/redis-db/templates/replicas/statefulset.yaml -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: helm-redis-replicas - namespace: uavcloud-devflight - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/component: replica -spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/component: replica - serviceName: helm-redis-headless - updateStrategy: - rollingUpdate: { } - type: RollingUpdate - template: - metadata: - labels: - app.kubernetes.io/name: redis-db - octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-devflight - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/component: replica - annotations: - checksum/configmap: b64aa5db67e6e63811f3c1095b9fce34d83c86a471fccdda0e48eedb53a179b0 - checksum/health: 6e0a6330e5ac63e565ae92af1444527d72d8897f91266f333555b3d323570623 - checksum/scripts: b88df93710b7c42a76006e20218f05c6e500e6cc2affd4bb1985832f03166e98 - checksum/secret: 43f1b0e20f9cb2de936bd182bc3683b720fc3cf4f4e76cb23c06a52398a50e8d - spec: - imagePullSecrets: - - name: harborsecret - securityContext: - fsGroup: 1001 - serviceAccountName: helm-redis - terminationGracePeriodSeconds: 30 - containers: - - name: redis - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/redis:6.2.6-debian-10-r0 - imagePullPolicy: "Always" - securityContext: - runAsUser: 1001 - command: - - /bin/bash - args: - - -c - - /opt/bitnami/scripts/start-scripts/start-replica.sh - env: - - name: BITNAMI_DEBUG - value: "false" - - name: REDIS_REPLICATION_MODE - value: slave - - name: REDIS_MASTER_HOST - value: helm-redis-master-0.helm-redis-headless.uavcloud-devflight.svc.cluster.local - - name: REDIS_MASTER_PORT_NUMBER - value: "6379" - - name: ALLOW_EMPTY_PASSWORD - value: "no" - - name: REDIS_PASSWORD - valueFrom: - secretKeyRef: - name: helm-redis - key: redis-password - - name: REDIS_MASTER_PASSWORD - valueFrom: - secretKeyRef: - name: helm-redis - key: redis-password - - name: REDIS_TLS_ENABLED - value: "no" - - name: REDIS_PORT - value: "6379" - ports: - - name: redis - containerPort: 6379 - livenessProbe: - initialDelaySeconds: 20 - periodSeconds: 5 - timeoutSeconds: 6 - successThreshold: 1 - failureThreshold: 5 - exec: - command: - - sh - - -c - - /health/ping_liveness_local_and_master.sh 5 - readinessProbe: - initialDelaySeconds: 20 - periodSeconds: 5 - timeoutSeconds: 2 - successThreshold: 1 - failureThreshold: 5 - exec: - command: - - sh - - -c - - /health/ping_readiness_local_and_master.sh 1 - resources: - limits: - cpu: "2" - memory: 8Gi - requests: - cpu: "100m" - memory: 1Gi - volumeMounts: - - name: start-scripts - mountPath: /opt/bitnami/scripts/start-scripts - - name: health - mountPath: /health - - name: redis-data - mountPath: /data - subPath: - - name: config - mountPath: /opt/bitnami/redis/mounted-etc - - name: redis-tmp-conf - mountPath: /opt/bitnami/redis/etc - volumes: - - name: start-scripts - configMap: - name: helm-redis-scripts - defaultMode: 0755 - - name: health - configMap: - name: helm-redis-health - defaultMode: 0755 - - name: config - configMap: - name: helm-redis-configuration - - name: redis-tmp-conf - emptyDir: { } - - name: redis-data - emptyDir: { } - diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-srs.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-srs.yaml deleted file mode 100644 index ec902bd..0000000 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-srs.yaml +++ /dev/null @@ -1,496 +0,0 @@ ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: helm-live-srs-cm - namespace: uavcloud-devflight - labels: - cmii.app: live-srs - cmii.type: live - octopus.control: wdd - app.kubernetes.io/managed-by: octopus - helm.sh/chart: cmlc-live-srs-rtc-2.0.0 -data: - srs.rtc.conf: |- - listen 30936; - max_connections 4096; - srs_log_tank console; - srs_log_level info; - srs_log_file /home/srs.log; - daemon off; - http_api { - enabled on; - listen 1985; - crossdomain on; - } - stats { - network 0; - } - http_server { - enabled on; - listen 8080; - dir /home/hls; - } - srt_server { - enabled on; - listen 30556; - maxbw 1000000000; - connect_timeout 4000; - peerlatency 600; - recvlatency 600; - } - rtc_server { - enabled on; - listen 30091; - candidate $CANDIDATE; - } - vhost __defaultVhost__ { - http_hooks { - enabled on; - on_publish http://helm-live-op-svc-v2:8080/hooks/on_push; - } - http_remux { - enabled on; - } - rtc { - enabled on; - rtmp_to_rtc on; - rtc_to_rtmp on; - keep_bframe off; - } - tcp_nodelay on; - min_latency on; - play { - gop_cache off; - mw_latency 100; - mw_msgs 10; - } - publish { - firstpkt_timeout 8000; - normal_timeout 4000; - mr on; - } - dvr { - enabled off; - dvr_path /home/dvr/[app]/[stream]/[2006][01]/[timestamp].mp4; - dvr_plan session; - } - hls { - enabled on; - hls_path /home/hls; - hls_fragment 10; - hls_window 60; - hls_m3u8_file [app]/[stream].m3u8; - hls_ts_file [app]/[stream]/[2006][01][02]/[timestamp]-[duration].ts; - hls_cleanup on; - hls_entry_prefix http://36.133.115.164:58888; - } - } ---- -kind: Service -apiVersion: v1 -metadata: - name: helm-live-srs-svc-exporter - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus -spec: - ports: - - name: rtmp - protocol: TCP - port: 30935 - targetPort: 30935 - nodePort: 30936 - - name: rtc - protocol: UDP - port: 30090 - targetPort: 30090 - nodePort: 30091 - - name: rtc-tcp - protocol: TCP - port: 30090 - targetPort: 30090 - nodePort: 30091 - - name: srt - protocol: UDP - port: 30556 - targetPort: 30556 - nodePort: 30558 - - name: api - protocol: TCP - port: 1985 - targetPort: 1985 - nodePort: 30559 - selector: - srs-role: rtc - type: NodePort - sessionAffinity: None - externalTrafficPolicy: Cluster - ---- -kind: Service -apiVersion: v1 -metadata: - name: helm-live-srs-svc - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus -spec: - ports: - - name: http - protocol: TCP - port: 8080 - targetPort: 8080 - - name: api - protocol: TCP - port: 1985 - targetPort: 1985 - selector: - srs-role: rtc - type: ClusterIP - sessionAffinity: None - ---- -kind: Service -apiVersion: v1 -metadata: - name: helm-live-srsrtc-svc - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus -spec: - ports: - - name: rtmp - protocol: TCP - port: 30935 - targetPort: 30935 - selector: - srs-role: rtc - type: ClusterIP - sessionAffinity: None - ---- -kind: StatefulSet -apiVersion: apps/v1 -metadata: - name: helm-live-srs-rtc - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus - cmii.app: live-srs - cmii.type: live - helm.sh/chart: cmlc-live-srs-rtc-2.0.0 - srs-role: rtc -spec: - replicas: 1 - selector: - matchLabels: - srs-role: rtc - template: - metadata: - labels: - srs-role: rtc - spec: - volumes: - - name: srs-conf-file - configMap: - name: helm-live-srs-cm - items: - - key: srs.rtc.conf - path: docker.conf - defaultMode: 420 - - name: srs-vol - emptyDir: - sizeLimit: 8Gi - containers: - - name: srs-rtc - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/srs:v5.0.195 - ports: - - name: srs-rtmp - containerPort: 30935 - protocol: TCP - - name: srs-api - containerPort: 1985 - protocol: TCP - - name: srs-flv - containerPort: 8080 - protocol: TCP - - name: srs-webrtc - containerPort: 30090 - protocol: UDP - - name: srs-webrtc-tcp - containerPort: 30090 - protocol: TCP - - name: srs-srt - containerPort: 30556 - protocol: UDP - env: - - name: CANDIDATE - value: 36.133.115.164 - resources: - limits: - cpu: 2000m - memory: 4Gi - requests: - cpu: 100m - memory: 256Mi - volumeMounts: - - name: srs-conf-file - mountPath: /usr/local/srs/conf/docker.conf - subPath: docker.conf - - name: srs-vol - mountPath: /home/dvr - subPath: uavcloud-devflight/helm-live/dvr - - name: srs-vol - mountPath: /home/hls - subPath: uavcloud-devflight/helm-live/hls - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - imagePullPolicy: Always - - name: oss-adaptor - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-srs-oss-adaptor:2023-SA - env: - - name: OSS_ENDPOINT - value: 'http://:9000' - - name: OSS_AK - value: cmii - - name: OSS_SK - value: 'B#923fC7mk' - - name: OSS_BUCKET - value: live-cluster-hls - - name: SRS_OP - value: 'http://helm-live-op-svc-v2:8080' - - name: MYSQL_ENDPOINT - value: 'helm-mysql:3306' - - name: MYSQL_USERNAME - value: k8s_admin - - name: MYSQL_PASSWORD - value: VFJncwy58^Zm - - name: MYSQL_DATABASE - value: cmii_live_srs_op - - name: MYSQL_TABLE - value: live_segment - - name: LOG_LEVEL - value: info - - name: OSS_META - value: 'yes' - resources: - limits: - cpu: 2000m - memory: 4Gi - requests: - cpu: 100m - memory: 256Mi - volumeMounts: - - name: srs-vol - mountPath: /cmii/share/hls - subPath: uavcloud-devflight/helm-live/hls - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - imagePullPolicy: Always - restartPolicy: Always - terminationGracePeriodSeconds: 30 - dnsPolicy: ClusterFirst - securityContext: { } - imagePullSecrets: - - name: harborsecret - affinity: { } - schedulerName: default-scheduler - serviceName: helm-live-srsrtc-svc - podManagementPolicy: OrderedReady - updateStrategy: - type: RollingUpdate - rollingUpdate: - partition: 0 - revisionHistoryLimit: 10 ---- -# live-srs部分 ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: helm-live-op-v2 - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus - cmii.app: live-engine - cmii.type: live - helm.sh/chart: cmlc-live-live-op-2.0.0 - live-role: op-v2 -spec: - replicas: 1 - selector: - matchLabels: - live-role: op-v2 - template: - metadata: - labels: - live-role: op-v2 - spec: - volumes: - - name: srs-conf-file - configMap: - name: helm-live-op-cm-v2 - items: - - key: live.op.conf - path: bootstrap.yaml - defaultMode: 420 - containers: - - name: helm-live-op-v2 - image: chongqingcis-9b4a3da9.ecis.chongqing-1.cmecloud.cn/cmii/cmii-live-operator:5.2.0 - ports: - - name: operator - containerPort: 8080 - protocol: TCP - resources: - limits: - cpu: 4800m - memory: 4Gi - requests: - cpu: 100m - memory: 256Mi - volumeMounts: - - name: srs-conf-file - mountPath: /cmii/bootstrap.yaml - subPath: bootstrap.yaml - livenessProbe: - httpGet: - path: /cmii/health - port: 8080 - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: 8080 - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - imagePullPolicy: Always - restartPolicy: Always - terminationGracePeriodSeconds: 30 - dnsPolicy: ClusterFirst - securityContext: { } - imagePullSecrets: - - name: harborsecret - affinity: { } - schedulerName: default-scheduler - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 25% - maxSurge: 25% - revisionHistoryLimit: 10 - progressDeadlineSeconds: 600 ---- -kind: Service -apiVersion: v1 -metadata: - name: helm-live-op-svc-v2 - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus -spec: - ports: - - protocol: TCP - port: 8080 - targetPort: 8080 - nodePort: 30333 - selector: - live-role: op-v2 - type: NodePort - sessionAffinity: None ---- -kind: Service -apiVersion: v1 -metadata: - name: helm-live-op-svc - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus -spec: - ports: - - protocol: TCP - port: 8080 - targetPort: 8080 - selector: - live-role: op - type: ClusterIP - sessionAffinity: None ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: helm-live-op-cm-v2 - namespace: uavcloud-devflight - labels: - octopus.control: wdd - app.kubernetes.io/managed-by: octopus - cmii.app: live-engine - cmii.type: live -data: - live.op.conf: |- - server: - port: 8080 - spring: - main: - allow-bean-definition-overriding: true - allow-circular-references: true - application: - name: cmii-live-operator - platform: - info: - name: cmii-live-operator - description: cmii-live-operator - version: 5.6.0 - scanPackage: com.cmii.live.op - cloud: - nacos: - config: - username: developer - password: N@cos14Good - server-addr: helm-nacos:8848 - extension-configs: - - data-id: cmii-live-operator.yml - group: 5.6.0 - refresh: true - shared-configs: - - data-id: cmii-backend-system.yml - group: 5.6.0 - refresh: true - discovery: - enabled: false - - live: - engine: - type: srs - endpoint: 'http://helm-live-srs-svc:1985' - proto: - rtmp: 'rtmp://36.133.115.164:30936' - rtsp: 'rtsp://36.133.115.164:30554' - srt: 'srt://36.133.115.164:30558' - flv: 'http://36.133.115.164:30500' - hls: 'http://36.133.115.164:30500' - rtc: 'webrtc://36.133.115.164:30091' - replay: 'https://36.133.115.164:30333' - minio: - endpoint: http://:9000 - access-key: cmii - secret-key: B#923fC7mk - bucket: live-cluster-hls diff --git a/agent-deploy/d_app/CmiiImageConfig.go b/agent-deploy/d_app/CmiiImageConfig.go index e8121a5..6e8c3db 100755 --- a/agent-deploy/d_app/CmiiImageConfig.go +++ b/agent-deploy/d_app/CmiiImageConfig.go @@ -75,6 +75,7 @@ var CmiiFrontendAppMap = map[string]string{ "cmii-uav-platform-visualization": "5.2.0", "cmii-uav-platform-uasms": "5.2.0", "cmii-uav-platform-uas": "5.2.0", + "cmii-uav-platform-pilot2-to-cloud": "5.2.0", } var IgnoreCmiiBackendAppName = map[string]string{ diff --git a/agent-deploy/d_app/FrontendConfigMap.go b/agent-deploy/d_app/FrontendConfigMap.go index 9bb2592..24dad89 100755 --- a/agent-deploy/d_app/FrontendConfigMap.go +++ b/agent-deploy/d_app/FrontendConfigMap.go @@ -31,6 +31,8 @@ var FrontendShortNameMaps = map[string]string{ "cmii-uav-platform-uasms": "uasms", "cmii-uav-platform-uas": "uas", "cmii-uav-platform-dispatchh5": "dispatchh5", + "cmii-uav-platform-pilot2-to-cloud": "pilot2cloud", + "cmii-uav-platform-hyperspectral": "hyper", } var FrontendClientIdMaps = map[string]string{ @@ -64,4 +66,6 @@ var FrontendClientIdMaps = map[string]string{ "cmii-uav-platform-uasms": "empty", "cmii-uav-platform-uas": "empty", "cmii-uav-platform-dispatchh5": "empty", + "cmii-uav-platform-pilot2-to-cloud": "empty", + "cmii-uav-platform-hyperspectral": "empty", } diff --git a/agent-operator/CmiiDeployOperator_test.go b/agent-operator/CmiiDeployOperator_test.go index a6d9687..96bfcab 100755 --- a/agent-operator/CmiiDeployOperator_test.go +++ b/agent-operator/CmiiDeployOperator_test.go @@ -23,10 +23,10 @@ func TestCmiiEnvDeploy(t *testing.T) { HarborIPOrCustomImagePrefix: image2.CmiiHarborPrefix, HarborPort: "", Namespace: deployNamespace, - TagVersion: "5.6.0", + TagVersion: "5.7.0", } - CmiiEnvDeploy(cmiiDeployCommonEnv, true, deployNamespace) + CmiiEnvDeploy(cmiiDeployCommonEnv, false, deployNamespace) } diff --git a/agent-operator/CmiiK8sOperator_test.go b/agent-operator/CmiiK8sOperator_test.go index 1f86a95..572ce3a 100755 --- a/agent-operator/CmiiK8sOperator_test.go +++ b/agent-operator/CmiiK8sOperator_test.go @@ -149,70 +149,70 @@ func TestBackupAllCmiiDeploymentToList(t *testing.T) { // Update DEMO by Tag Update func TestUpdateCmiiImageTagFromNameTagMap(t *testing.T) { - cmii530BackendMap := map[string]string{ - "cmii-admin-data": "5.7.0", - "cmii-admin-gateway": "5.7.0", - "cmii-admin-user": "5.7.0", - "cmii-open-gateway": "5.7.0", - "cmii-suav-supervision": "5.7.0", - "cmii-uav-airspace": "5.7.0", - "cmii-uav-alarm": "5.7.0", - "cmii-uav-brain": "5.7.0", - "cmii-uav-cloud-live": "5.7.0", - "cmii-uav-cms": "5.7.0", - "cmii-uav-data-post-process": "5.7.0", - "cmii-uav-developer": "5.7.0", - "cmii-uav-device": "5.7.0", - "cmii-uav-emergency": "5.7.0", - "cmii-uav-gateway": "5.7.0", - "cmii-uav-gis-server": "5.7.0", - "cmii-uav-industrial-portfolio": "5.7.0", - "cmii-uav-integration": "5.7.0", - "cmii-uav-logger": "5.7.0", - "cmii-uav-material-warehouse": "5.7.0", - "cmii-uav-mission": "5.7.0", - "cmii-uav-mqtthandler": "5.7.0", - "cmii-uav-notice": "5.7.0", - "cmii-uav-oauth": "5.7.0", - "cmii-uav-process": "5.7.0", - "cmii-uav-surveillance": "5.7.0", - "cmii-uav-threedsimulation": "5.7.0", - "cmii-uav-tower": "5.7.0", - "cmii-uav-user": "5.7.0", - "cmii-uav-waypoint": "5.7.0", - "cmii-uav-sense-adapter": "5.7.0", - "cmii-uav-multilink": "5.7.0", + backendMap := map[string]string{ + "cmii-admin-data": "5.8.0", + "cmii-admin-gateway": "5.8.0", + "cmii-admin-user": "5.8.0", + "cmii-open-gateway": "5.8.0", + "cmii-suav-supervision": "5.8.0", + "cmii-uav-airspace": "5.8.0", + "cmii-uav-alarm": "5.8.0", + "cmii-uav-brain": "5.8.0", + "cmii-uav-cloud-live": "5.8.0", + "cmii-uav-cms": "5.8.0", + "cmii-uav-data-post-process": "5.8.0", + "cmii-uav-developer": "5.8.0", + "cmii-uav-device": "5.8.0", + "cmii-uav-emergency": "5.8.0", + "cmii-uav-gateway": "5.8.0", + "cmii-uav-gis-server": "5.8.0", + "cmii-uav-industrial-portfolio": "5.8.0", + "cmii-uav-integration": "5.8.0", + "cmii-uav-logger": "5.8.0", + "cmii-uav-material-warehouse": "5.8.0", + "cmii-uav-mission": "5.8.0", + "cmii-uav-mqtthandler": "5.8.0", + "cmii-uav-notice": "5.8.0", + "cmii-uav-oauth": "5.8.0", + "cmii-uav-process": "5.8.0", + "cmii-uav-surveillance": "5.8.0", + "cmii-uav-threedsimulation": "5.8.0", + "cmii-uav-tower": "5.8.0", + "cmii-uav-user": "5.8.0", + "cmii-uav-waypoint": "5.8.0", + "cmii-uav-sense-adapter": "5.8.0", + "cmii-uav-multilink": "5.8.0", } - cmii530FrontendMap := map[string]string{ - "cmii-suav-platform-supervision": "5.7.0", - "cmii-suav-platform-supervisionh5": "5.7.0", - "cmii-uav-platform": "5.7.0", - "cmii-uav-platform-ai-brain": "5.7.0", - "cmii-uav-platform-armypeople": "5.7.0", + frontendMap := map[string]string{ + "cmii-suav-platform-supervision": "5.8.0", + "cmii-suav-platform-supervisionh5": "5.8.0", + "cmii-uav-platform": "5.8.0", + "cmii-uav-platform-media": "5.8.0", + "cmii-uav-platform-ai-brain": "5.8.0", + "cmii-uav-platform-cms-portal": "5.8.0", + "cmii-uav-platform-armypeople": "5.8.0", + "cmii-uav-platform-mws": "5.8.0", + "cmii-uav-platform-oms": "5.8.0", + "cmii-uav-platform-open": "5.8.0", + "cmii-uav-platform-securityh5": "5.8.0", + "cmii-uav-platform-share": "5.8.0", //"cmii-uav-platform-base": "5.7.0", - "cmii-uav-platform-cms-portal": "5.7.0", //"cmii-uav-platform-detection": "5.7.0", //"cmii-uav-platform-emergency-rescue": "5.7.0", //"cmii-uav-platform-logistics": "5.7.0", - "cmii-uav-platform-media": "5.7.0", //"cmii-uav-platform-multiterminal": "5.7.0", - "cmii-uav-platform-mws": "5.7.0", - "cmii-uav-platform-oms": "5.7.0", - "cmii-uav-platform-open": "5.7.0", - "cmii-uav-platform-securityh5": "5.7.0", //"cmii-uav-platform-seniclive": "5.7.0", - "cmii-uav-platform-share": "5.7.0", //"cmii-uav-platform-splice": "5.7.0", //"cmii-uav-platform-threedsimulation": "5.7.0", //"cmii-uav-platform-visualization": "5.7.0", //"cmii-uav-platform-security": "4.1.6", } - result := UpdateCmiiImageTagFromNameTagMap(demo, cmii530BackendMap) + result := UpdateCmiiImageTagFromNameTagMap(demo, backendMap) utils.BeautifulPrint(result) - result = UpdateCmiiImageTagFromNameTagMap(demo, cmii530FrontendMap) + result = UpdateCmiiImageTagFromNameTagMap(demo, frontendMap) utils.BeautifulPrint(result) } diff --git a/agent-operator/log/cmii-update-log.txt b/agent-operator/log/cmii-update-log.txt index 850a4fd..87db02c 100755 --- a/agent-operator/log/cmii-update-log.txt +++ b/agent-operator/log/cmii-update-log.txt @@ -217,3 +217,47 @@ 2024-08-21-14-55-15 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082201 5.7.0-31369-yunnan-082102 2024-08-21-17-07-00 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082102 5.7.0-31369-yunnan-082103 2024-08-21-17-35-40 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082103 5.7.0-31369-yunnan-082104 +2024-08-22-17-32-28 uavcloud-demo cmii-uav-notice 5.7.0 5.8.0 +2024-08-22-17-32-29 uavcloud-demo cmii-uav-oauth 5.7.0 5.8.0 +2024-08-22-17-32-30 uavcloud-demo cmii-uav-user 5.7.0 5.8.0 +2024-08-22-17-32-32 uavcloud-demo cmii-open-gateway 5.7.0 5.8.0 +2024-08-22-17-32-33 uavcloud-demo cmii-uav-mission 5.7.0-29766-0815 5.8.0 +2024-08-22-17-32-34 uavcloud-demo cmii-uav-developer 5.7.0-0725 5.8.0 +2024-08-22-17-32-35 uavcloud-demo cmii-uav-emergency 5.7.0 5.8.0 +2024-08-22-17-32-36 uavcloud-demo cmii-uav-gis-server 5.7.0 5.8.0 +2024-08-22-17-32-37 uavcloud-demo cmii-uav-process 5.7.0 5.8.0 +2024-08-22-17-32-39 uavcloud-demo cmii-admin-data 5.7.0 5.8.0 +2024-08-22-17-32-40 uavcloud-demo cmii-suav-supervision 5.7.0 5.8.0 +2024-08-22-17-32-41 uavcloud-demo cmii-uav-threedsimulation 5.7.0 5.8.0 +2024-08-22-17-32-42 uavcloud-demo cmii-uav-tower 5.7.0 5.8.0 +2024-08-22-17-32-43 uavcloud-demo cmii-uav-device 5.7.0 5.8.0 +2024-08-22-17-32-44 uavcloud-demo cmii-uav-logger 5.7.0 5.8.0 +2024-08-22-17-32-46 uavcloud-demo cmii-uav-data-post-process 5.7.0 5.8.0 +2024-08-22-17-32-47 uavcloud-demo cmii-uav-gateway 5.7.0 5.8.0 +2024-08-22-17-32-48 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082104 5.8.0 +2024-08-22-17-32-49 uavcloud-demo cmii-uav-integration 5.7.0-hw-080201 5.8.0 +2024-08-22-17-32-50 uavcloud-demo cmii-admin-user 5.7.0 5.8.0 +2024-08-22-17-32-51 uavcloud-demo cmii-uav-cms 5.7.0 5.8.0 +2024-08-22-17-32-52 uavcloud-demo cmii-uav-sense-adapter 5.7.0-0805 5.8.0 +2024-08-22-17-32-54 uavcloud-demo cmii-uav-cloud-live 5.7.0 5.8.0 +2024-08-22-17-32-55 uavcloud-demo cmii-uav-mqtthandler 5.7.0-29766-0822 5.8.0 +2024-08-22-17-32-56 uavcloud-demo cmii-uav-multilink 5.5.0 5.8.0 +2024-08-22-17-32-57 uavcloud-demo cmii-uav-airspace 5.7.0 5.8.0 +2024-08-22-17-32-58 uavcloud-demo cmii-uav-alarm 5.7.0 5.8.0 +2024-08-22-17-33-00 uavcloud-demo cmii-uav-surveillance 5.7.0-29766-0815 5.8.0 +2024-08-22-17-33-01 uavcloud-demo cmii-uav-brain 5.5.0 5.8.0 +2024-08-22-17-33-02 uavcloud-demo cmii-uav-material-warehouse 5.7.0 5.8.0 +2024-08-22-17-33-03 uavcloud-demo cmii-admin-gateway 5.7.0 5.8.0 +2024-08-22-17-33-04 uavcloud-demo cmii-uav-waypoint 5.7.0-0814 5.8.0 +2024-08-22-17-33-05 uavcloud-demo cmii-uav-platform-media 5.7.0 5.8.0 +2024-08-22-17-33-07 uavcloud-demo cmii-uav-platform-ai-brain 5.7.0 5.8.0 +2024-08-22-17-33-08 uavcloud-demo cmii-uav-platform-armypeople 5.7.0-0820 5.8.0 +2024-08-22-17-33-09 uavcloud-demo cmii-uav-platform-open 5.7.0 5.8.0 +2024-08-22-17-33-10 uavcloud-demo cmii-uav-platform-share 5.7.0 5.8.0 +2024-08-22-17-33-12 uavcloud-demo cmii-uav-platform 5.7.0-29267-0820 5.8.0 +2024-08-22-17-33-13 uavcloud-demo cmii-suav-platform-supervisionh5 5.7.0 5.8.0 +2024-08-22-17-33-14 uavcloud-demo cmii-uav-platform-cms-portal 5.7.0 5.8.0 +2024-08-22-17-33-15 uavcloud-demo cmii-uav-platform-mws 5.7.0 5.8.0 +2024-08-22-17-33-16 uavcloud-demo cmii-uav-platform-oms 5.7.0 5.8.0 +2024-08-22-17-33-18 uavcloud-demo cmii-uav-platform-securityh5 5.7.0 5.8.0 +2024-08-22-17-33-19 uavcloud-demo cmii-suav-platform-supervision 5.7.0 5.8.0 From 0d9dea58173cc1cc7bd167e6ff5d9ac5a0470f69 Mon Sep 17 00:00:00 2001 From: zeaslity Date: Mon, 26 Aug 2024 14:54:18 +0800 Subject: [PATCH 05/11] [agent][deploy] - image sync operator --- .../real_project/cmii-iot-dispatcher.yaml | 130 ++++++ .../real_project/jsntejpt/k8s-backend.yaml | 430 +++++++++--------- .../real_project/jsntejpt/k8s-nfs.zip | Bin 0 -> 28948 bytes agent-operator/image/CmiiImageOperator.go | 9 + .../server/func/TestImageSyncScheduler.java | 6 +- 5 files changed, 357 insertions(+), 218 deletions(-) create mode 100644 agent-common/real_project/cmii-iot-dispatcher.yaml create mode 100644 agent-common/real_project/jsntejpt/k8s-nfs.zip diff --git a/agent-common/real_project/cmii-iot-dispatcher.yaml b/agent-common/real_project/cmii-iot-dispatcher.yaml new file mode 100644 index 0000000..2323609 --- /dev/null +++ b/agent-common/real_project/cmii-iot-dispatcher.yaml @@ -0,0 +1,130 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + name: cmii-uav-iot-dispatcher + namespace: jsntejpt + labels: + app.kubernetes.io/app-version: 5.7.0 + app.kubernetes.io/managed-by: octopus-control + cmii.app: cmii-uav-iot-dispatcher + cmii.type: backend + octopus/control: backend-app-1.0.0 +spec: + replicas: 1 + selector: + matchLabels: + cmii.app: cmii-uav-iot-dispatcher + cmii.type: backend + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-iot-dispatcher + cmii.type: backend + spec: + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc + containers: + - name: cmii-uav-iot-dispatcher + image: '10.40.51.5:8033/cmii/cmii-uav-iot-dispatcher:5.7.0' + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + env: + - name: ENV + value: develop + - name: VERSION + value: 5.7.0 + - name: NACOS_SYSTEM_CONFIG_NAME + value: cmii-backend-system + - name: NACOS_SERVICE_CONFIG_NAME + value: cmii-uav-iot-dispatcher + - name: NACOS_SERVER_ADDRESS + value: 'helm-nacos:8848' + - name: NACOS_NAMESPACE_ID + value: public + - name: NACOS_USERNAME + value: nacos + - name: NACOS_PASSWORD + value: KingKong@95461234 + - name: SVC_NAME + value: cmlc-uav-iot-dispatcher-svc + - name: K8S_NAMESPACE + value: xmyd + - name: APPLICATION_NAME + value: cmii-uav-iot-dispatcher + - name: CUST_JAVA_OPTS + value: '-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true' + - name: NACOS_REGISTRY + value: 'helm-nacos:8848' + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: '8080' + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + resources: + limits: + cpu: '2' + memory: 3Gi + requests: + cpu: 200m + memory: 500Gi + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + subPath: xmyd/cmii-uav-iot-dispatcher + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + restartPolicy: Always + terminationGracePeriodSeconds: 30 + dnsPolicy: ClusterFirst + securityContext: { } + imagePullSecrets: + - name: harborsecret + affinity: { } + schedulerName: default-scheduler + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 1 + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 +--- +kind: Service +apiVersion: v1 +metadata: + name: cmii-uav-iot-dispatcher + namespace: jsntejpt + labels: + app.kubernetes.io/app-version: 5.7.0 + app.kubernetes.io/managed-by: octopus-control + cmii.app: cmii-uav-iot-dispatcher + cmii.type: backend + octopus/control: backend-app-1.0.0 +spec: + ports: + - name: backend-tcp + protocol: TCP + port: 8080 + targetPort: 8080 + selector: + cmii.app: cmii-uav-iot-dispatcher + cmii.type: backend + type: ClusterIP + sessionAffinity: None + + + diff --git a/agent-common/real_project/jsntejpt/k8s-backend.yaml b/agent-common/real_project/jsntejpt/k8s-backend.yaml index a7b4665..4ddb356 100644 --- a/agent-common/real_project/jsntejpt/k8s-backend.yaml +++ b/agent-common/real_project/jsntejpt/k8s-backend.yaml @@ -46,7 +46,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-cms - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -62,19 +62,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -185,7 +185,7 @@ spec: - name: APPLICATION_NAME value: cmii-open-gateway - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -201,19 +201,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -324,7 +324,7 @@ spec: - name: APPLICATION_NAME value: cmii-admin-user - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -340,19 +340,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -463,7 +463,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-airspace - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -479,19 +479,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -602,7 +602,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-logger - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -618,19 +618,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -741,7 +741,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-mission - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -757,19 +757,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -880,7 +880,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-gis-server - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -896,19 +896,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -1019,7 +1019,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-mqtthandler - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -1035,19 +1035,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -1158,7 +1158,7 @@ spec: - name: APPLICATION_NAME value: cmii-uas-gateway - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -1174,19 +1174,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -1297,7 +1297,7 @@ spec: - name: APPLICATION_NAME value: cmii-app-release - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -1313,19 +1313,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -1436,7 +1436,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-industrial-portfolio - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -1452,19 +1452,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -1575,7 +1575,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-clusters - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -1591,19 +1591,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -1714,7 +1714,7 @@ spec: - name: APPLICATION_NAME value: cmii-uas-lifecycle - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -1730,19 +1730,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -1853,7 +1853,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-multilink - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -1869,19 +1869,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -1992,7 +1992,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-surveillance - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -2008,19 +2008,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -2131,7 +2131,7 @@ spec: - name: APPLICATION_NAME value: cmii-admin-gateway - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -2147,19 +2147,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -2270,7 +2270,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-depotautoreturn - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -2286,19 +2286,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -2409,7 +2409,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-tower - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -2425,19 +2425,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -2548,7 +2548,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-integration - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -2564,19 +2564,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -2687,7 +2687,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-brain - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -2703,19 +2703,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -2826,7 +2826,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-alarm - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -2842,19 +2842,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -2965,7 +2965,7 @@ spec: - name: APPLICATION_NAME value: cmii-iam-gateway - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -2981,19 +2981,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -3104,7 +3104,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-waypoint - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -3120,19 +3120,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -3243,7 +3243,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-developer - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -3259,19 +3259,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -3382,7 +3382,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-kpi-monitor - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -3398,19 +3398,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -3521,7 +3521,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-gateway - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -3537,19 +3537,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -3660,7 +3660,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-autowaypoint - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -3676,19 +3676,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -3799,7 +3799,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-device - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -3815,19 +3815,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -3938,7 +3938,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-process - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -3954,19 +3954,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -4077,7 +4077,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-oauth - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -4093,19 +4093,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -4216,7 +4216,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-cloud-live - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -4232,19 +4232,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -4355,7 +4355,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-user - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -4371,19 +4371,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -4494,7 +4494,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-data-post-process - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -4510,19 +4510,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -4633,7 +4633,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-grid-engine - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -4649,19 +4649,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -4772,7 +4772,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-threedsimulation - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -4788,19 +4788,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -4911,7 +4911,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-emergency - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -4927,19 +4927,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -5050,7 +5050,7 @@ spec: - name: APPLICATION_NAME value: cmii-suav-supervision - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -5066,19 +5066,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -5189,7 +5189,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-material-warehouse - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -5205,19 +5205,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -5328,7 +5328,7 @@ spec: - name: APPLICATION_NAME value: cmii-admin-data - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -5344,19 +5344,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -5467,7 +5467,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-grid-datasource - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -5483,19 +5483,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -5606,7 +5606,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-grid-manage - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -5622,19 +5622,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -5745,7 +5745,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-sense-adapter - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -5761,19 +5761,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: @@ -5884,7 +5884,7 @@ spec: - name: APPLICATION_NAME value: cmii-uav-notice - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -5900,19 +5900,19 @@ spec: - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME - value: "developer" + value: "nacos" - name: NACOS_PASSWORD - value: "Deve@9128201" + value: "KingKong@95461234" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: - memory: 2Gi + memory: 3Gi cpu: "2" requests: - memory: 200Mi + memory: 500Mi cpu: 200m livenessProbe: httpGet: diff --git a/agent-common/real_project/jsntejpt/k8s-nfs.zip b/agent-common/real_project/jsntejpt/k8s-nfs.zip new file mode 100644 index 0000000000000000000000000000000000000000..9cc913960ce58ff32cbc1a1fdde51ba314eff5a8 GIT binary patch literal 28948 zcmZ6xV|ZQRwgwtDW@9&vZQHhO+h$|iwi`PuY3ww%Z5wxWpYxo1_x-zmyz`r5ycpkD zQ$ZRW0u2NN1R6xb7emuGA&F4qI|#^O0T>7}@K?(hgHF z`Z}bk4*AZAvO6fGD|cN>b?>Inq!Nt`5%OZ6P8r>vtKJ`{)>zZ>VpqYY$vpHy9R43x zDEpu5(;rDobz()!`VizrE5z{KfBbLFqN-mlTkg$wOSc+1ko@!y58{4)(S0S4F0LRL!&$#3;sH4*8tJi-*@mdG#rl>wN2!Pt80o z?wJz)Q*Zv1<@Jz%DJZIt(o!AiC~tUfO}>n9x=g*y{K(2w4U+rsm{OdBm+QmX;L6G5 z;6a&caVU|jr#*O%Z|>&$=idGJ$;H9KWYdoc`Aq=k%BM*KR)oLL7Pr>NnQt-=-e(Vg zkGztjjPC>iA1Q!rbjc{=gH%3hoBYlzPi~s7taa&#kgk+{3BX$Oge3w;|7b4h=H%n! z(Z#&@7Im_6kal;rWk+8ded8yY6teT&i4<(%hrf=CG`SF??)T|IENA4WXR>F?q`t?_ z8(TGgmQ^|tOFohkG!legA5E)UT0Y5Q>SeObw#ILx+=WcaXs^%rY<_ITZSS2JNm z7gu{bIg|3q&DFo+pzzOxk{49T<#c;|ICbIrSUPxkE2X#+O$PL=t?_T>oiBjVCb6i? zbEsPU6|L*iMd;x4)``HC7c)(p@1&U{kvBV-JDt?5Y1oy?L_3k;9u?goo+praDQ=Wd za{ROWg=`gPq!~W&n9`6e48#ld# z4JtCZG)p}i?4`4OKj){1O4fbKh)B_EM#|lxBsHHr&jmF-o)fP#N-J~>({SpFomwPdmQ1yCSP16nhv!;?^G?*%{4ILLWx55uAo@$@x zNsQaKmXEI~WllEK^_KB`A&myx@Y?*_jpfK8a!Z{UkSZ5e%*!patRYHL*`78csH$Q4EifG!opGF1!pOd`Vr93Gv5}PeXMD5Lb z=Mr|SVh&<2y={xw6ASxoGdg%INI3uyWh9w`X%o#J+9d1b@&6n%YTpTXOdBG7dE;qE zUT*_DEOs%Fp+HAgdo7jIwA5aYwMfvtMX&k+58v;7IlJIHnq}}?r9+TAQ4S&aP`0VW z%E!!_q0+8S7uQ&eyS3KMeUGagjPSTIgc6YPJ||;{ z-*`0tid*WJ0Fw$Vt_HBU(y7#)(3f9nf$*p(jtET8I59i*hX8Gy*=Bw zS88YLSjA%K#%W5geU#LiC40C~d0d*DR0Ww0bTNh?!j}M|ikAD0!W08h z$`N91aV>c9^3oaTzq3yhes~aYTDGI+2u+{pDc3EHHLo-;f?O=*hq%=!&StVTOFJ)E zpNnfT@CDgZz(6DY!TlLMwzI`Gu8N^04s4VQS5hwXjb41DJd*m9>`E0xC+fj%VxNs}=tLhQ zQCR7Wd*ad^kn4V&`I~565DExd^q}*dB(xUB{;Y}${&_dv=ac9l2ZEl)5DEmzz)nNf z_!+{E0Xt1$5A5_<)f)7r4c9@-{U9z~U1{SDX*xW*wC1s_)>z@-_>ThM* zXM-~*p}r9IF%J1`k#W4IPVQ zmZEFT_meV)4?h<%=VDj`W($BErNEa0p4_zDZxW^ic=BW*M}7=G3?J>W<%i3!M3Z0GiC~qpzr`g%tpxo;r zaCzC=q&C%FFm*BIeQ+PU&x7ZN9mSw*dwS>r;agr8D0zS+x$XkO^8k$5`!pYd&GgLw z*pDPc-QDeL$8%Y{kiC9!^#O4X9mH-r1teWL|P(7mc^)&E^BY-%Uc47ajujnGG@eE#E+07dN37YWees}dwccM{n;%oX`*YZ z8I-m~63cGgZ)t}xApp~=>(KWd2aa_tP{gqQf1;?+SN*dCeDN^gi%;!@>Oz=DAVpf{ zSn7<%1P_m6A`kTIk{M>ZuUoRRgs3H1*3?rBSCk#`-sdW&>0`8Ca$&gUMi9rV=SUO@Uuoyxr zfMbX`U@>HXnM*p?>r6tn;8|VJk5x25#y9lu`bQPB8&g1_MwTG?RAAk`C%`+gM8#>nZPT z%NvtN_{skQ;ZgRQ*Ox}u8m1Zur}o86D4lj#|K-HtLxa!vRfMwb{0t26)ZEtvG9Mt; zH88+wd_Tc`X?zuA&gS>w`BN`3J$J8-5v@F6Y014=b!k(rbI&FN|5gc(AA6M*i`pur zk>}yXJ`I1rlEahI!s9csr-E8XY{mWAd*RRtv<20NDuuRg+re!&pe=N40Bs@m2{f}- zc?f6=^RkV6$(gmdG`Fm;y3`0Y73gdX zv5m*^FK5gADqymKe0BK8*X$*Blyyx$f`T3s@&^3c20(~ItKR!U|!y47y*S!A20UAgqu&`br znO@5E<%PC^WD5MJ((Ptm2zP&^Ak&;x?<8zY&${Q`6nPKCR~;m|f)x`4J^B>u@T!== zp(;V?J*&K8Qd^QOInygAXY>H)Z6G8E)D#f%Z-u@U*bxvi8wiPd^ePtAIRiD+Dp#W? z9|yM_H8H9`Q}svbm`Sr(UDRpv&XyVE4mcCNv{KXtMx8`gKiP@=6Bj(Jw-4cXNun#XWg zAqv%lG5+GNlGfPVbzlVYZn`f*B!=w+4ck-VpQARux>Aw=9W@^4s5GQoZF$>MuY!$r z%GbD!`-NX&EZN?I??h9Nh=?GhTp^1|=l~_^rNt#J@B{VW)Z1n;N$XV~`bqSLEo0iZ zP_Ev4hHgeM8KgO2k5JVCLLn!>9+m#<(Fp=K%w;Aa-X0fvS0W*1=h5yHL%R7+A+iEm zAfC%+6GX^kk}r67g+VQ)y&Wo#K7v**ySud3a;O(8$eZckE;%%})+tUk-X*jK zzN{AYdX`B|g_Cz#8RtLjt3e@<`haRPCiH@dymN(Efz zcQS$^@TKiCG|b`UST@++}NuH3a**}^*ws@X?(yK&j-f1!vDnhZ6}ldjITe> z%_CCWQybW(61oIIBD+|?{tr*!y1hz80*_5v z<7Wyx4m>suuo(K|OYW%rzxKig+AcqOCgY+u8i}UByE>a}Vi z?Jbbtft(9vZ<5klD1BZ%f51KCbtLAT1-t3KRf6SDC;Sp ztP}5sx*^WT^D)jBZj)92z|BT`oc*%3mK>B5#qvey8Y5nU9N#Vb?a16v7 zHB{grAbq4DAgKSlg)_FdGqW_eHFWsT9&RCH+J2P*E#OMx9SP+K612oNvI(4jHW4fY zHNPZnj07>AE7qDDwBy1*FA&stwh+HdrH3r;**8ybvoY8*^JN{E*l*H8j6~p$ApZp~ z-vSI<9HjzVk~0sk0E7=YKXn@W8|aT}Y%o-TUy|7HGpqZIAvA((`ZRP%g4tm5VsxA+ z4w9mL?miI2&fhrMyEhUCN$aq;CNB{BB|w<<^sgLPz?WCTF1|DO;A}nq2xVNQwM&Ai z5C0V(o~cOT!?|v|OYyko>rPUaDm`db;h{;Vw^*HMniF)IY_t#hgV_xe@7isT9qJfqAXnyDWPCl2Gwojp&zWUEW2~*9#?Zy)!6+xWZTtFw(bh=xbfX0U#g?f}X_Btn? z)4meT>gI`zENa8IZFbv1#n&(gOkjgcoN;;^NZ>ZYLy*`l_J>|@C0W+h=#a!7hQsY! z>IR61v!nzMAcgiD8qYK@GMk5_RPDp{-skpc2e5>w@;H*qogCQl?&2{@w+pREx?oVu zO}8N2+TwUEt;Z789P^zkT?NI3PFJ6-cP^@Q56s;tS|^c5v*dhzz{`MU40AgekX7A7dVP9`3Mg zN14_x;zV%g0SP1LviQP1e3V=SOa*w$5)Xd2i(Gevpvk#AuKK!^C^Wcl1=9)VlLAlt zlAk7{EhLy8l)t84-9T2jlEjO!4DJhjPjUiH&Su~^QzDMLS$Tv^&JaW6Cx6^D<^B{8 zZxRH%d@kps9qz^yYGH1D8*YdYaIVn4d z;)dWwI;SI8?H4m%P^^__K!zBZ)7+u|HIH9lUNBbqrGc@88TZ&-rBf7F%(+8*&v%kT z@#$Fj4)Nd0%4*2jJA?!Q3CI6`m1Sb+Y++yBdN>@UsU)*-8V8;w>;=q2cYYC6XFVb<*`n-X7=MCgTXW{Y%a0 zz?d1*;|k2sG1Lh4w9T%TtQ1`gr&LYclcptSInDFz)Dj;40fk)H2*eguO3%6u?-Y@x zd15{Xf8Cr@@NN*5vDch+ptZxwRC~rI*8qXHfd7rIY$}3)9ANdmZ?f!fwWot>-K!UwGNn_>%zeA%%~cG zr-NXt9!U;k-)+<=;jw zK*O}i>!5W%BTh&U8?xDbeJEyak9IxckQ)7f5fDv+pDy=?RRLRcUFl7%S zKA?Ik6esb5M;4OYgI?PJyV#=Tz^l4it!>I5Hn{4PurqW{bc~^!AgKmRKeTh#cHLrTYNVn$jLP%hzEG-P}N>#$=SICs&!|v2V=`4+f8iJ^|`k zc%qv}YSwmAuHbz!WUM!jSK4t7^OikGMe6UiU|3q7ZjjC#(N+;&%tPIlOx?JAo4>a$f@k!cG+ZSA`^}tj$7MUzpd1eMM@o19+k$2 zY;5DiL%Kz!L1G90AnlP2fpb?aFL_y}O;^OG$+_?QqZ0T-D;3;~M62~pF)t+hHYbP? z*+SO=r0OEuWL7k4+bya-GIJbnLHmUhdRjs}K{FrwZz za+kW18N@_|2cM9hCr-AZ-e>*3tI6uLWCF_ia|Z*vnbQ?RZg2(O8Ga*dBmXCPh>gDY z`cYy19hT5p*U1wd=QF{L6VK*=$OW+@@20Eqa_~NiS7EmolEy7Y+%a~X3W*c@fMQF6NM7CWz zc9Nyatk)T+<9hoU=hZUUTP*y`yhnAV=;zsLQ1bDY!z{unhcGsHV|S>xDFpP{o!pR1 zu1;>a;YM1P!riGKP4du4Jk6bZN+Gt@zneRQgl#_h`Ns z!KsS&2EE-C%-sE--|T|D+?(H_8F>n1LNlRJmKTv`*qJ6dgk}9W9lsGjB5+v;;yV>jWjPD}rc-^G`8*rh z6UMHHBY*t2om|xHg^G1jNiLQ=%Uu@IVRQZ-93;6qarNP}y&I(NzaHy^xzVxo_ObM| z^Xb$F(p3v%zgJu$!AoU4#V0rrlN^IG7A^=_l&0=JSL(?mm}e=nxVf+q=z3>pK`^_i zM9ya%s5_9Wb@{RJ($J$h2Y=f(Y)<_BdvIgH($j%&CA(H7YIa(ZfF@JJzeKN}+XZGo zsZSmAd2%u+zxVkv_;Rr__yFCjJV7!E@~v#|E~@c!VcYux`{5EduM{-=En^AL!Zs9` z8K)a31(hYh(mZn|HUWXkocgRWMvD395qp5gEAABggalaGh=}(_P8Q}pSU&FW1n|G# z4Zi_CeZP)6MX*psp`mF*_{5jp@au3=upm^P+}fT`E$$DN!cbV$mW2aRl|Tw(hp-!s4Skrcd6*B*ES8+PfS}e=4 z$;y}vA}lo*!g4sDm(8<2q4jJT3A~I#9w&sbuj_qPG+FK4?oFN#Dl6Ibj|`V$i1*x$ z;gbj^=TU6ut`*nt@Mo-n3DIb$dg8k|8?7ZWH(je%soKKY>E4t9pBCi%{@Yp`2eWQ& zZB8^^TsIy5xa9|{=G`f4m5#T9F_%-1Sg^&`;~$zXI=@-ru~?7;d!|cAB($KTU@)1I z$(1s2m!njZ?eIMCb4gN~&?90#0!Hd;KF8IfxA-nR2gm^Wt)s;u26?WJ+Jf_{X7 zg&n`zL|i!+^I^7++$XgaOlNhG>^;Sw*`D2dK|PEqH6Xlpdwpbdj(XH>oT*ULADAuR zbV|2}*tKf0e}LFbXw`UjXlx^_ZUmcO&_G<8(nGpSXGtWsKPJl65SxE|(0M|n@F4#h z(@{P?if!yIG4JR)lOne<_nkny=+LqbU%(T)!+28FXs3;_5#2f!Qxxv4_ugSF-@G1I zx2tp@p_MQ7} z8N!F)DT|`e*-n{P;5g+^%6`S}6k?j#b7~&exN+$pu+Ic_PR$vq*0WJ0K0(SOyMjDlStMeAxlpeN68etC?#iksf*n&+v*8y_G1e#6 zN0oXmhp%1ld`jjDcJWpu)+paHy1QOVI#=%@i{y zdpno^`;;a}*M6@BHS`L6pC7tA4S-6niFrgU5oP4q!3)~L+X^RkxH@)P_3FTOapKQk zY%`iHvJ#D^h+_y1p{c#!wdXD}4X$~US?cL|Gx@kkz1R2DvzjGO($+;3_@R#@)^b%7 zz43ngr-V^6DZQGG9=`u4oi6s~&|^ zf5=`j99#U*;J&l@uLSORpJV?Z%ED~Kw3HFW<`deATd6x)bU#Thv-^e^0eCIo)?Eu} z^I>>9e(J9qWpm5f;}6OB3ZG?x|G1VGV58AB=FFS8xwnuhinx$}+0ixYb8_O&(A5(G zZJvD>It;W;urQr?>8C)Hlwq$6ThE9!_Riu5GegidCFtCLBP3Ws$?BF1Go!8$)(qV- zOqDjWeycj}haulQ7M0QUV~{Ra;Nr_JJeS;Imug(f;2aLSXi$D-bj+Tfhqa`!$_#6? zkp4r?A3eMGQf11Cyk^XrK%+1w6mR}HO}5lH>cpp6dugVweu9{r3)842XZIYT06U~V zUNk)wzLes4)fK-akuB7{A?4#E^Sb4p2Y7e;Iyst-dqU#JEW;X#<&d-tQ~9~h&-eLy zv-9~B_w_;>qw;+p;S$16qddGkweHZq+O(pJCywUNSiCHZ5dR}>51hZh2O3f+%Wcw3 zp{e1p+l3UH43&i15Yipt*mURogRolg3%%Qog2b1Mg$kx6r}G&xt$7}7fm=^f+kH}= zM>83ICV{nbO1{s^&xlrPV<}_n%&F|#jHHMA<&ClN!hK6Xxt&z$gd4?;5i|6O`kS{c z+T+x~dF(9w#pFIGSBjaeeb(Z)6yHPBs-WzRD;X-k}~W9x27ABbkQ z+~#YS+z`_T?=zWGbLymSu+agjB|f(EX?Sm&sMrqeCAU*wB_z2&zZu@sdrp$QF5mX) zdTh2bUoix6RM z3fv5MdWte~Q%b@))}Di`jaw@gWWwmAAjTfJCcI`fW7H@+1_V~{Vx}v&2BV|L@j;J^ z_sJbHKvcA#f3XkLH#tRn6I}0LHK?3Py?(GtI8gcrNQ25K%r6Q)Of0f%ocm-5AAqBNFN@5v@f>oUK!8eYE>e%lga=8hd37J{I>e$DH19KHT8|$d3O6TA?eND>Y(KZ@BpInSxm$TMM zu~IY_eU)0fMLwyr3grV!LNA1ZO)B|uOr4~`ICbj9bmZT`0qE#vH6LHmC1ns`sA`4X ziAMUx{Ht-uK@HGO1cEdFtrmB_a zu-XrMkMd@-9?kbJgwv)r$P|o0Rgs!Lzh3ogK|-sP^DEG1DQxK3vGSBKtZDZoDP6(& zU2sJ>#VSUte<1V!K#G7M0p+HRR!qsq&qz3tOtfQg1TC;)7R5D6ps&3(O28g**&i@I z_L@%F4LeGAuHy~R@ga92cV-%=xflm-(;3uga(kkqhK1?fuob)Duh{LzPu*ydEfy}$ zFv^&P@nI!l7D16DkrSKb!b$K`nRW?q`8}p?j-ny=HGXu)x0a#SYKv zL~ah6vxX+xC>Xr%**Q5(n+x)j;i|o4b}-dXU9G4rZD*i}!DS=v;`5#b{Dl0hCgeeH z*hX=c__R?F)|2sZ47e92#C*UwaHIe(ezNa$;}lj+6lKKt2#-CKeUP@vDouL)wCE3z zhN@O$VEgwj-p>8UmOa%Xzr^L4oZ}0h1tNtatz;Avbs+KEAB(qgA4asb?4CYejPyiztDnm!ogo3sYU(c|2zx83d35< z7&d!b=hLu7mevGLOpzdg&A`&{M2Ku`x~IW3l~W5~C27r21}&u5LUmaUK&l>4>-n$- zS6ly%cb$b3q2@!bL9W3mQuUNZNG|Vn)kL@_k;NupMp^TLUCDARLq`|YQbFh9j$k|9 zD=U2AWl&)R71YcqYJkqC*T{K*@Qg&-r`)d?;vrpALr#ZP!d#qGGg`fV9&;~}i}DKJ zD$Jd!INc85%O9h?3M_H56;#14THd`u{%3LIz(1yub8-6rX>hyrpT#x($KrU`2G&GI z;U2Pe%UEgQnkj0Dxey-t9vjeKu`0EG5g1fv{>rbFQ8h|lcrf8>AIoJjUy53jG6<+v zHAfQyl1>*|H>RM<&RQ^^KAcvYJuXE#49bj7cddBt_7Il#v@+Z%xH~e%J3p=uV$C~% zUQjn)wY1jd#iQ0tbzPuo7yK{m-%3U;)kidl(xAV#uF5L8%sf7~;HwwI9T@^qPC{X2 z6JWmQE-c+pE?kjtm1Fw@>TyunV|qmFH-YQF*5}i+#g@bK3!7|N`!zPKfGf~j!e2yTZXh`(0y7i5=f9Qd`vZLOFlSI{8A~Nni_guLZMjRGuVqNJX|5Azvu^iPXVy(z>B4)L_J?{zPpe0PYN3 zi^_76s=-Sqww1WQCRe%vA8z06#?JAgs62TLvLx`HVKAVP04VdVd~(*!Q@$lkf3X68j+e)jqfVI@K_<1o!0y3 z;h0-y2JMsR^Wq#!)~SIhd6-CHPN-W^>v#AzdNZS; zsdY0`Y-IQ{ENr`rzX;rcvp>R>tNvwt11kms%dO8P?GHF(;2EmIhJ|;U#N5F%dVG!%-m>6@-AE%A%mJ z8~Cz?>hm{`IT*Ib$6|}*kV_|7_Gp#L5I;-Co`HOKd}qt-x$&F0!hq1t<&~{ZzE2#N zl`Vj#&z;++WcX)^|Cg^t0kw4oynS{aXt=N-zF3__d!YLM?X{Jn#uj$k`S53sPD^%D ztX)KCS%X@sFWD>k@k#2Sd+XMwFNWLVU>@rF)aWSuu0_=0qyEm{^<9})^NN{~9s{M}SZ=AZX5E%RqC4 zSQ6z-7!VUNa8h%dSRX^ZjN-knJ8s`;iZgw3LdY3sB9J<#Lpy+dpwVLcr!#IvK~l)j#n{{TMf_kDb{&j=wBKp#Q!^!IRYMRXMXD2Z6W z-u3s`)kkQJ5JOSwfE68Lzf8( zr~icH`BEycB^I}h$S$qDtklKt!&R3d( z{Ue`(`Hq)EOGjbu(EOs}?^urVj8xO^?14F7@GypeKRgll-4YUgSNTL07hnwlAIKr}qB^v?F*pxT%aODxF;syb`V#xkFDq)u4 z_pPF$14Ef*0CV-JOlZsp%$MR|?|Xw^sVMSt+$>TjmFFpxTQwhWA)1I#R>+^xr503m zKDOhG`V8h+jksky@f(lKt@=~Ud6sI_@H{=|GaA2&UPagZnF)Sb;{@XyitpZvVn5D; zX^ZfKC!~v^L)M1dWHfHg$KUqQF)0&`H}i7~Uw<5JhxSowh2_}eE~ON0vZNmr%P(xvv4*Ju9|2OV28f5R!XKTre-(qkkPTnJ5K zV&q#$u~JpD-BdOxMgUY94<8m`93+imTcjv-QZ~7POj@V#dlHPzXq3>l{BI568>?M5 z%C&$8&{z^KxuMbWpfknuO1#6NI>qvy6x`6w z_S^VMHwr>=bXPO0q2j8PXlA|ubFL3w^4?r677*s!OiY&<9T3xOTWcGHr(Xf!1SKej zs4;fl$czJivHhBeT=;wTcEisBdml};XPw?sC%?TwE!<6A5&{@-k1ZSqd7=997^}|{ zT1g2OiqlYrwwdPB(uir88;{riG-;aumbTRm0VFqQiGIv1(BHn9DittpQ_XLd%^JVZ z`7S3Z-kK)M42_a-Ffzd+XJqw)D}gx4DBT5e%HU|Q@tI})S-s?v|Z+RmFsc30K_stJTwKj&ZFB1<%v&z( zsKfQZcFBXapS5Xd)37~AeBomQ%XBVmo;!p|ZG#+Y1eusyPQo^y)Bfc)$w`ADy`Omhz z@@D~1>E`n{>|7@E=&+8N8O!fP7IaH{J=OHT%`_;ql%`p@;!W){ZXs$&P?OB7Ca2r` zAuPiK_BVM|x!bKrjN63ynk$gIW&=7(=L3cr` zep4gBkQOzHlQOVLX>&?yjU2@$fp#nnDuZ#r=gopt-fr-a7Mb7z=`f5PNdouJ=V39Q z;bGpBiq}9zlCJ3|L2~^InZRCjW8uN=#~@61AES&moH7T~%w<1uFBGO1ym z-i3`q6c4Md1o<_X4Qn8&Iuo@%;Sv`nrYuHiqGE1oZ)V*qDuTA^{81@_{H}^)87vr z+L%7QIIhfZLZnFn^!9;?%p&wg^xr#hCYh1W=*Qnm%_ozNUX&pVoqq!jTz;5LhuI0bQV^ZWc{K!l{(5NzPnp>mCvg>jHN zzUtk5Y-ZMdBKIuKrq3?d5=S;3)v zOpa5q99%GU#ajhv-%_^|Zw<_YsM;hCU}9t`L6lnOEZwC{qH%1Xw%H>S8#xfU__`xV2Tr_5F`SJjTK}6Moir%ZceIJJ||Vk>FM2& zV3353FrX4{bC9Ze50(mJz_riw_pmlZ;k&DikB(aJU%UM(LuRWBJHGC&l^Q$*PoBvk zN39>T$8@Mz`?#;B(a124|v~udxjZ_8`F)^3J%>@i|H&L=lWDM1@k3ZllBaEEa0kX=OqNll} zY>U|13d;?LEbi!)UL!pCp0rxKp9MwVUW-V~nQ^jDFDvcJH7P)3K;+9E`IhtFip;9q z+lj$cj4GotH@~F4#l@Umn3I2$)bBGapu(FnGK-=-r3+fe2-15ue$a5o2f8X}#!IFI~k=-VJP>iV;fnrN+|8!If_M(QE3g46D1-3;}{cH=vei^pR1 zs-KEYbsvkQCsdI6H@tegL2?cSh4K&VG9rJ3#lYb1_hT@`JZ{J|6GI_A8O~p*@xsRN z*9IPrh9ie_O&6L=1kSj)k^;NYBP(QCd18`7ukj6C-kZ^gsX;t^D?aol24)W@+ZUM+ zHk`{Pi#87K-mBhgkO`fo)1te+%a3fs$xjZiO^zwcv)^eHnarQL@kL#)AUA%nY@*7c zK}a#FPzhQaoSg<(wN1F2H0#m-8B`C;!_%4=*1~5v)xP}0#S@G5c3M7X!_FN>4-dew zl5~LgLgtY1(R*80@}b-rL`0YhRxjDNdt4dWi5rG%U7@uO6itQ%6q6@4$}afIXVz3n zX)=5s$NFseKG%L|Ud4<_CAL)jtcdeYl&+kQ@#pmW=+zV3ieEGFn)ZJ;MDhO+YbK3Y zo8J{gx023OspxJ$i=LB@lbe2Dqj!ceXYa2%$700R?M>K)dcr^(!(PM_F~h`3@C)@{RoxQqpGOmL{!~6?J$tz^-1cs;oxUoO?v^ z%c+#6YXy!~5!#qRLj>Np~it`o$i z1v6CHv#Mvov++BmD;djbz%r4% z?dw}at$}uq3GlODpfAC5%CIYeRo?QyE~1aj8pv(LkFKDrvm;*(&fGVl6$>Uw=0Uk5 zY`a4}cJ@DXLp|pxz9V^TL3XLHmxUMdL-&ty=|sr-?8;z|jr{UKjt{YH(Cek`8HS#9 zxZTmG`1BOi+f`BU(H8~*Ov3hxh!nv@`4C??~fF5Pmd`JReJY|nygXG{P~ z5Zej9t0bn#g9Y;Qrs9lsb9erdMbk$S#))Tl{+b;`(-GT--I6__Yb;K;8e%Iemb!Qe z7w2@4b8~NvrVq8oUL*5`_V=&%dEr~<^gZxBWiGjX2c_p9!Jeu7=0sq1_zn8hSeY~* z*F~`6tEB>fcWslm0PKNC9?Cijp9YEkvAtgZ0N=4bsjM{EcxQOa0{Kb?>UeVx@ws95 z^vM$W{O_7D{kT!Eab4IEW%Idr3^C<73Mh;brp@u8G)xq2Zu8}?nay&5C5zUx^niEQ zc-p?B-&;088+1SG5w=7cH#U%iK?$78DUVkfd`RFt6-@r%vVysGafBWQ6}DZ{>2KFS zvpp<^`B5WnbM3{|n{FL1-`^Nt2(@q+dWYYjSn?#h$KU(;T^JC2?~@(~SZC;I8cALH zsv`emXD0E_qE67Y@C^@StYuBxive8fIu~};5+c@ERX5=M;dUxVtNC!d5A<_WJ_oKDMg2=J>;5@l1gjHvUyB; z1GADnS1Q=5DU&Z1+WmV49p$qPEp=#{qSnNf>&ZQEAGw(aEPJMa7db-rrt?0vD@x_H{U zS!3?G#^}AzD!UIKd6oq51vx$qSA7*ZC)r6lQTD~>rvr2}-98oQ?n2|KDBH~6ggfgd2I*)zM}?T;%A zwmy`y7luB7j_JV3U%v}d;^$gbFY*;d=iBmRUPdcw2s}Gsb=Bb0C4`A#q35p?~Bk+6sO@$SIET|TNNY>ljNknhMfa)KE`N)iyh zAOHc6S&Ga;L1h=0<9~Gl@fvaAlOE>=>A2-_B-}J2j>iCi_i@Y4G4lxz0V%}GOuF~c z#x4~KLsVQ}@ca8!Lk3={B3GEE0#*nCM}DyCcC0AzsH!v2UIXx4+LA zGXY~Za9#e$NDo0!ETpF|L5W`R*Oo-*%Gu^a;zVVoCEj7mdgw0Ptg1<)hcW5$H$z#0 zR`9HGRa|Q}y3Vwu4NLT0Hz!hY%ifa|1|`c8u~oxI$db-SHFF;YP2c6 zG{))99|{S8K3}lXv%l_t0A-mLiI%5I@#g!H==9~!3^J*6%czE-W61sjhhMC(N|Z9 z0hFd_y0GpRbwI{uZ4UtKpq|bvwX1{yrULhm!Jcf_tA0+tD_HJtR(6IFHx{e(n5l&s z?xL}c(`-#nn~Y>Rm+8(e3-Xa0(|{eCUuVTkFYZ0l?~N}t*Gm(7gM+myQ5B6<^)!ob zye`jplkDCw9f5cD$M4|C)xK~^IGQ5vn<#Qs+>OT#R6LJ~IC!s1XU^BU_$wHz;+T@G zcHC#^>w+cN2@1{$D20x|;z0By;AG47=_|u(m3HIQZk%p&yAfqe<8v73Km$k@dJeuo z|6N|9KDA+8pXJ5#SzfUJc5G}-|0%9{)o$ArQG|AwDL(35EAk~75U@6m$Q1~4YavQ6 z=r2ai*iu?_&3)&w#h#MU5WIb|{;N;`L9`O8B?&yZ&$JePlI#GL0b}e`OA;U5bLaG$-;UUYo3Yn|cp;r4p6ynI=CukE$$ zuLffhv?3f(E};OIc2vbRaluTBRDRX6v@h>)6IyJxR%hAYKPzIFJ}OoJA=``N@4~CZ z7+EKE9;+GQWs(G4l50}-&3H6M#Q(QooH!y;jDt4F$f)76zNMPDjQ+2;b}_h<-&h4d zFss~np}JbFPkhV9!1lTc_jZN~^F``o!WszFYQY3?0}|>pGM@yg2?YFS6+6-C4*cAv z**}~wR{Owl8|W+uZo`yVc{%SpAWTKkQh6g2hsr40#;_A*2$!)$%zJFZY)6cja&E?l z$-_-naE>9l>qc`6bhA!`-FUmiVX}Ay5n>HSTrI35{U0LD8@#9-Vfn`F2A)4?w=oh zLuh<-yLPkHy|vlz_GTsq(DUVb+Y|VB>Fvqb%FXTGSc}8^>S6bBiqkpJbxO19`@D0x zd8F#(^x}GQzdzvNWM*_X;c>Ax8rKWizVlKD=_{;EK>5pwnKC=f#T_JVtNb>9FLs$0 z71L7bah7}re4%ls0=(*yEHn!@WXz-iWBTLesb-GLXQr*WMOE1rTPq$Kk`N@Zr|uhj zZqZ`cTd4wNkoO1$n5#!8d2Ff#jLwhTjrGZ$ai0MCwCHp=SGa6Kn^Q5}oTAG1KI7&T z@ao-=@OJkfxGQ0S=1Zvs$wR|0i`gS_l7*9Ea(8_ORSY-Z@B@aY-g3>!{Ik0bka1C&4{ zBrHe)Rq(DCXe>BM%oE;JXaE9fNy=a8W3?nml!olS_|kF>R~A-<_3Nv;c8Pi4E49D- zm(SDj(Jifu7g<7`vv_f<2xyGEmBEW`aoqg$^i&o1au&rpq4NBam>t2`FV+1D^WT-8 zTph=A4-5oU^;zxzBa!>8bQ)(9C+Gj$3yVdXT@QzZpK1HA~WIlVrg%tW?D1Pb*1>Hj+3Q^Zxmro=d5FPZ5 zY6=cA+hPZOUlk)`k%Jsq6^RkUf(VrZlx%@h)X%-tA>Y^!CQZ1yjTJ#1Kvue!0H{gK zV0UFFY7^E;og&eAdv^S|db8yCsD0e>YynvY!;kl05YpgBhsssL@5kzgZ9_p>&0ep@ zWzpe@?MFm4*Pv>-QoO8acyn8cPzrw*+V^xn@He^oSk&OSE&v}WH_}Wpfl&5ax}T;b z72Z=kf^dRL=s_U0P6ypyXc=FAT+VC1w4mcY3MRX%UB7Y=<}gywJ<*`0+m2;dDa?v> zGHgA%pWq5{Bqij5ZV}3vxa9?%)wi=VmLVhG?h(#K$B>nUoYaG}zvq;I&e6)b*kAC`sk-qkE~@z++}v${W)VfM$}jYsk|C}%rq9s) zKyX`)PY%TqN}_Uiw-$<*Fd04^10hQGw~TJ++Iqu%RE_d3PG=v_#K3vYc3quysOfmW zeK~n}%YKLa?}y|EBWJ7d=R-35AASD6e+TxiM*p<$<9OtH=@Eh+#Gl~bL0z#B1h2!u zln@QcZ~A#P8{bPNp>H>k3ni5y8t7eaz1tqvc^D7cD)3WjNEy4O7T8=|n02M@RR!ax z4{WN^d&yu1<`a5hF&T$i495UM!>?plXmg0|`>dz#r}Oc7P?kmP(Ua~W%>guZ<`&jw z(i}#@yo1>T809oR0zCrZmz3}f?;HWuJep+Yor<2~8jMwmgTpO?>rwm7l;@#rIfy4x z8(EZ*IzNYvM3G3#o{ym5x2u&Egjt^Ru#rwjz(aHo5{$m2o*2k7+9ZkfW}zV2_zzeJ zOspf`iZNoaZBCN7J1B<{d$OV(ajUzK#6=4x&8_~roFmvf;=qb2)2P&w*100NOaOIs zF0|9kShhRE3Uq0tr$T?FeMK(ScoEfDqZ^|XSV=vV{RlYGd>0MX@mc(9wyx8r#R>}z z1Vl#mrz9N>3=J)uZ5;k>PoLPWup@owW_`$TnVzrCu6d|I|nE_=qD<0GMvDVwsd(bbQ}opC-6^0(;vk8Y*~w z8yvYyOUI$~xRP(_P5sC+`J6(9(PE2UUQ-Ib50U8DNEDSi)v2@3c!v}QM$u252a*l9 z)6FxBzzB+v7g-EFM5t8ZuM)*V^&0Gfm}s(_gqUE^Atve2kRF?fmYXR5oO2L_M#4b8 z{-(2=&1HD>b6l5Am?(Nog|-mXepD4~o9H`#1|Kq*6CqL5?W_LbAYp0V2Pa|z7M}4S zuZMi~%J(*{RWU&?18hPiO?eMKJ(kp7c)+HR&6B(&1CnfvTcOc_>Q{4W#D`y4$lr(>t+{fem$}5JdDXer>koQqS3Dl;+Fc^9acQuiB_$^pN|1ldM_%Jc;apm77H5ofG8)H zPRTa5_h#z{g9#@;Fr{2c)vHi;E2FbHOKv6H2QVXv-vRWnFVv$%x$i1DzyFbsvMFhe7XJP^Xs zbY6%H0z3`*^f?HKgMzv!*hq4vAWjcec*v`0Eh4IxlwKcwWh24bdwH<$Aa|sC3M*M( zUgU{5C=FPyA92@u8SG@Ec09o-n8P59j;e%GkTI>EAf;BEmyA6bp@g6y#GKP34L8<%)ER}fNL3S=yIRVwnxmva z#S*qZ4~Z)|HsCw)Oc+h`9WKUEZi0gO5z!?eZqlC_Z3E7pw>!Idg~^xx$dYJ3P~i?E zsT$9rUc$@G6I|@JVxg#!^D0~zn{}V~*M`$T&5-xyY|Xf8Ya&_eLAc2lY?8&2X3S-V z3t4!dV>iO2x-QKOK5;BT4~YNItpyLxJJrD4{iq)jR|%9QDt zmMT`R`PJqzlI=5`fc)k0T1#YP?OLqyAe`cLlQPUmn0HwaNwd&{Eb~*`KmR-P$z{kI);Xoa9*6TgYuy4|T?*@vgWUMZrX#m%%Rg@6+ht!oTLgSVBfeDJ) zg%E4?b#Msm+3s_h8mpaKFII82^@p=$*>$&f-(znMqMaaVsbv1*(h|xu$tsyuWynk^ zT5HMNYL?*99U z3vAd#jmnV;t$Q%`hu}o1aKef&2mIgc^-S-~5+U)P zeS?6na7>HlWi{#3ZfW1Wn0hQJHWC}nn4A_eJFv8Ge+q&8*iRw_hoZ`FA04&uWo5GC zlMRb6fvnjkm+?G^w(RvyQQM*T=EjS=frfEV4I<>qDY`Sd^Da{HwzF3X#$FkbR9SPS z;H2@Yi`S8Y3q2OKld{b3?Zn#Ig6T!hcnGiOiT-n|h!5*_Y_z-1{4B?)^!0k)Kv*wR z^J2e-jo~GC{Yl2)Ru0sisUrhb;-oO(fDN#-$&eDcQ6e;2W-@3+870i*x6%&eO@P1|IXBA+S6Uuw;$^1 zN9WH2oo5R}PwMgbVI*TSfKV@)9Pcll}L+1de^$_%~SV71> zFXSgkF)L0F#?egE7yp?&c2cYu~c0MJ@%Ohyx}MsAae%!bM{!#zEEJ`mmYh2=E00(5rNjv0EZUk*#E zTW_YT>UmQYFGld4`9qL@^U8yF7+v|Al1-#Xp)5S<^1HcF9~;5FGrX2ew0cZ_ZB=f>9({k)*=OJm~BHYIxhY*+OwA4Hvn=NxgcQgLtAZJ)$c(>sfiaz0M$|v&UVN&;HV0Va8g!=}KDS|?!;r1_s zOv|H{qXE-Z?!&i*&E#S~> z@yaWnKJ(tFM8Z@2=oKH2beyIRfffCjI|9Djn|`hcmt2zInZQ&j(i_O>Fk5 zpz(ye2c1lAG7sT=<$J6K`zUO@WDYuR3~cH30|WHjzY^vgi5H;r*sK zAOn;=;aQwwSl|Uy4&!;T7Efz>hvTw-&yNk=bN(WX-An2e^&t-Hdhf-6!-qIwL-Meo z>DdTCrDM66W}3)4Z{oeY?^YDuUE;ix;JFk1a;lp@3L)4>qlMNm#DDX8y~2?vC4;)9 z>J6|lmMZT+<)d2CcVu4kB?uv8Ym2U7RCcF74?DyoND%vgg>}E_3x^g-il+{d_6POV zjaaV=#W1hJfNG?y>EDhA#LnL`kvOz;QN5zxH6>$Tzxn!fBB}ysFhj9^dQ0xiR%7XO zb50UKpP$63%)t(qX;rXtP74!~Q<^l}rKrbA? zfV~C6EyeX+s(DNGNW)0905gh+j-Ib9Y_Y22~urHsn!`r^u z9woTbeAP;YalwMxCZd7w1~|{N8j2&x=a}i(L&R#^0da+ONYK2AqR;kV%bhM6qD{Ju zoLGsoO>aG75~s1MD)i(~kN}0_BW>IMSm&UdwNIPT>&BbGX08Nlr{Un3qpd&LJ_~&b zb;&(1l22ycHB0s~c38|a$CQ>NJA68+8I)-=hLLkei1;Z#N*0@IwZpxRj5D-a!)v>u zL-slt`HqQ;1ltt;aWB3*>R9?t=ZfcKevE3c0+ToZ*P zFsA_q2* zgi;0oap_nUTjnm>xa}3t4#SCLx7%X4x+_#gY1XXElXT5^3foxLkx`W_9I~nqQt4=% zb%Di%uFq)I65SMr%z zia7w={1rsZqPlz3n*M|$T?7lWeGc1Dcere{{4(4C-5PT2PThfqF)nbZ9)tri76ZBW z7VZ(03mjx*rEl~7$TWlXca?!0g}_9=6*Zh%?n12PnP~aig=CHP0V1xAk$3(=8AVlh zF+@Xu5V41%0ng(8m|x46ePoDzvNnCeRP%P6rycP7A6GBh8dle29SI3q_&LgW?kup7 z(5hJ|5(YNU3EYtj9&=6;?+vegv7%Y`Dt=QXw-JN+sdY7zo<&e1z9I8nseSgt09`xtODl68EV2If~Q4 zy=fL%xp!8T>4!W%eof~J-w??yNF9^YNqRYIQLc9tf0^Tb%2+1TVr9Y2>%N|&(BR!D zQmSbwO$vI{)g;*hkC$ODej&HQ|DvZUT&$|NZzTa;cGZe@h2yXJxUb~rd%Qi$nTCRi z=zCHicaApsKzptfbxbQ0g;(Gm|8{{Zm!3xx(Q?)Km4_uEBUKW9Ls=4y`z~mNM>%Cj z=q`xT#naX8Z;Q`;uM}JB7a*W#hCfYTC&zzx(wLvV`KBvxzc+Z029YVqr5c!OL18vh)AfxcW*7?0p;K9# zv}5JM9q04@hJN%Le&6Fc@i=_lSg&mhEuFi>zJGI9)=2U8}o zeM5z&Iunp<*eA}Qd9E|%8;GH$`P&-a_O8O-KGo*kHK*}qqB{LgNtS= z)1~?Hp-kxz&a#RbZG)M!#pR;=r}+qt2~gb%Dpffd8OZ}juqZm1thu(0W8#Fa^CNC* zZ-_yHY;jZL=5sUKw@Na|61}%RX{4w;)Ry$u6ULZ);f0~eggT&8i&gaNVC#yQa%N7@ zp$p4%?9?tud>NvIS-%dmitM2^nCpoOK*D448e#)O3VE-R2G&%n*?U^Qh{4{-gv-+? zU$q{vSlRy4R5F;zliXf$jACyZX3G;63<_8gm-S}bf-)&30wk>BhRTdW=2%F_=0BC+ zz>K-_by3_^zX*`T#v;7WKC}U%@Y--+(GvnzzYXAV8MJNm#l#uHQTx^Xq*m|oiW}Ozj{eV=$ zQO&^{j-To^qWYiS%UfJSF2Yw$q#sX4-6`;!$QdQnhnaR{7*lkue)NH-o5{VaGcJSi zHj%)c4gSeaX=ZEvbPLwuz-x$Uk-;s*EB zLfK=;)^2mKuRf&c)&LY;n26q=Hh3mG(yRX{na&>4YQa@G=Qt)u*p$bO{Kfy+sLYzR ztFs19{2Eic@sNrRHd;U2l{)+!Kb$HW_7;&*8*NbIsguVF%i2Q-b&6)Cu?O-MO>ot( z@=Vf({?O2U3w79>B_R3;2hIl5^Mvgu`RosjKwY@K2#g2{A^5cRgrV^whsL-j3@*mZ zn|aW&GvvW=oRp1ejqz7@R%xSoaZ~06eh=#}Ri(^KxMapBlw~tx;c(}wcP64INal5x z&;{F(c@tJ5?wX;RSOSV9ibt~^A&#rmX)nuBvoWCQG3W~f1aN@?G@TzUX!fx_lG#p{ zTk|VDC4AgXMf9`9XM%at3pDe|JB$P391}INY$`RQfpYBUtF*DsT1<$$QO>OE8RZST z#Mlkyv+a#v7z&NQZ`FmqtAC$z;C1&uciZY=veLkgSN82 zv;2u{w0tMt31B~VF|@4ML#<9eWCySI2tf{U_lt{<u^enmMSi4ny z4r_?0ZCp-vPFGt)g&{8iaEk}C5|%XbYDy(WdZ%4zUT=BuB4an3-X`sx0Eu8l4-ZXo{P*&w;8ml66hOrE}1_!PkqkEb)(NNTi(qQc=l@#kFk_J36{?fSFZ~9n_o7g_Z zuACV!X*&b&3-Nj?3RsXKrm43)owp`qjI>gnx)|-^;BPgP6JT;%f z?fXEj_4n%(z18J}E%a)#9NvOkI_5^0nQJA@Hvz*Ks$*RF>VN>ld?YlD;YfSh^HmIz z7?|%=TrK!#F#6;gKb&Ph$C!f;DYr_pc~nQ(oIOxhZC?n>V70=_Dyc&2_t>Q71zirw z_638`pmk@IC(eT1H=&BINq)MhHRHIL^ceqsD$%5&$`m%*-Y{ipr0bF0Pg(_sm_8tc zqoleOsrQ)Tw19Yz_4GFHLRU}XZm!^4nr~1)NSp-udTnQ5QU4ql&?@#OUYyp z908(MPJkXTSt8XH9~IM4K@sD7$>vWPMirL%Ws`b2kALoEK4{N?xoOiDZ~4$-i(McqUbne-M-0=fN~7Z^U)1-yhA_Z zMrDVDZ&StgDJdGotvfCh-u)S|Ch`bJg`UEPC5=hNMVmbwMw=Wl#ind#bvz20gmgH} zjP2yAbP~Sh_iXgFUv|KxBGf?M(b1-_yc9493ef-mw6#xp0}wC}{(pWxKYyRS_BZ`^ zO7wr2f9Rmk6Wsno|958e-~8WMxPSOfw14>jPR9M4|2sAD4}breqxhfu|8Iuk-{{}r zSbtDSqJPl;ipu&M|2qNT51vQ+5B~q=0sKw>Z3+EDPc#2R|1pUE&HnA(`@(nj)s$v={-zwy82H-GS0 z>3{J55##(#{w*c>LjuYEL;jbrQ>i+;J{n0o8 literal 0 HcmV?d00001 diff --git a/agent-operator/image/CmiiImageOperator.go b/agent-operator/image/CmiiImageOperator.go index e2a38e5..8834df1 100755 --- a/agent-operator/image/CmiiImageOperator.go +++ b/agent-operator/image/CmiiImageOperator.go @@ -17,6 +17,7 @@ import ( "regexp" "strconv" "strings" + "time" image2 "wdd.io/agent-common/image" "wdd.io/agent-common/logger" "wdd.io/agent-common/utils" @@ -321,7 +322,15 @@ func PullCmiiFromFileJson(filePathName string) { // PullFromFullNameList 根据镜像名列表拉取全部的镜像 func PullFromFullNameList(fullImageNameList []string) (errorPullImageList []string) { + start := time.Now() for _, fullImageName := range fullImageNameList { + if strings.HasPrefix(fullImageName, "harbor.cdcyy.com.cn") { + since := time.Since(start) + if since < 60*time.Second { + time.Sleep(60*time.Second - since) + start = time.Now() + } + } log.DebugF("start to pull => [%s]", fullImageName) pullResult := PullFromCmiiHarbor(fullImageName) if pullResult == nil { diff --git a/server/src/test/java/io/wdd/server/func/TestImageSyncScheduler.java b/server/src/test/java/io/wdd/server/func/TestImageSyncScheduler.java index f8e86ee..8846994 100755 --- a/server/src/test/java/io/wdd/server/func/TestImageSyncScheduler.java +++ b/server/src/test/java/io/wdd/server/func/TestImageSyncScheduler.java @@ -42,16 +42,16 @@ public class TestImageSyncScheduler { )); ArrayList ImageFullNameList = new ArrayList<>(List.of( - "harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.5.0-26810-071201" + "harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.7.0-31369-yunnan-082301" )); Boolean downloadAndCompressOnly = false; // String projectNamespace = "wdd"; // wdd - String projectNamespace = "cqlyj"; // 重庆林业局 +// String projectNamespace = "cqlyj"; // 重庆林业局 // String projectNamespace = "jlyd"; // 吉林移动 // String projectNamespace = "jxyd"; // 吉林移动 -// String projectNamespace = "xmyd"; // 厦门移动 + String projectNamespace = "xmyd"; // 厦门移动 // String innerWorkerAgentName = "Chengdu-amd64-65-lapwdd"; //wdd String innerWorkerAgentName = "Chengdu-amd64-071-ed6e2b7f"; //prod From ebed0bfc0751350480438e91f3fea70a3300fa12 Mon Sep 17 00:00:00 2001 From: zeaslity Date: Mon, 26 Aug 2024 17:06:30 +0800 Subject: [PATCH 06/11] [Agent][Deploy] - image download pinch --- agent-operator/image/CmiiImageOperator.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/agent-operator/image/CmiiImageOperator.go b/agent-operator/image/CmiiImageOperator.go index 8834df1..3d3ef31 100755 --- a/agent-operator/image/CmiiImageOperator.go +++ b/agent-operator/image/CmiiImageOperator.go @@ -324,10 +324,12 @@ func PullFromFullNameList(fullImageNameList []string) (errorPullImageList []stri start := time.Now() for _, fullImageName := range fullImageNameList { - if strings.HasPrefix(fullImageName, "harbor.cdcyy.com.cn") { + if !strings.HasPrefix(fullImageName, "harbor.cdcyy.com.cn") { since := time.Since(start) if since < 60*time.Second { - time.Sleep(60*time.Second - since) + duration := 60*time.Second - since + log.DebugF("PullFromFullNameList - wait for %s !", duration.String()) + time.Sleep(duration) start = time.Now() } } From ae11512f0ac22f57b1cc2b617f02f638a9cc1a55 Mon Sep 17 00:00:00 2001 From: zeaslity Date: Tue, 27 Aug 2024 14:17:39 +0800 Subject: [PATCH 07/11] [Agent][Deploy] - cqejpt --- agent-deploy/d_app/CmiiImageConfig.go | 1 + agent-operator/ImageSyncOperator.go | 11 ++- agent-operator/ImageSyncOperator_test.go | 98 +++++++++++++++++++++++ agent-operator/image/CmiiImageOperator.go | 12 ++- 4 files changed, 117 insertions(+), 5 deletions(-) diff --git a/agent-deploy/d_app/CmiiImageConfig.go b/agent-deploy/d_app/CmiiImageConfig.go index 6e8c3db..3160b5d 100755 --- a/agent-deploy/d_app/CmiiImageConfig.go +++ b/agent-deploy/d_app/CmiiImageConfig.go @@ -44,6 +44,7 @@ var CmiiBackendAppMap = map[string]string{ "cmii-uav-grid-engine": "5.4.0", "cmii-uav-grid-manage": "5.4.0", "cmii-uav-sense-adapter": "5.4.0", + "cmii-uav-sync": "5.4.0", } var CmiiFrontendAppMap = map[string]string{ diff --git a/agent-operator/ImageSyncOperator.go b/agent-operator/ImageSyncOperator.go index be17ab0..e8ed630 100755 --- a/agent-operator/ImageSyncOperator.go +++ b/agent-operator/ImageSyncOperator.go @@ -59,12 +59,18 @@ type UploadEntity struct { ShouldUploadToDemoMinio bool // 上传镜像 DCU中的U } +type DirectPushResultEntity struct { + ErrorPushedImageList []string +} + type ImageSyncResult struct { ProcedureSuccessImageList []string // 经过特定步骤之后成功的镜像 DownloadResult *DownloadResultEntity CompressResult *CompressResultEntity UploadResult *UploadResultEntity + + DirectPushResult *DirectPushResultEntity } type DownloadResultEntity struct { @@ -103,6 +109,9 @@ func (syncCondition *ImageSyncEntity) PullFromEntityAndSyncConditionally() (imag ErrorUploadImageList: nil, AllDownloadUrl: nil, }, + DirectPushResult: &DirectPushResultEntity{ + ErrorPushedImageList: nil, + }, } if (syncCondition.DownloadCondition.CmiiNameTagList == nil && syncCondition.DownloadCondition.FullNameImageList == nil) || (len(syncCondition.DownloadCondition.CmiiNameTagList) == 0 && len(syncCondition.DownloadCondition.FullNameImageList) == 0) { @@ -137,7 +146,7 @@ func (syncCondition *ImageSyncEntity) PullFromEntityAndSyncConditionally() (imag log.ErrorF("DirectHarborHost is null ! can't push to target harbor !") } // push to - //errorPushImageNameList = image.TagFromListAndPushToCHarbor(allCmiiImageNameList, syncCondition.DirectHarborHost) + imageSyncResult.DirectPushResult.ErrorPushedImageList = image.TagFromListAndPushToCHarbor(imageSyncResult.ProcedureSuccessImageList, syncCondition.DirectHarborHost) } // build result diff --git a/agent-operator/ImageSyncOperator_test.go b/agent-operator/ImageSyncOperator_test.go index 4ac0fe1..51cc5b7 100755 --- a/agent-operator/ImageSyncOperator_test.go +++ b/agent-operator/ImageSyncOperator_test.go @@ -81,6 +81,104 @@ func TestPullFromEntityAndSyncConditionally(t *testing.T) { // ...其他验证逻辑... } +func TestPullFromEntityAndSyncConditionally_ChongQingErJiPingTai(t *testing.T) { + // 创建一个模拟的sync对象,用于测试函数的行为。这里需要根据你的实际需求来设置mock数据和预期结果。 + sync := ImageSyncEntity{ + DownloadCondition: &DownloadEntity{ + ShouldDownloadImage: true, + ProjectName: "cqejpt", + ProjectVersion: "", + CmiiNameTagList: []string{ + //"cmii-uav-mqtthandler:5.4.0-bjdyt-052102", + }, + FullNameImageList: []string{ + "docker.107421.xyz/rancher/backup-restore-operator:v1.0.3", + "docker.107421.xyz/rancher/calico-cni:v3.17.2", + "docker.107421.xyz/rancher/calico-ctl:v3.17.2", + "docker.107421.xyz/rancher/calico-kube-controllers:v3.17.2", + "docker.107421.xyz/rancher/calico-node:v3.17.2", + "docker.107421.xyz/rancher/calico-pod2daemon-flexvol:v3.17.2", + "docker.107421.xyz/rancher/cis-operator:v1.0.3", + "docker.107421.xyz/rancher/cluster-proportional-autoscaler:1.7.1", + "docker.107421.xyz/rancher/coredns-coredns:1.8.0", + "docker.107421.xyz/rancher/coreos-etcd:v3.4.14-rancher1", + "docker.107421.xyz/rancher/coreos-kube-state-metrics:v1.9.7", + "docker.107421.xyz/rancher/coreos-prometheus-config-reloader:v0.39.0", + "docker.107421.xyz/rancher/coreos-prometheus-operator:v0.39.0", + "docker.107421.xyz/rancher/externalip-webhook:v0.1.6", + "docker.107421.xyz/rancher/flannel-cni:v0.3.0-rancher6", + "docker.107421.xyz/rancher/coreos-flannel:v0.13.0-rancher1", + "docker.107421.xyz/rancher/fleet-agent:v0.3.4", + "docker.107421.xyz/rancher/fleet:v0.3.4", + "docker.107421.xyz/rancher/fluentd:v0.1.24", + "docker.107421.xyz/rancher/grafana-grafana:7.1.5", + "docker.107421.xyz/rancher/hyperkube:v1.20.4-rancher1", + "docker.107421.xyz/rancher/jimmidyson-configmap-reload:v0.3.0", + "docker.107421.xyz/rancher/k8s-dns-dnsmasq-nanny:1.15.2", + "docker.107421.xyz/rancher/k8s-dns-kube-dns:1.15.2", + "docker.107421.xyz/rancher/k8s-dns-node-cache:1.15.13", + "docker.107421.xyz/rancher/k8s-dns-sidecar:1.15.2", + "docker.107421.xyz/rancher/klipper-lb:v0.1.2", + "docker.107421.xyz/rancher/kube-api-auth:v0.1.4", + "docker.107421.xyz/rancher/kubectl:v1.20.4", + "docker.107421.xyz/rancher/kubernetes-external-dns:v0.7.3", + "docker.107421.xyz/rancher/cluster-proportional-autoscaler:1.8.1", + "docker.107421.xyz/rancher/library-busybox:1.31.1", + "docker.107421.xyz/rancher/library-busybox:1.32.1", + "docker.107421.xyz/rancher/library-nginx:1.19.2-alpine", + "docker.107421.xyz/rancher/library-traefik:1.7.19", + "docker.107421.xyz/rancher/local-path-provisioner:v0.0.11", + "docker.107421.xyz/rancher/local-path-provisioner:v0.0.14", + "docker.107421.xyz/rancher/local-path-provisioner:v0.0.19", + "docker.107421.xyz/rancher/log-aggregator:v0.1.7", + "docker.107421.xyz/rancher/istio-kubectl:1.5.10", + "docker.107421.xyz/rancher/metrics-server:v0.4.1", + "docker.107421.xyz/rancher/configmap-reload:v0.3.0-rancher4", + "docker.107421.xyz/rancher/nginx-ingress-controller-defaultbackend:1.5-rancher1", + "docker.107421.xyz/rancher/nginx-ingress-controller:nginx-0.43.0-rancher1", + "docker.107421.xyz/rancher/opa-gatekeeper:v3.1.0-beta.7", + "docker.107421.xyz/rancher/openzipkin-zipkin:2.14.2", + "docker.107421.xyz/rancher/pause:3.2", + "docker.107421.xyz/rancher/plugins-docker:18.09", + "docker.107421.xyz/rancher/prom-alertmanager:v0.21.0", + "docker.107421.xyz/rancher/prom-node-exporter:v1.0.1", + "docker.107421.xyz/rancher/prom-prometheus:v2.18.2", + "docker.107421.xyz/rancher/prometheus-auth:v0.2.1", + "docker.107421.xyz/rancher/rancher-agent:v2.5.7", + "docker.107421.xyz/rancher/rancher-webhook:v0.1.0-beta9", + "docker.107421.xyz/rancher/rancher:v2.5.7", + "docker.107421.xyz/rancher/rke-tools:v0.1.72", + "docker.107421.xyz/rancher/security-scan:v0.1.14", + "docker.107421.xyz/rancher/security-scan:v0.2.2", + "docker.107421.xyz/rancher/shell:v0.1.6", + "docker.107421.xyz/rancher/sonobuoy-sonobuoy:v0.16.3", + "docker.107421.xyz/rancher/system-upgrade-controller:v0.6.2", + }, + DownloadAuthUserName: "", + DownloadAuthPassword: "", + }, + + CompressCondition: &CompressEntity{ + ShouldCompressImageToGzip: false, + ShouldGzipSplit: true, + GzipLocalFolder: "", + }, + UploadCondition: &UploadEntity{ + ShouldUploadToDemoMinio: false, + }, + DirectHarborHost: "chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn", + ShouldDirectPushToHarbor: true, + } + + // 调用函数并获取结果。这里需要根据你的实际需求来验证返回的结果是否符合预期。 + result := sync.PullFromEntityAndSyncConditionally() + + utils.BeautifulPrint(result) + + // 添加断言以检查函数的输出,例如: + // ...其他验证逻辑... +} + func TestDownloadLoadTagUpload(t *testing.T) { localGzipFileList := []string{ diff --git a/agent-operator/image/CmiiImageOperator.go b/agent-operator/image/CmiiImageOperator.go index 3d3ef31..59efdeb 100755 --- a/agent-operator/image/CmiiImageOperator.go +++ b/agent-operator/image/CmiiImageOperator.go @@ -192,9 +192,10 @@ func UploadToOctopusKindHarbor(targetImageName string) (pushResult io.ReadCloser } pushResult, err := apiClient.ImagePush(context.TODO(), targetImageName, types.ImagePushOptions{ - All: false, - RegistryAuth: "eyAidXNlcm5hbWUiOiAiYWRtaW4iLCAicGFzc3dvcmQiOiAiVjJyeVN0ckBuZ1BzcyIsICJlbWFpbCI6ICJpY2VAcXEuY29tIiB9Cg==", - //RegistryAuth: "eyAidXNlcm5hbWUiOiAiZGljdHp4IiwgInBhc3N3b3JkIjogIjlAcDNoekdWU0JscyVIWXUiLCAiZW1haWwiOiAiaWNlQHFxLmNvbSIgfQ==", + All: false, + //RegistryAuth: "eyAidXNlcm5hbWUiOiAiYWRtaW4iLCAicGFzc3dvcmQiOiAiVjJyeVN0ckBuZ1BzcyIsICJlbWFpbCI6ICJpY2VAcXEuY29tIiB9Cg==", + // 重庆移动二级平台 + RegistryAuth: "eyAidXNlcm5hbWUiOiAiemd5ZHR4anRjcXl4Z3MxODg4MzI1NzMxMSIsICJwYXNzd29yZCI6ICJEaWN0QDIwMjQiLCAiZW1haWwiOiAiaWNlQHFxLmNvbSIgfQ==", PrivilegeFunc: nil, Platform: "amd64", }) @@ -247,7 +248,10 @@ func TagFromListAndPushToCHarbor(referenceImageList []string, targetHarborHost s } scanner := bufio.NewScanner(pushResult) for scanner.Scan() { - //fmt.Println(scanner.Text()) + text := scanner.Text() + if strings.Contains(text, "digest: sha256:") { + fmt.Println(scanner.Text()) + } } log.InfoF("[ImageTagFromListAndPushToCHarbor] - push of %s success!", targetImageName) fmt.Println() From 0d1ed24814ae9936e6e3c5ff930e79e92aec48a3 Mon Sep 17 00:00:00 2001 From: zeaslity Date: Tue, 27 Aug 2024 14:28:37 +0800 Subject: [PATCH 08/11] [Agent][Deploy] - cqejpt --- .../real_project/cqejpt/k8s-backend.yaml | 5977 +++++++++++++++++ .../real_project/cqejpt/k8s-configmap.yaml | 448 ++ .../real_project/cqejpt/k8s-dashboard.yaml | 309 + .../real_project/cqejpt/k8s-emqx.yaml | 274 + .../real_project/cqejpt/k8s-frontend.yaml | 2606 +++++++ .../real_project/cqejpt/k8s-ingress.yaml | 624 ++ .../real_project/cqejpt/k8s-mongo.yaml | 78 + .../real_project/cqejpt/k8s-mysql.yaml | 423 ++ .../real_project/cqejpt/k8s-nacos.yaml | 130 + .../real_project/cqejpt/k8s-nfs-test.yaml | 38 + agent-common/real_project/cqejpt/k8s-nfs.yaml | 114 + agent-common/real_project/cqejpt/k8s-pvc.yaml | 76 + .../real_project/cqejpt/k8s-rabbitmq.yaml | 328 + .../real_project/cqejpt/k8s-redis.yaml | 585 ++ agent-common/real_project/cqejpt/k8s-srs.yaml | 496 ++ agent-operator/CmiiDeployOperator_test.go | 21 + 16 files changed, 12527 insertions(+) create mode 100644 agent-common/real_project/cqejpt/k8s-backend.yaml create mode 100644 agent-common/real_project/cqejpt/k8s-configmap.yaml create mode 100644 agent-common/real_project/cqejpt/k8s-dashboard.yaml create mode 100644 agent-common/real_project/cqejpt/k8s-emqx.yaml create mode 100644 agent-common/real_project/cqejpt/k8s-frontend.yaml create mode 100644 agent-common/real_project/cqejpt/k8s-ingress.yaml create mode 100644 agent-common/real_project/cqejpt/k8s-mongo.yaml create mode 100644 agent-common/real_project/cqejpt/k8s-mysql.yaml create mode 100644 agent-common/real_project/cqejpt/k8s-nacos.yaml create mode 100644 agent-common/real_project/cqejpt/k8s-nfs-test.yaml create mode 100644 agent-common/real_project/cqejpt/k8s-nfs.yaml create mode 100644 agent-common/real_project/cqejpt/k8s-pvc.yaml create mode 100644 agent-common/real_project/cqejpt/k8s-rabbitmq.yaml create mode 100644 agent-common/real_project/cqejpt/k8s-redis.yaml create mode 100644 agent-common/real_project/cqejpt/k8s-srs.yaml diff --git a/agent-common/real_project/cqejpt/k8s-backend.yaml b/agent-common/real_project/cqejpt/k8s-backend.yaml new file mode 100644 index 0000000..1e71fe6 --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-backend.yaml @@ -0,0 +1,5977 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-app-release + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-app-release + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-app-release + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-app-release + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-app-release:4.2.0-validation + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-app-release + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-app-release + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-app-release + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-app-release + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-brain + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-brain + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-brain + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-brain:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-brain + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-brain + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-brain + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-brain + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-airspace + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-airspace + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-airspace + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-airspace:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-airspace + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-airspace + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-airspace + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-airspace + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-sense-adapter + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sense-adapter + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-sense-adapter:5.7.0-0805 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-sense-adapter + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-sense-adapter + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sense-adapter + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-data + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-data + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-data + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-data + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-admin-data:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-admin-data + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-admin-data + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-data + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-data + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-waypoint + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-waypoint + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-waypoint:5.7.0-0814 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-waypoint + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-waypoint + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-waypoint + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-waypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-gateway + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-gateway + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uas-gateway:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uas-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uas-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-gateway + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-developer + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-developer + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-developer + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-developer:5.7.0-0725 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-developer + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-developer + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-developer + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-developer + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-oauth + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-oauth + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-oauth + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-oauth:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-oauth + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-oauth + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-oauth + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-oauth + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-manage + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-manage + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-grid-manage:5.1.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-grid-manage + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-grid-manage + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-manage + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mission + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mission + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mission + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-mission:5.7.0-29766-0819 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-mission + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-mission + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mission + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mission + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-lifecycle + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-lifecycle + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uas-lifecycle:5.7.0-30403 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uas-lifecycle + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uas-lifecycle + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-lifecycle + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mqtthandler + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mqtthandler + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-mqtthandler:5.7.0-29766-0815 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-mqtthandler + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-mqtthandler + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mqtthandler + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-alarm + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-alarm + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-alarm + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-alarm:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-alarm + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-alarm + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-alarm + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-alarm + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-clusters + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-clusters + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-clusters + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-clusters:5.2.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-clusters + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-clusters + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-clusters + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-clusters + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-industrial-portfolio + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-industrial-portfolio + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-industrial-portfolio:5.7.0-31369-yunnan-082001 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-industrial-portfolio + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-industrial-portfolio + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-industrial-portfolio + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-gateway + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-gateway + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-admin-gateway:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-admin-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-admin-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-gateway + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-tower + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-tower + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-tower + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-tower:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-tower + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-tower + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-tower + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-tower + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gateway + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gateway + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-gateway:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gateway + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gis-server + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gis-server + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-gis-server:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-gis-server + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-gis-server + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gis-server + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-gis-server + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-integration + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-integration + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-integration + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-integration:5.7.0-hw-080201 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-integration + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-integration + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-integration + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-integration + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-notice + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-notice + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-notice + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-notice:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-notice + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-notice + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-notice + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-notice + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-threedsimulation + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-threedsimulation + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-threedsimulation:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-threedsimulation + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-threedsimulation + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-threedsimulation + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-process + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-process + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-process:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-process + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-engine + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-engine + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-grid-engine:5.1.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-grid-engine + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-grid-engine + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-engine + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-logger + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-logger + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-logger + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-logger:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-logger + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-logger + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-logger + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-logger + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-user + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-user + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-admin-user:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-admin-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-admin-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-user + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-depotautoreturn + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-depotautoreturn + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-depotautoreturn:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-depotautoreturn + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-depotautoreturn + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-depotautoreturn + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cloud-live + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cloud-live + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-cloud-live:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-cloud-live + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-cloud-live + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cloud-live + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-user + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-user + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-user:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-user + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-iam-gateway + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-iam-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-iam-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-iam-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-iam-gateway + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-iam-gateway:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-iam-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-iam-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-iam-gateway + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-iam-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-iam-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-kpi-monitor + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-kpi-monitor + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-kpi-monitor:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-kpi-monitor + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-kpi-monitor + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-kpi-monitor + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-datasource + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-datasource + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-grid-datasource:5.2.0-24810 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-grid-datasource + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-grid-datasource + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-datasource + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-material-warehouse + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-material-warehouse + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-material-warehouse:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-material-warehouse + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-material-warehouse + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-material-warehouse + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-data-post-process + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-data-post-process + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-data-post-process:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-data-post-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-data-post-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-data-post-process + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-device + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-device + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-device + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-device + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-device:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-device + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-device + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-device + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-device + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cms + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cms + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cms + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-cms:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-cms + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-cms + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cms + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cms + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-autowaypoint + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-autowaypoint + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-autowaypoint:4.2.0-beta + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-autowaypoint + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-autowaypoint + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-autowaypoint + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-multilink + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-multilink + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-multilink + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-multilink:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-multilink + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-multilink + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-multilink + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-multilink + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-supervision + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-suav-supervision + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-supervision + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-suav-supervision:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-suav-supervision + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-suav-supervision + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-supervision + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-suav-supervision + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-surveillance + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-surveillance + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-surveillance:5.7.0-29766-0815 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-surveillance + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-surveillance + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-surveillance + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-surveillance + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-emergency + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-emergency + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-emergency + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-emergency:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-emergency + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-uav-emergency + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-emergency + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-emergency + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-open-gateway + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-open-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - cqejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-open-gateway + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-open-gateway:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-open-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: cqejpt/cmii-open-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-open-gateway + namespace: cqejpt + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-open-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 diff --git a/agent-common/real_project/cqejpt/k8s-configmap.yaml b/agent-common/real_project/cqejpt/k8s-configmap.yaml new file mode 100644 index 0000000..bc5e042 --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-configmap.yaml @@ -0,0 +1,448 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-splice + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "splice", + AppClientId: "APP_zE0M3sTRXrCIJS8Y" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-threedsimulation + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "threedsimulation", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-oms + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "oms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-emergency + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "emergency", + AppClientId: "APP_aGsTAY1uMZrpKdfk" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-traffic + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "traffic", + AppClientId: "APP_Jc8i2wOQ1t73QEJS" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hljtt + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "hljtt", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uasms + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "uasms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dispatchh5 + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "dispatchh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervisionh5 + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "supervisionh5", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-securityh5 + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "securityh5", + AppClientId: "APP_N3ImO0Ubfu9peRHD" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-seniclive + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "seniclive", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qinghaitourism + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "qinghaitourism", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qingdao + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "qingdao", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-armypeople + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "armypeople", + AppClientId: "APP_UIegse6Lfou9pO1U" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-base + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "base", + AppClientId: "APP_9LY41OaKSqk2btY0" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-open + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "open", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pangu + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-cmsportal + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "cmsportal", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-visualization + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "visualization", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uas + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "uas", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-logistics + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "logistics", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-media + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "media", + AppClientId: "APP_4AU8lbifESQO4FD6" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-multiterminal + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "multiterminal", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-mws + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "mws", + AppClientId: "APP_uKniXPELlRERBBwK" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hyper + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "hyper", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-detection + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "detection", + AppClientId: "APP_FDHW2VLVDWPnnOCy" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-ai-brain + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "ai-brain", + AppClientId: "APP_rafnuCAmBESIVYMH" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-security + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "security", + AppClientId: "APP_JUSEMc7afyWXxvE7" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-share + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "share", + AppClientId: "APP_4lVSVI0ZGxTssir8" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-jiangsuwenlv + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "jiangsuwenlv", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pilot2cloud + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "pilot2cloud", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervision + namespace: cqejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.115.174:8088", + ApplicationShortName: "supervision", + AppClientId: "APP_qqSu82THfexI8PLM" + } diff --git a/agent-common/real_project/cqejpt/k8s-dashboard.yaml b/agent-common/real_project/cqejpt/k8s-dashboard.yaml new file mode 100644 index 0000000..29ac3f8 --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-dashboard.yaml @@ -0,0 +1,309 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: kube-system + +--- + +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system + +--- + +kind: Service +apiVersion: v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + kubernetes.io/cluster-service: "true" + name: kubernetes-dashboard + namespace: kube-system +spec: + ports: + - port: 443 + targetPort: 8443 + nodePort: 39999 + selector: + k8s-app: kubernetes-dashboard + type: NodePort + +--- + +apiVersion: v1 +kind: Secret +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-certs + namespace: kube-system +type: Opaque + +--- + +apiVersion: v1 +kind: Secret +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-csrf + namespace: kube-system +type: Opaque +data: + csrf: "" + +--- + +apiVersion: v1 +kind: Secret +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-key-holder + namespace: kube-system +type: Opaque + +--- + +kind: ConfigMap +apiVersion: v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-settings + namespace: kube-system + +--- + +kind: Role +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system +rules: + # Allow Dashboard to get, update and delete Dashboard exclusive secrets. + - apiGroups: [ "" ] + resources: [ "secrets" ] + resourceNames: [ "kubernetes-dashboard-key-holder", "kubernetes-dashboard-certs", "kubernetes-dashboard-csrf" ] + verbs: [ "get", "update", "delete" ] + # Allow Dashboard to get and update 'kubernetes-dashboard-settings' config map. + - apiGroups: [ "" ] + resources: [ "configmaps" ] + resourceNames: [ "kubernetes-dashboard-settings" ] + verbs: [ "get", "update" ] + # Allow Dashboard to get metrics. + - apiGroups: [ "" ] + resources: [ "services" ] + resourceNames: [ "heapster", "dashboard-metrics-scraper" ] + verbs: [ "proxy" ] + - apiGroups: [ "" ] + resources: [ "services/proxy" ] + resourceNames: [ "heapster", "http:heapster:", "https:heapster:", "dashboard-metrics-scraper", "http:dashboard-metrics-scraper" ] + verbs: [ "get" ] + +--- + +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard +rules: + # Allow Metrics Scraper to get metrics from the Metrics server + - apiGroups: [ "metrics.k8s.io" ] + resources: [ "pods", "nodes" ] + verbs: [ "get", "list", "watch" ] + +--- + +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: kubernetes-dashboard +subjects: + - kind: ServiceAccount + name: kubernetes-dashboard + namespace: kube-system + +--- + +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: kubernetes-dashboard +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: kubernetes-dashboard +subjects: + - kind: ServiceAccount + name: kubernetes-dashboard + namespace: kube-system + +--- + +kind: Deployment +apiVersion: apps/v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system +spec: + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + k8s-app: kubernetes-dashboard + template: + metadata: + labels: + k8s-app: kubernetes-dashboard + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: kubernetes-dashboard + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/dashboard:v2.0.1 + ports: + - containerPort: 8443 + protocol: TCP + args: + - --auto-generate-certificates + - --namespace=kube-system + # Uncomment the following line to manually specify Kubernetes API server Host + # If not specified, Dashboard will attempt to auto discover the API server and connect + # to it. Uncomment only if the default does not work. + # - --apiserver-host=http://my-address:port + volumeMounts: + - name: kubernetes-dashboard-certs + mountPath: /certs + # Create on-disk volume to store exec logs + - mountPath: /tmp + name: tmp-volume + livenessProbe: + httpGet: + scheme: HTTPS + path: / + port: 8443 + initialDelaySeconds: 30 + timeoutSeconds: 30 + securityContext: + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + runAsUser: 1001 + runAsGroup: 2001 + volumes: + - name: kubernetes-dashboard-certs + secret: + secretName: kubernetes-dashboard-certs + - name: tmp-volume + emptyDir: { } + serviceAccountName: kubernetes-dashboard + # Comment the following tolerations if Dashboard must not be deployed on master + tolerations: + - key: node-role.kubernetes.io/master + effect: NoSchedule + +--- + +kind: Service +apiVersion: v1 +metadata: + labels: + k8s-app: dashboard-metrics-scraper + name: dashboard-metrics-scraper + namespace: kube-system +spec: + ports: + - port: 8000 + targetPort: 8000 + selector: + k8s-app: dashboard-metrics-scraper + +--- + +kind: Deployment +apiVersion: apps/v1 +metadata: + labels: + k8s-app: dashboard-metrics-scraper + name: dashboard-metrics-scraper + namespace: kube-system +spec: + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + k8s-app: dashboard-metrics-scraper + template: + metadata: + labels: + k8s-app: dashboard-metrics-scraper + annotations: + seccomp.security.alpha.kubernetes.io/pod: 'runtime/default' + spec: + containers: + - name: dashboard-metrics-scraper + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/metrics-scraper:v1.0.4 + ports: + - containerPort: 8000 + protocol: TCP + livenessProbe: + httpGet: + scheme: HTTP + path: / + port: 8000 + initialDelaySeconds: 30 + timeoutSeconds: 30 + volumeMounts: + - mountPath: /tmp + name: tmp-volume + securityContext: + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + runAsUser: 1001 + runAsGroup: 2001 + serviceAccountName: kubernetes-dashboard + # Comment the following tolerations if Dashboard must not be deployed on master + tolerations: + - key: node-role.kubernetes.io/master + effect: NoSchedule + volumes: + - name: tmp-volume + emptyDir: { } +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: admin-user + namespace: kube-system + +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: admin-user +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: + - kind: ServiceAccount + name: admin-user + namespace: kube-system diff --git a/agent-common/real_project/cqejpt/k8s-emqx.yaml b/agent-common/real_project/cqejpt/k8s-emqx.yaml new file mode 100644 index 0000000..b89ee6c --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-emqx.yaml @@ -0,0 +1,274 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-emqxs + namespace: cqejpt +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-emqxs-env + namespace: cqejpt + labels: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + helm.sh/chart: emqx-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 +data: + EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc.cluster.local:443" + EMQX_NAME: "helm-emqxs" + EMQX_CLUSTER__DISCOVERY: "k8s" + EMQX_CLUSTER__K8S__APP_NAME: "helm-emqxs" + EMQX_CLUSTER__K8S__SERVICE_NAME: "helm-emqxs-headless" + EMQX_CLUSTER__K8S__ADDRESS_TYPE: "dns" + EMQX_CLUSTER__K8S__namespace: "cqejpt" + EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local" + EMQX_ALLOW_ANONYMOUS: "false" + EMQX_ACL_NOMATCH: "deny" +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-emqxs-cm + namespace: cqejpt + labels: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + helm.sh/chart: emqx-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 +data: + emqx_auth_mnesia.conf: |- + auth.mnesia.password_hash = sha256 + + # clientid 认证数据 + # auth.client.1.clientid = admin + # auth.client.1.password = 4YPk*DS%+5 + + ## username 认证数据 + auth.user.1.username = admin + auth.user.1.password = odD8#Ve7.B + auth.user.2.username = cmlc + auth.user.2.password = odD8#Ve7.B + + acl.conf: |- + {allow, {user, "admin"}, pubsub, ["admin/#"]}. + {allow, {user, "dashboard"}, subscribe, ["$SYS/#"]}. + {allow, {ipaddr, "127.0.0.1"}, pubsub, ["$SYS/#", "#"]}. + {deny, all, subscribe, ["$SYS/#", {eq, "#"}]}. + {allow, all}. + + loaded_plugins: |- + {emqx_auth_mnesia,true}. + {emqx_auth_mnesia,true}. + {emqx_management, true}. + {emqx_recon, true}. + {emqx_retainer, false}. + {emqx_dashboard, true}. + {emqx_telemetry, true}. + {emqx_rule_engine, true}. + {emqx_bridge_mqtt, false}. +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-emqxs + namespace: cqejpt + labels: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + helm.sh/chart: emqx-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 +spec: + replicas: 1 + serviceName: helm-emqxs-headless + updateStrategy: + type: RollingUpdate + selector: + matchLabels: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + template: + metadata: + labels: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + helm.sh/chart: emqx-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 + spec: + affinity: { } + imagePullSecrets: + - name: harborsecret + serviceAccountName: helm-emqxs + containers: + - name: helm-emqxs + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/emqx:4.4.9 + imagePullPolicy: Always + ports: + - name: mqtt + containerPort: 1883 + - name: mqttssl + containerPort: 8883 + - name: mgmt + containerPort: 8081 + - name: ws + containerPort: 8083 + - name: wss + containerPort: 8084 + - name: dashboard + containerPort: 18083 + - name: ekka + containerPort: 4370 + envFrom: + - configMapRef: + name: helm-emqxs-env + resources: { } + volumeMounts: + - name: emqx-data + mountPath: "/opt/emqx/data/mnesia" + readOnly: false + - name: helm-emqxs-cm + mountPath: "/opt/emqx/etc/plugins/emqx_auth_mnesia.conf" + subPath: emqx_auth_mnesia.conf + readOnly: false + # - name: helm-emqxs-cm + # mountPath: "/opt/emqx/etc/acl.conf" + # subPath: "acl.conf" + # readOnly: false + - name: helm-emqxs-cm + mountPath: "/opt/emqx/data/loaded_plugins" + subPath: loaded_plugins + readOnly: false + volumes: + - name: emqx-data + persistentVolumeClaim: + claimName: helm-emqxs + - name: helm-emqxs-cm + configMap: + name: helm-emqxs-cm + items: + - key: emqx_auth_mnesia.conf + path: emqx_auth_mnesia.conf + - key: acl.conf + path: acl.conf + - key: loaded_plugins + path: loaded_plugins +--- +kind: Role +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: helm-emqxs + namespace: cqejpt +rules: + - apiGroups: + - "" + resources: + - endpoints + verbs: + - get + - watch + - list +--- +kind: RoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: helm-emqxs + namespace: cqejpt +subjects: + - kind: ServiceAccount + name: helm-emqxs + namespace: cqejpt +roleRef: + kind: Role + name: helm-emqxs + apiGroup: rbac.authorization.k8s.io +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-emqxs + namespace: cqejpt + labels: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + helm.sh/chart: emqx-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 +spec: + type: NodePort + selector: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + ports: + - port: 1883 + name: mqtt + targetPort: 1883 + nodePort: 31883 + - port: 18083 + name: dashboard + targetPort: 18083 + nodePort: 38085 + - port: 8083 + name: mqtt-websocket + targetPort: 8083 + nodePort: 38083 +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-emqxs-headless + namespace: cqejpt + labels: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + helm.sh/chart: emqx-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + clusterIP: None + selector: + cmii.type: middleware + cmii.app: helm-emqxs + cmii.emqx.architecture: cluster + ports: + - name: mqtt + port: 1883 + protocol: TCP + targetPort: 1883 + - name: mqttssl + port: 8883 + protocol: TCP + targetPort: 8883 + - name: mgmt + port: 8081 + protocol: TCP + targetPort: 8081 + - name: websocket + port: 8083 + protocol: TCP + targetPort: 8083 + - name: wss + port: 8084 + protocol: TCP + targetPort: 8084 + - name: dashboard + port: 18083 + protocol: TCP + targetPort: 18083 + - name: ekka + port: 4370 + protocol: TCP + targetPort: 4370 diff --git a/agent-common/real_project/cqejpt/k8s-frontend.yaml b/agent-common/real_project/cqejpt/k8s-frontend.yaml new file mode 100644 index 0000000..5ce0992 --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-frontend.yaml @@ -0,0 +1,2606 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: nginx-cm + namespace: cqejpt + labels: + cmii.type: frontend +data: + nginx.conf: | + server { + listen 9528; + server_name localhost; + gzip on; + + location / { + root /home/cmii-platform/dist; + index index.html index.htm; + } + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root html; + } + } +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-armypeople + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-armypeople + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-armypeople:5.7.0-0820 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-armypeople + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-armypeople + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-armypeople + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-ai-brain + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-ai-brain + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-ai-brain:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-ai-brain + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-ai-brain + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-ai-brain + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-detection + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-detection + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-detection:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-detection + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-detection + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-detection + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-platform-supervision + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervision + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-suav-platform-supervision:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-suav-platform-supervision + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervision + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervision + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-uasms + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-uasms + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-uasms:5.7.0-29322 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-uasms + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-uasms + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-uasms + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qinghaitourism + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-qinghaitourism:4.1.0-21377-0508 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-qinghaitourism + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qinghaitourism + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform:5.7.0-29267-0820 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-pangu + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-oms + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-oms + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-oms:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-oms + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-oms + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-oms + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-dispatchh5 + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-dispatchh5 + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-dispatchh5:5.6.0-0708 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-dispatchh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-dispatchh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-dispatchh5 + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-security + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-security + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-security:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-security + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-security + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-security + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-mws + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-mws + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-mws:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-mws + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-mws + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-mws + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-visualization + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-visualization + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-visualization:5.2.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-visualization + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-visualization + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-visualization + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-logistics + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-logistics + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-logistics:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-logistics + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-logistics + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-logistics + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-threedsimulation + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-threedsimulation + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-threedsimulation:5.2.0-21392 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-threedsimulation + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-threedsimulation + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-threedsimulation + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervisionh5 + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-suav-platform-supervisionh5:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-suav-platform-supervisionh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervisionh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-splice + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-splice + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-splice:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-splice + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-splice + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-splice + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-open + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-open + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-open:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-open + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-open + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-open + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-share + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-share + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-share:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-share + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-share + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-share + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-hljtt + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-hljtt + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-hljtt:5.3.0-hjltt + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-hljtt + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-hljtt + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-hljtt + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-qingdao + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qingdao + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-qingdao:5.7.0-29766-0815 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-qingdao + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qingdao + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qingdao + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-uas + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-uas + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-uas:5.7.0-29322 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-uas + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-uas + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-uas + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-cms-portal + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-cms-portal + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-cms-portal:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-cms-portal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-cmsportal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-cms-portal + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-jiangsuwenlv + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-jiangsuwenlv:4.1.3-jiangsu-0427 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-jiangsuwenlv + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-jiangsuwenlv + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-securityh5 + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-securityh5 + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-securityh5:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-securityh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-securityh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-securityh5 + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-emergency-rescue + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-emergency-rescue + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-emergency-rescue:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-emergency-rescue + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-emergency + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-emergency-rescue + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-multiterminal + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-multiterminal + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-multiterminal:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-multiterminal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-multiterminal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-multiterminal + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-base + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-base + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-base:5.4.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-base + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-base + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-base + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-media + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-media + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-media:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-media + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-media + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-media + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-seniclive + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-seniclive + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-uav-platform-seniclive:5.2.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: cqejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-seniclive + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-seniclive + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-seniclive + namespace: cqejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 diff --git a/agent-common/real_project/cqejpt/k8s-ingress.yaml b/agent-common/real_project/cqejpt/k8s-ingress.yaml new file mode 100644 index 0000000..fef7245 --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-ingress.yaml @@ -0,0 +1,624 @@ +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: frontend-applications-ingress + namespace: cqejpt + labels: + type: frontend + octopus.control: all-ingress-config-wdd + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 + annotations: + kubernetes.io/ingress.class: "nginx" + nginx.ingress.kubernetes.io/enable-cors: "true" + nginx.ingress.kubernetes.io/rewrite-target: /$1 + nginx.ingress.kubernetes.io/configuration-snippet: | + rewrite ^(/supervision)$ $1/ redirect; + rewrite ^(/supervisionh5)$ $1/ redirect; + rewrite ^(/pangu)$ $1/ redirect; + rewrite ^(/ai-brain)$ $1/ redirect; + rewrite ^(/armypeople)$ $1/ redirect; + rewrite ^(/base)$ $1/ redirect; + rewrite ^(/cmsportal)$ $1/ redirect; + rewrite ^(/detection)$ $1/ redirect; + rewrite ^(/dispatchh5)$ $1/ redirect; + rewrite ^(/emergency)$ $1/ redirect; + rewrite ^(/hljtt)$ $1/ redirect; + rewrite ^(/hyper)$ $1/ redirect; + rewrite ^(/jiangsuwenlv)$ $1/ redirect; + rewrite ^(/logistics)$ $1/ redirect; + rewrite ^(/media)$ $1/ redirect; + rewrite ^(/multiterminal)$ $1/ redirect; + rewrite ^(/mws)$ $1/ redirect; + rewrite ^(/oms)$ $1/ redirect; + rewrite ^(/open)$ $1/ redirect; + rewrite ^(/pilot2cloud)$ $1/ redirect; + rewrite ^(/qingdao)$ $1/ redirect; + rewrite ^(/qinghaitourism)$ $1/ redirect; + rewrite ^(/security)$ $1/ redirect; + rewrite ^(/securityh5)$ $1/ redirect; + rewrite ^(/seniclive)$ $1/ redirect; + rewrite ^(/share)$ $1/ redirect; + rewrite ^(/splice)$ $1/ redirect; + rewrite ^(/threedsimulation)$ $1/ redirect; + rewrite ^(/traffic)$ $1/ redirect; + rewrite ^(/uas)$ $1/ redirect; + rewrite ^(/uasms)$ $1/ redirect; + rewrite ^(/visualization)$ $1/ redirect; +spec: + rules: + - host: fake-domain.cqejpt.io + http: + paths: + - path: /?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform + servicePort: 9528 + - path: /supervision/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-suav-platform-supervision + servicePort: 9528 + - path: /supervisionh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-suav-platform-supervisionh5 + servicePort: 9528 + - path: /pangu/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform + servicePort: 9528 + - path: /ai-brain/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-ai-brain + servicePort: 9528 + - path: /armypeople/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-armypeople + servicePort: 9528 + - path: /base/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-base + servicePort: 9528 + - path: /cmsportal/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-cms-portal + servicePort: 9528 + - path: /detection/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-detection + servicePort: 9528 + - path: /dispatchh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-dispatchh5 + servicePort: 9528 + - path: /emergency/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-emergency-rescue + servicePort: 9528 + - path: /hljtt/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-hljtt + servicePort: 9528 + - path: /hyper/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-hyperspectral + servicePort: 9528 + - path: /jiangsuwenlv/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-jiangsuwenlv + servicePort: 9528 + - path: /logistics/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-logistics + servicePort: 9528 + - path: /media/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-media + servicePort: 9528 + - path: /multiterminal/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-multiterminal + servicePort: 9528 + - path: /mws/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-mws + servicePort: 9528 + - path: /oms/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-oms + servicePort: 9528 + - path: /open/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-open + servicePort: 9528 + - path: /pilot2cloud/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-pilot2-to-cloud + servicePort: 9528 + - path: /qingdao/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-qingdao + servicePort: 9528 + - path: /qinghaitourism/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-qinghaitourism + servicePort: 9528 + - path: /security/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-security + servicePort: 9528 + - path: /securityh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-securityh5 + servicePort: 9528 + - path: /seniclive/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-seniclive + servicePort: 9528 + - path: /share/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-share + servicePort: 9528 + - path: /splice/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-splice + servicePort: 9528 + - path: /threedsimulation/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-threedsimulation + servicePort: 9528 + - path: /traffic/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-traffic + servicePort: 9528 + - path: /uas/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-uas + servicePort: 9528 + - path: /uasms/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-uasms + servicePort: 9528 + - path: /visualization/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-visualization + servicePort: 9528 +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: backend-applications-ingress + namespace: cqejpt + labels: + type: backend + octopus.control: all-ingress-config-wdd + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 + annotations: + kubernetes.io/ingress.class: "nginx" + nginx.ingress.kubernetes.io/enable-cors: "true" +spec: + rules: + - host: cmii-admin-data.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-data + servicePort: 8080 + - host: cmii-admin-gateway.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-gateway + servicePort: 8080 + - host: cmii-admin-user.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-user + servicePort: 8080 + - host: cmii-app-release.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-app-release + servicePort: 8080 + - host: cmii-open-gateway.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-open-gateway + servicePort: 8080 + - host: cmii-suav-supervision.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-suav-supervision + servicePort: 8080 + - host: cmii-uas-gateway.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-gateway + servicePort: 8080 + - host: cmii-uas-lifecycle.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-lifecycle + servicePort: 8080 + - host: cmii-uav-airspace.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-airspace + servicePort: 8080 + - host: cmii-uav-alarm.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-alarm + servicePort: 8080 + - host: cmii-uav-autowaypoint.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-autowaypoint + servicePort: 8080 + - host: cmii-uav-brain.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-brain + servicePort: 8080 + - host: cmii-uav-bridge.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-bridge + servicePort: 8080 + - host: cmii-uav-cloud-live.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-cloud-live + servicePort: 8080 + - host: cmii-uav-clusters.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-clusters + servicePort: 8080 + - host: cmii-uav-cms.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-cms + servicePort: 8080 + - host: cmii-uav-data-post-process.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-data-post-process + servicePort: 8080 + - host: cmii-uav-depotautoreturn.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-depotautoreturn + servicePort: 8080 + - host: cmii-uav-developer.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-developer + servicePort: 8080 + - host: cmii-uav-device.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-device + servicePort: 8080 + - host: cmii-uav-emergency.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-emergency + servicePort: 8080 + - host: cmii-uav-gateway.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gateway + servicePort: 8080 + - host: cmii-uav-gis-server.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gis-server + servicePort: 8080 + - host: cmii-uav-grid-datasource.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-datasource + servicePort: 8080 + - host: cmii-uav-grid-engine.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-engine + servicePort: 8080 + - host: cmii-uav-grid-manage.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-manage + servicePort: 8080 + - host: cmii-uav-industrial-portfolio.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-industrial-portfolio + servicePort: 8080 + - host: cmii-uav-integration.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-integration + servicePort: 8080 + - host: cmii-uav-kpi-monitor.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-kpi-monitor + servicePort: 8080 + - host: cmii-uav-logger.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-logger + servicePort: 8080 + - host: cmii-uav-material-warehouse.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-material-warehouse + servicePort: 8080 + - host: cmii-uav-mission.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-mission + servicePort: 8080 + - host: cmii-uav-mqtthandler.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-mqtthandler + servicePort: 8080 + - host: cmii-uav-multilink.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-multilink + servicePort: 8080 + - host: cmii-uav-notice.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-notice + servicePort: 8080 + - host: cmii-uav-oauth.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-oauth + servicePort: 8080 + - host: cmii-uav-process.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-process + servicePort: 8080 + - host: cmii-uav-sense-adapter.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sense-adapter + servicePort: 8080 + - host: cmii-uav-surveillance.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-surveillance + servicePort: 8080 + - host: cmii-uav-sync.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sync + servicePort: 8080 + - host: cmii-uav-threedsimulation.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-threedsimulation + servicePort: 8080 + - host: cmii-uav-tower.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-tower + servicePort: 8080 + - host: cmii-uav-user.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-user + servicePort: 8080 + - host: cmii-uav-waypoint.uavcloud-cqejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-waypoint + servicePort: 8080 +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: all-gateways-ingress + namespace: cqejpt + labels: + type: api-gateway + octopus.control: all-ingress-config-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 + annotations: + kubernetes.io/ingress.class: "nginx" + nginx.ingress.kubernetes.io/enable-cors: "true" + nginx.ingress.kubernetes.io/rewrite-target: /$1 + nginx.ingress.kubernetes.io/configuration-snippet: | + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; +spec: + rules: + - host: fake-domain.cqejpt.io + http: + paths: + - path: /oms/api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-gateway + servicePort: 8080 + - path: /open/api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-open-gateway + servicePort: 8080 + - path: /api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gateway + servicePort: 8080 diff --git a/agent-common/real_project/cqejpt/k8s-mongo.yaml b/agent-common/real_project/cqejpt/k8s-mongo.yaml new file mode 100644 index 0000000..7e7bd5e --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-mongo.yaml @@ -0,0 +1,78 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mongo + namespace: cqejpt + labels: + cmii.app: helm-mongo + cmii.type: middleware + helm.sh/chart: mongo-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 +spec: + type: NodePort + selector: + cmii.app: helm-mongo + cmii.type: middleware + ports: + - port: 27017 + name: server-27017 + targetPort: 27017 + nodePort: 37017 +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-mongo + namespace: cqejpt + labels: + cmii.app: helm-mongo + cmii.type: middleware + helm.sh/chart: mongo-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 +spec: + serviceName: helm-mongo + replicas: 1 + selector: + matchLabels: + cmii.app: helm-mongo + cmii.type: middleware + template: + metadata: + labels: + cmii.app: helm-mongo + cmii.type: middleware + helm.sh/chart: mongo-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 + annotations: + pod.alpha.kubernetes.io/initialized: "true" + spec: + imagePullSecrets: + - name: harborsecret + affinity: { } + containers: + - name: helm-mongo + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/mongo:5.0 + resources: { } + ports: + - containerPort: 27017 + name: mongo27017 + protocol: TCP + env: + - name: MONGO_INITDB_ROOT_USERNAME + value: cmlc + - name: MONGO_INITDB_ROOT_PASSWORD + value: REdPza8#oVlt + volumeMounts: + - name: mongo-data + mountPath: /data/db + readOnly: false + subPath: default/helm-mongo/data/db + volumes: + - name: mongo-data + persistentVolumeClaim: + claimName: helm-mongo +--- diff --git a/agent-common/real_project/cqejpt/k8s-mysql.yaml b/agent-common/real_project/cqejpt/k8s-mysql.yaml new file mode 100644 index 0000000..2d613fe --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-mysql.yaml @@ -0,0 +1,423 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-mysql + namespace: cqejpt + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus + annotations: { } +secrets: + - name: helm-mysql +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-mysql + namespace: cqejpt + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus +type: Opaque +data: + mysql-root-password: "UXpmWFFoZDNiUQ==" + mysql-password: "S0F0cm5PckFKNw==" +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-mysql + namespace: cqejpt + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/component: primary +data: + my.cnf: |- + + [mysqld] + port=3306 + basedir=/opt/bitnami/mysql + datadir=/bitnami/mysql/data + pid-file=/opt/bitnami/mysql/tmp/mysqld.pid + socket=/opt/bitnami/mysql/tmp/mysql.sock + log-error=/bitnami/mysql/data/error.log + general_log_file = /bitnami/mysql/data/general.log + slow_query_log_file = /bitnami/mysql/data/slow.log + innodb_data_file_path = ibdata1:512M:autoextend + innodb_buffer_pool_size = 512M + innodb_buffer_pool_instances = 2 + innodb_log_file_size = 512M + innodb_log_files_in_group = 4 + innodb_log_files_in_group = 4 + log-bin = /bitnami/mysql/data/mysql-bin + max_binlog_size=1G + transaction_isolation = REPEATABLE-READ + default_storage_engine = innodb + character-set-server = utf8mb4 + collation-server=utf8mb4_bin + binlog_format = ROW + binlog_rows_query_log_events=on + binlog_cache_size=4M + binlog_expire_logs_seconds = 1296000 + max_binlog_cache_size=2G + gtid_mode = on + enforce_gtid_consistency = 1 + sync_binlog = 1 + innodb_flush_log_at_trx_commit = 1 + innodb_flush_method = O_DIRECT + log_slave_updates=1 + relay_log_recovery = 1 + relay-log-purge = 1 + default_time_zone = '+08:00' + lower_case_table_names=1 + log_bin_trust_function_creators=1 + group_concat_max_len=67108864 + innodb_io_capacity = 4000 + innodb_io_capacity_max = 8000 + innodb_flush_sync = 0 + innodb_flush_neighbors = 0 + innodb_write_io_threads = 8 + innodb_read_io_threads = 8 + innodb_purge_threads = 4 + innodb_page_cleaners = 4 + innodb_open_files = 65535 + innodb_max_dirty_pages_pct = 50 + innodb_lru_scan_depth = 4000 + innodb_checksum_algorithm = crc32 + innodb_lock_wait_timeout = 10 + innodb_rollback_on_timeout = 1 + innodb_print_all_deadlocks = 1 + innodb_file_per_table = 1 + innodb_online_alter_log_max_size = 4G + innodb_stats_on_metadata = 0 + innodb_thread_concurrency = 0 + innodb_sync_spin_loops = 100 + innodb_spin_wait_delay = 30 + lock_wait_timeout = 3600 + slow_query_log = 1 + long_query_time = 10 + log_queries_not_using_indexes =1 + log_throttle_queries_not_using_indexes = 60 + min_examined_row_limit = 100 + log_slow_admin_statements = 1 + log_slow_slave_statements = 1 + default_authentication_plugin=mysql_native_password + skip-name-resolve=1 + explicit_defaults_for_timestamp=1 + plugin_dir=/opt/bitnami/mysql/plugin + max_allowed_packet=128M + max_connections = 2000 + max_connect_errors = 1000000 + table_definition_cache=2000 + table_open_cache_instances=64 + tablespace_definition_cache=1024 + thread_cache_size=256 + interactive_timeout = 600 + wait_timeout = 600 + tmpdir=/opt/bitnami/mysql/tmp + max_allowed_packet=32M + bind-address=0.0.0.0 + performance_schema = 1 + performance_schema_instrument = '%memory%=on' + performance_schema_instrument = '%lock%=on' + innodb_monitor_enable=ALL + + [mysql] + no-auto-rehash + + [mysqldump] + quick + max_allowed_packet = 32M + + [client] + port=3306 + socket=/opt/bitnami/mysql/tmp/mysql.sock + default-character-set=UTF8 + plugin_dir=/opt/bitnami/mysql/plugin + + [manager] + port=3306 + socket=/opt/bitnami/mysql/tmp/mysql.sock + pid-file=/opt/bitnami/mysql/tmp/mysqld.pid +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-mysql-init-scripts + namespace: cqejpt + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/component: primary +data: + create_users_grants_core.sql: |- + create + user zyly@'%' identified by 'Cmii@451315'; + grant select on *.* to zyly@'%'; + create + user zyly_qc@'%' identified by 'Uh)E_owCyb16'; + grant all + on *.* to zyly_qc@'%'; + create + user k8s_admin@'%' identified by 'fP#UaH6qQ3)8'; + grant all + on *.* to k8s_admin@'%'; + create + user audit_dba@'%' identified by 'PjCzqiBmJaTpgkoYXynH'; + grant all + on *.* to audit_dba@'%'; + create + user db_backup@'%' identified by 'RU5Pu(4FGdT9'; + GRANT + SELECT, RELOAD, PROCESS, LOCK TABLES, REPLICATION CLIENT, EVENT + on *.* to db_backup@'%'; + create + user monitor@'%' identified by 'PL3#nGtrWbf-'; + grant REPLICATION + CLIENT on *.* to monitor@'%'; + flush + privileges; +--- +kind: Service +apiVersion: v1 +metadata: + name: cmii-mysql + namespace: cqejpt + labels: + app.kubernetes.io/component: primary + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/name: mysql-db + app.kubernetes.io/release: cqejpt + cmii.app: mysql + cmii.type: middleware + octopus.control: mysql-db-wdd +spec: + ports: + - name: mysql + protocol: TCP + port: 13306 + targetPort: mysql + selector: + app.kubernetes.io/component: primary + app.kubernetes.io/name: mysql-db + app.kubernetes.io/release: cqejpt + cmii.app: mysql + cmii.type: middleware + type: ClusterIP +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mysql-headless + namespace: cqejpt + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary + annotations: { } +spec: + type: ClusterIP + clusterIP: None + publishNotReadyAddresses: true + ports: + - name: mysql + port: 3306 + targetPort: mysql + selector: + app.kubernetes.io/name: mysql-db + app.kubernetes.io/release: cqejpt + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mysql + namespace: cqejpt + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary + annotations: { } +spec: + type: NodePort + ports: + - name: mysql + port: 3306 + protocol: TCP + targetPort: mysql + nodePort: 33306 + selector: + app.kubernetes.io/name: mysql-db + app.kubernetes.io/release: cqejpt + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-mysql + namespace: cqejpt + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: mysql-db + app.kubernetes.io/release: cqejpt + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary + serviceName: helm-mysql + updateStrategy: + type: RollingUpdate + template: + metadata: + annotations: + checksum/configuration: 6b60fa0f3a846a6ada8effdc4f823cf8003d42a8c8f630fe8b1b66d3454082dd + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary + spec: + imagePullSecrets: + - name: harborsecret + serviceAccountName: helm-mysql + affinity: { } + nodeSelector: + mysql-deploy: "true" + securityContext: + fsGroup: 1001 + initContainers: + - name: change-volume-permissions + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/bitnami-shell:11-debian-11-r136 + imagePullPolicy: "Always" + command: + - /bin/bash + - -ec + - | + chown -R 1001:1001 /bitnami/mysql + securityContext: + runAsUser: 0 + volumeMounts: + - name: mysql-data + mountPath: /bitnami/mysql + containers: + - name: mysql + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/mysql:8.1.0-debian-11-r42 + imagePullPolicy: "IfNotPresent" + securityContext: + runAsUser: 1001 + env: + - name: BITNAMI_DEBUG + value: "true" + - name: MYSQL_ROOT_PASSWORD + valueFrom: + secretKeyRef: + name: helm-mysql + key: mysql-root-password + - name: MYSQL_DATABASE + value: "cmii" + ports: + - name: mysql + containerPort: 3306 + livenessProbe: + failureThreshold: 5 + initialDelaySeconds: 120 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 3 + exec: + command: + - /bin/bash + - -ec + - | + password_aux="${MYSQL_ROOT_PASSWORD:-}" + if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then + password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") + fi + mysqladmin status -uroot -p"${password_aux}" + readinessProbe: + failureThreshold: 5 + initialDelaySeconds: 30 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 3 + exec: + command: + - /bin/bash + - -ec + - | + password_aux="${MYSQL_ROOT_PASSWORD:-}" + if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then + password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") + fi + mysqladmin status -uroot -p"${password_aux}" + startupProbe: + failureThreshold: 60 + initialDelaySeconds: 120 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + exec: + command: + - /bin/bash + - -ec + - | + password_aux="${MYSQL_ROOT_PASSWORD:-}" + if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then + password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") + fi + mysqladmin status -uroot -p"${password_aux}" + resources: + limits: { } + requests: { } + volumeMounts: + - name: mysql-data + mountPath: /bitnami/mysql + - name: custom-init-scripts + mountPath: /docker-entrypoint-initdb.d + - name: config + mountPath: /opt/bitnami/mysql/conf/my.cnf + subPath: my.cnf + volumes: + - name: config + configMap: + name: helm-mysql + - name: custom-init-scripts + configMap: + name: helm-mysql-init-scripts + - name: mysql-data + hostPath: + path: /var/lib/docker/mysql-pv/cqejpt/ diff --git a/agent-common/real_project/cqejpt/k8s-nacos.yaml b/agent-common/real_project/cqejpt/k8s-nacos.yaml new file mode 100644 index 0000000..4629a1b --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-nacos.yaml @@ -0,0 +1,130 @@ +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-nacos-cm + namespace: cqejpt + labels: + cmii.app: helm-nacos + cmii.type: middleware + octopus.control: nacos-wdd + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/version: 5.7.0 +data: + mysql.db.name: "cmii_nacos_config" + mysql.db.host: "helm-mysql" + mysql.port: "3306" + mysql.user: "k8s_admin" + mysql.password: "fP#UaH6qQ3)8" +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-nacos + namespace: cqejpt + labels: + cmii.app: helm-nacos + cmii.type: middleware + octopus.control: nacos-wdd + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/version: 5.7.0 +spec: + type: NodePort + selector: + cmii.app: helm-nacos + cmii.type: middleware + ports: + - port: 8848 + name: server + targetPort: 8848 + nodePort: 38848 + - port: 9848 + name: server12 + targetPort: 9848 + - port: 9849 + name: server23 + targetPort: 9849 +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-nacos + namespace: cqejpt + labels: + cmii.app: helm-nacos + cmii.type: middleware + octopus.control: nacos-wdd + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/version: 5.7.0 +spec: + serviceName: helm-nacos + replicas: 1 + selector: + matchLabels: + cmii.app: helm-nacos + cmii.type: middleware + template: + metadata: + labels: + cmii.app: helm-nacos + cmii.type: middleware + octopus.control: nacos-wdd + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/version: 5.7.0 + annotations: + pod.alpha.kubernetes.io/initialized: "true" + spec: + imagePullSecrets: + - name: harborsecret + affinity: { } + containers: + - name: nacos-server + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/nacos-server:v2.1.2 + ports: + - containerPort: 8848 + name: dashboard + - containerPort: 9848 + name: tcp-9848 + - containerPort: 9849 + name: tcp-9849 + env: + - name: NACOS_AUTH_ENABLE + value: "false" + - name: NACOS_REPLICAS + value: "1" + - name: MYSQL_SERVICE_DB_NAME + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.db.name + - name: MYSQL_SERVICE_PORT + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.port + - name: MYSQL_SERVICE_USER + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.user + - name: MYSQL_SERVICE_PASSWORD + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.password + - name: MYSQL_SERVICE_HOST + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.db.host + - name: NACOS_SERVER_PORT + value: "8848" + - name: NACOS_APPLICATION_PORT + value: "8848" + - name: PREFER_HOST_MODE + value: "hostname" + - name: MODE + value: standalone + - name: SPRING_DATASOURCE_PLATFORM + value: mysql +--- diff --git a/agent-common/real_project/cqejpt/k8s-nfs-test.yaml b/agent-common/real_project/cqejpt/k8s-nfs-test.yaml new file mode 100644 index 0000000..427bba0 --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-nfs-test.yaml @@ -0,0 +1,38 @@ +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: test-claim + annotations: + volume.beta.kubernetes.io/storage-class: "nfs-prod-distribute" #与nfs-StorageClass.yaml metadata.name保持一致 +spec: + accessModes: + - ReadWriteOnce + storageClassName: nfs-prod-distribute + resources: + requests: + storage: 1Mi +--- +kind: Pod +apiVersion: v1 +metadata: + name: test-pod +spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: test-pod + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/busybox:latest + command: + - "/bin/sh" + args: + - "-c" + - "touch /mnt/NFS-CREATE-SUCCESS && exit 0 || exit 1" #创建一个SUCCESS文件后退出 + volumeMounts: + - name: nfs-pvc + mountPath: "/mnt" + restartPolicy: "Never" + volumes: + - name: nfs-pvc + persistentVolumeClaim: + claimName: test-claim #与PVC名称保持一致 diff --git a/agent-common/real_project/cqejpt/k8s-nfs.yaml b/agent-common/real_project/cqejpt/k8s-nfs.yaml new file mode 100644 index 0000000..ed99702 --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-nfs.yaml @@ -0,0 +1,114 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system #根据实际环境设定namespace,下面类同 +--- +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: nfs-client-provisioner-runner +rules: + - apiGroups: [ "" ] + resources: [ "persistentvolumes" ] + verbs: [ "get", "list", "watch", "create", "delete" ] + - apiGroups: [ "" ] + resources: [ "persistentvolumeclaims" ] + verbs: [ "get", "list", "watch", "update" ] + - apiGroups: [ "storage.k8s.io" ] + resources: [ "storageclasses" ] + verbs: [ "get", "list", "watch" ] + - apiGroups: [ "" ] + resources: [ "events" ] + verbs: [ "create", "update", "patch" ] +--- +kind: ClusterRoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: run-nfs-client-provisioner +subjects: + - kind: ServiceAccount + name: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system +roleRef: + kind: ClusterRole + # name: nfs-client-provisioner-runner + name: cluster-admin + apiGroup: rbac.authorization.k8s.io +--- +kind: Role +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: leader-locking-nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system +rules: + - apiGroups: [ "" ] + resources: [ "endpoints" ] + verbs: [ "get", "list", "watch", "create", "update", "patch" ] +--- +kind: RoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: leader-locking-nfs-client-provisioner +subjects: + - kind: ServiceAccount + name: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system +roleRef: + kind: Role + name: leader-locking-nfs-client-provisioner + apiGroup: rbac.authorization.k8s.io + +--- +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: nfs-prod-distribute +provisioner: cmlc-nfs-storage #这里的名称要和provisioner配置文件中的环境变量PROVISIONER_NAME保持一致parameters: archiveOnDelete: "false" +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nfs-client-provisioner + labels: + app: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system #与RBAC文件中的namespace保持一致 +spec: + replicas: 1 + selector: + matchLabels: + app: nfs-client-provisioner + strategy: + type: Recreate + template: + metadata: + labels: + app: nfs-client-provisioner + spec: + imagePullSecrets: + - name: harborsecret + serviceAccountName: nfs-client-provisioner + containers: + - name: nfs-client-provisioner + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/nfs-subdir-external-provisioner:v4.0.2 + volumeMounts: + - name: nfs-client-root + mountPath: /persistentvolumes + env: + - name: PROVISIONER_NAME + value: cmlc-nfs-storage + - name: NFS_SERVER + value: 192.168.9.11 + - name: NFS_PATH + value: /var/lib/docker/nfs_data + volumes: + - name: nfs-client-root + nfs: + server: 192.168.9.11 + path: /var/lib/docker/nfs_data diff --git a/agent-common/real_project/cqejpt/k8s-pvc.yaml b/agent-common/real_project/cqejpt/k8s-pvc.yaml new file mode 100644 index 0000000..3606509 --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-pvc.yaml @@ -0,0 +1,76 @@ +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: nfs-backend-log-pvc + namespace: cqejpt + labels: + cmii.type: middleware-base + cmii.app: nfs-backend-log-pvc + helm.sh/chart: all-persistence-volume-claims-1.1.0 + app.kubernetes.io/version: 5.7.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 100Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: helm-emqxs + namespace: cqejpt + labels: + cmii.type: middleware-base + cmii.app: helm-emqxs + helm.sh/chart: all-persistence-volume-claims-1.1.0 + app.kubernetes.io/version: 5.7.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 20Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: helm-mongo + namespace: cqejpt + labels: + cmii.type: middleware-base + cmii.app: helm-mongo + helm.sh/chart: all-persistence-volume-claims-1.1.0 + app.kubernetes.io/version: 5.7.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 30Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: helm-rabbitmq + namespace: cqejpt + labels: + cmii.type: middleware-base + cmii.app: helm-rabbitmq + helm.sh/chart: all-persistence-volume-claims-1.1.0 + app.kubernetes.io/version: 5.7.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 20Gi diff --git a/agent-common/real_project/cqejpt/k8s-rabbitmq.yaml b/agent-common/real_project/cqejpt/k8s-rabbitmq.yaml new file mode 100644 index 0000000..c08721b --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-rabbitmq.yaml @@ -0,0 +1,328 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-rabbitmq + namespace: cqejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: rabbitmq +automountServiceAccountToken: true +secrets: + - name: helm-rabbitmq +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-rabbitmq + namespace: cqejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: rabbitmq +type: Opaque +data: + rabbitmq-password: "blljUk45MXIuX2hq" + rabbitmq-erlang-cookie: "emFBRmt1ZU1xMkJieXZvdHRYbWpoWk52UThuVXFzcTU=" +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-rabbitmq-config + namespace: cqejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: rabbitmq +data: + rabbitmq.conf: |- + ## Username and password + ## + default_user = admin + default_pass = nYcRN91r._hj + ## Clustering + ## + cluster_formation.peer_discovery_backend = rabbit_peer_discovery_k8s + cluster_formation.k8s.host = kubernetes.default.svc.cluster.local + cluster_formation.node_cleanup.interval = 10 + cluster_formation.node_cleanup.only_log_warning = true + cluster_partition_handling = autoheal + # queue master locator + queue_master_locator = min-masters + # enable guest user + loopback_users.guest = false + #default_vhost = default-vhost + #disk_free_limit.absolute = 50MB + #load_definitions = /app/load_definition.json +--- +kind: Role +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: helm-rabbitmq-endpoint-reader + namespace: cqejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: rabbitmq +rules: + - apiGroups: [ "" ] + resources: [ "endpoints" ] + verbs: [ "get" ] + - apiGroups: [ "" ] + resources: [ "events" ] + verbs: [ "create" ] +--- +kind: RoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: helm-rabbitmq-endpoint-reader + namespace: cqejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: rabbitmq +subjects: + - kind: ServiceAccount + name: helm-rabbitmq +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: helm-rabbitmq-endpoint-reader +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-rabbitmq-headless + namespace: cqejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: rabbitmq +spec: + clusterIP: None + ports: + - name: epmd + port: 4369 + targetPort: epmd + - name: amqp + port: 5672 + targetPort: amqp + - name: dist + port: 25672 + targetPort: dist + - name: dashboard + port: 15672 + targetPort: stats + selector: + app.kubernetes.io/name: helm-rabbitmq + app.kubernetes.io/release: cqejpt + publishNotReadyAddresses: true +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-rabbitmq + namespace: cqejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: rabbitmq +spec: + type: NodePort + ports: + - name: amqp + port: 5672 + targetPort: amqp + nodePort: 35672 + - name: dashboard + port: 15672 + targetPort: dashboard + nodePort: 36675 + selector: + app.kubernetes.io/name: helm-rabbitmq + app.kubernetes.io/release: cqejpt +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-rabbitmq + namespace: cqejpt + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: rabbitmq +spec: + serviceName: helm-rabbitmq-headless + podManagementPolicy: OrderedReady + replicas: 1 + updateStrategy: + type: RollingUpdate + selector: + matchLabels: + app.kubernetes.io/name: helm-rabbitmq + app.kubernetes.io/release: cqejpt + template: + metadata: + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: rabbitmq + annotations: + checksum/config: d6c2caa9572f64a06d9f7daa34c664a186b4778cd1697ef8e59663152fc628f1 + checksum/secret: d764e7b3d999e7324d1afdfec6140092a612f04b6e0306818675815cec2f454f + spec: + imagePullSecrets: + - name: harborsecret + serviceAccountName: helm-rabbitmq + affinity: { } + securityContext: + fsGroup: 5001 + runAsUser: 5001 + terminationGracePeriodSeconds: 120 + initContainers: + - name: volume-permissions + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/bitnami-shell:11-debian-11-r136 + imagePullPolicy: "Always" + command: + - /bin/bash + args: + - -ec + - | + mkdir -p "/bitnami/rabbitmq/mnesia" + chown -R "5001:5001" "/bitnami/rabbitmq/mnesia" + securityContext: + runAsUser: 0 + resources: + limits: { } + requests: { } + volumeMounts: + - name: data + mountPath: /bitnami/rabbitmq/mnesia + containers: + - name: rabbitmq + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/rabbitmq:3.9.12-debian-10-r3 + imagePullPolicy: "Always" + env: + - name: BITNAMI_DEBUG + value: "false" + - name: MY_POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: K8S_SERVICE_NAME + value: "helm-rabbitmq-headless" + - name: K8S_ADDRESS_TYPE + value: hostname + - name: RABBITMQ_FORCE_BOOT + value: "no" + - name: RABBITMQ_NODE_NAME + value: "rabbit@$(MY_POD_NAME).$(K8S_SERVICE_NAME).$(MY_POD_NAMESPACE).svc.cluster.local" + - name: K8S_HOSTNAME_SUFFIX + value: ".$(K8S_SERVICE_NAME).$(MY_POD_NAMESPACE).svc.cluster.local" + - name: RABBITMQ_MNESIA_DIR + value: "/bitnami/rabbitmq/mnesia/$(RABBITMQ_NODE_NAME)" + - name: RABBITMQ_LDAP_ENABLE + value: "no" + - name: RABBITMQ_LOGS + value: "-" + - name: RABBITMQ_ULIMIT_NOFILES + value: "65536" + - name: RABBITMQ_USE_LONGNAME + value: "true" + - name: RABBITMQ_ERL_COOKIE + valueFrom: + secretKeyRef: + name: helm-rabbitmq + key: rabbitmq-erlang-cookie + - name: RABBITMQ_LOAD_DEFINITIONS + value: "no" + - name: RABBITMQ_SECURE_PASSWORD + value: "yes" + - name: RABBITMQ_USERNAME + value: "admin" + - name: RABBITMQ_PASSWORD + valueFrom: + secretKeyRef: + name: helm-rabbitmq + key: rabbitmq-password + - name: RABBITMQ_PLUGINS + value: "rabbitmq_management, rabbitmq_peer_discovery_k8s, rabbitmq_shovel, rabbitmq_shovel_management, rabbitmq_auth_backend_ldap" + ports: + - name: amqp + containerPort: 5672 + - name: dist + containerPort: 25672 + - name: dashboard + containerPort: 15672 + - name: epmd + containerPort: 4369 + livenessProbe: + exec: + command: + - /bin/bash + - -ec + - rabbitmq-diagnostics -q ping + initialDelaySeconds: 120 + periodSeconds: 30 + timeoutSeconds: 20 + successThreshold: 1 + failureThreshold: 6 + readinessProbe: + exec: + command: + - /bin/bash + - -ec + - rabbitmq-diagnostics -q check_running && rabbitmq-diagnostics -q check_local_alarms + initialDelaySeconds: 10 + periodSeconds: 30 + timeoutSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + lifecycle: + preStop: + exec: + command: + - /bin/bash + - -ec + - | + if [[ -f /opt/bitnami/scripts/rabbitmq/nodeshutdown.sh ]]; then + /opt/bitnami/scripts/rabbitmq/nodeshutdown.sh -t "120" -d "false" + else + rabbitmqctl stop_app + fi + resources: + limits: { } + requests: { } + volumeMounts: + - name: configuration + mountPath: /bitnami/rabbitmq/conf + - name: data + mountPath: /bitnami/rabbitmq/mnesia + volumes: + - name: configuration + configMap: + name: helm-rabbitmq-config + items: + - key: rabbitmq.conf + path: rabbitmq.conf + - name: data + persistentVolumeClaim: + claimName: helm-rabbitmq diff --git a/agent-common/real_project/cqejpt/k8s-redis.yaml b/agent-common/real_project/cqejpt/k8s-redis.yaml new file mode 100644 index 0000000..c9ef882 --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-redis.yaml @@ -0,0 +1,585 @@ +--- +apiVersion: v1 +kind: ServiceAccount +automountServiceAccountToken: true +metadata: + name: helm-redis + namespace: cqejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-redis + namespace: cqejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus +type: Opaque +data: + redis-password: "TWNhY2hlQDQ1MjI=" +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-redis-configuration + namespace: cqejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus +data: + redis.conf: |- + # User-supplied common configuration: + # Enable AOF https://redis.io/topics/persistence#append-only-file + appendonly yes + # Disable RDB persistence, AOF persistence already enabled. + save "" + # End of common configuration + master.conf: |- + dir /data + # User-supplied master configuration: + rename-command FLUSHDB "" + rename-command FLUSHALL "" + # End of master configuration + replica.conf: |- + dir /data + slave-read-only yes + # User-supplied replica configuration: + rename-command FLUSHDB "" + rename-command FLUSHALL "" + # End of replica configuration +--- +# Source: outside-deploy/charts/redis-db/templates/health-configmap.yaml +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-redis-health + namespace: cqejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus +data: + ping_readiness_local.sh: |- + #!/bin/bash + + [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" + [[ -n "$REDIS_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_PASSWORD" + response=$( + timeout -s 3 $1 \ + redis-cli \ + -h localhost \ + -p $REDIS_PORT \ + ping + ) + if [ "$response" != "PONG" ]; then + echo "$response" + exit 1 + fi + ping_liveness_local.sh: |- + #!/bin/bash + + [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" + [[ -n "$REDIS_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_PASSWORD" + response=$( + timeout -s 3 $1 \ + redis-cli \ + -h localhost \ + -p $REDIS_PORT \ + ping + ) + if [ "$response" != "PONG" ] && [ "$response" != "LOADING Redis is loading the dataset in memory" ]; then + echo "$response" + exit 1 + fi + ping_readiness_master.sh: |- + #!/bin/bash + + [[ -f $REDIS_MASTER_PASSWORD_FILE ]] && export REDIS_MASTER_PASSWORD="$(< "${REDIS_MASTER_PASSWORD_FILE}")" + [[ -n "$REDIS_MASTER_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_MASTER_PASSWORD" + response=$( + timeout -s 3 $1 \ + redis-cli \ + -h $REDIS_MASTER_HOST \ + -p $REDIS_MASTER_PORT_NUMBER \ + ping + ) + if [ "$response" != "PONG" ]; then + echo "$response" + exit 1 + fi + ping_liveness_master.sh: |- + #!/bin/bash + + [[ -f $REDIS_MASTER_PASSWORD_FILE ]] && export REDIS_MASTER_PASSWORD="$(< "${REDIS_MASTER_PASSWORD_FILE}")" + [[ -n "$REDIS_MASTER_PASSWORD" ]] && export REDISCLI_AUTH="$REDIS_MASTER_PASSWORD" + response=$( + timeout -s 3 $1 \ + redis-cli \ + -h $REDIS_MASTER_HOST \ + -p $REDIS_MASTER_PORT_NUMBER \ + ping + ) + if [ "$response" != "PONG" ] && [ "$response" != "LOADING Redis is loading the dataset in memory" ]; then + echo "$response" + exit 1 + fi + ping_readiness_local_and_master.sh: |- + script_dir="$(dirname "$0")" + exit_status=0 + "$script_dir/ping_readiness_local.sh" $1 || exit_status=$? + "$script_dir/ping_readiness_master.sh" $1 || exit_status=$? + exit $exit_status + ping_liveness_local_and_master.sh: |- + script_dir="$(dirname "$0")" + exit_status=0 + "$script_dir/ping_liveness_local.sh" $1 || exit_status=$? + "$script_dir/ping_liveness_master.sh" $1 || exit_status=$? + exit $exit_status +--- +# Source: outside-deploy/charts/redis-db/templates/scripts-configmap.yaml +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-redis-scripts + namespace: cqejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus +data: + start-master.sh: | + #!/bin/bash + + [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" + if [[ ! -f /opt/bitnami/redis/etc/master.conf ]];then + cp /opt/bitnami/redis/mounted-etc/master.conf /opt/bitnami/redis/etc/master.conf + fi + if [[ ! -f /opt/bitnami/redis/etc/redis.conf ]];then + cp /opt/bitnami/redis/mounted-etc/redis.conf /opt/bitnami/redis/etc/redis.conf + fi + ARGS=("--port" "${REDIS_PORT}") + ARGS+=("--requirepass" "${REDIS_PASSWORD}") + ARGS+=("--masterauth" "${REDIS_PASSWORD}") + ARGS+=("--include" "/opt/bitnami/redis/etc/redis.conf") + ARGS+=("--include" "/opt/bitnami/redis/etc/master.conf") + exec redis-server "${ARGS[@]}" + start-replica.sh: | + #!/bin/bash + + get_port() { + hostname="$1" + type="$2" + + port_var=$(echo "${hostname^^}_SERVICE_PORT_$type" | sed "s/-/_/g") + port=${!port_var} + + if [ -z "$port" ]; then + case $type in + "SENTINEL") + echo 26379 + ;; + "REDIS") + echo 6379 + ;; + esac + else + echo $port + fi + } + + get_full_hostname() { + hostname="$1" + echo "${hostname}.${HEADLESS_SERVICE}" + } + + REDISPORT=$(get_port "$HOSTNAME" "REDIS") + + [[ -f $REDIS_PASSWORD_FILE ]] && export REDIS_PASSWORD="$(< "${REDIS_PASSWORD_FILE}")" + [[ -f $REDIS_MASTER_PASSWORD_FILE ]] && export REDIS_MASTER_PASSWORD="$(< "${REDIS_MASTER_PASSWORD_FILE}")" + if [[ ! -f /opt/bitnami/redis/etc/replica.conf ]];then + cp /opt/bitnami/redis/mounted-etc/replica.conf /opt/bitnami/redis/etc/replica.conf + fi + if [[ ! -f /opt/bitnami/redis/etc/redis.conf ]];then + cp /opt/bitnami/redis/mounted-etc/redis.conf /opt/bitnami/redis/etc/redis.conf + fi + + echo "" >> /opt/bitnami/redis/etc/replica.conf + echo "replica-announce-port $REDISPORT" >> /opt/bitnami/redis/etc/replica.conf + echo "replica-announce-ip $(get_full_hostname "$HOSTNAME")" >> /opt/bitnami/redis/etc/replica.conf + ARGS=("--port" "${REDIS_PORT}") + ARGS+=("--slaveof" "${REDIS_MASTER_HOST}" "${REDIS_MASTER_PORT_NUMBER}") + ARGS+=("--requirepass" "${REDIS_PASSWORD}") + ARGS+=("--masterauth" "${REDIS_MASTER_PASSWORD}") + ARGS+=("--include" "/opt/bitnami/redis/etc/redis.conf") + ARGS+=("--include" "/opt/bitnami/redis/etc/replica.conf") + exec redis-server "${ARGS[@]}" +--- +# Source: outside-deploy/charts/redis-db/templates/headless-svc.yaml +apiVersion: v1 +kind: Service +metadata: + name: helm-redis-headless + namespace: cqejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus +spec: + type: ClusterIP + clusterIP: None + ports: + - name: tcp-redis + port: 6379 + targetPort: redis + selector: + app.kubernetes.io/name: redis-db + app.kubernetes.io/release: cqejpt +--- +# Source: outside-deploy/charts/redis-db/templates/master/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: helm-redis-master + namespace: cqejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: redis + app.kubernetes.io/component: master +spec: + type: ClusterIP + + ports: + - name: tcp-redis + port: 6379 + targetPort: redis + nodePort: null + selector: + app.kubernetes.io/name: redis-db + app.kubernetes.io/release: cqejpt + cmii.type: middleware + cmii.app: redis + app.kubernetes.io/component: master +--- +# Source: outside-deploy/charts/redis-db/templates/replicas/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: helm-redis-replicas + namespace: cqejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/component: replica +spec: + type: ClusterIP + ports: + - name: tcp-redis + port: 6379 + targetPort: redis + nodePort: null + selector: + app.kubernetes.io/name: redis-db + app.kubernetes.io/release: cqejpt + app.kubernetes.io/component: replica +--- +# Source: outside-deploy/charts/redis-db/templates/master/statefulset.yaml +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-redis-master + namespace: cqejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: redis + app.kubernetes.io/component: master +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: redis-db + app.kubernetes.io/release: cqejpt + cmii.type: middleware + cmii.app: redis + app.kubernetes.io/component: master + serviceName: helm-redis-headless + updateStrategy: + rollingUpdate: { } + type: RollingUpdate + template: + metadata: + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: redis + app.kubernetes.io/component: master + annotations: + checksum/configmap: b64aa5db67e6e63811f3c1095b9fce34d83c86a471fccdda0e48eedb53a179b0 + checksum/health: 6e0a6330e5ac63e565ae92af1444527d72d8897f91266f333555b3d323570623 + checksum/scripts: b88df93710b7c42a76006e20218f05c6e500e6cc2affd4bb1985832f03166e98 + checksum/secret: 43f1b0e20f9cb2de936bd182bc3683b720fc3cf4f4e76cb23c06a52398a50e8d + spec: + affinity: { } + securityContext: + fsGroup: 1001 + serviceAccountName: helm-redis + imagePullSecrets: + - name: harborsecret + terminationGracePeriodSeconds: 30 + containers: + - name: redis + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/redis:6.2.6-debian-10-r0 + imagePullPolicy: "Always" + securityContext: + runAsUser: 1001 + command: + - /bin/bash + args: + - -c + - /opt/bitnami/scripts/start-scripts/start-master.sh + env: + - name: BITNAMI_DEBUG + value: "false" + - name: REDIS_REPLICATION_MODE + value: master + - name: ALLOW_EMPTY_PASSWORD + value: "no" + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + name: helm-redis + key: redis-password + - name: REDIS_TLS_ENABLED + value: "no" + - name: REDIS_PORT + value: "6379" + ports: + - name: redis + containerPort: 6379 + livenessProbe: + initialDelaySeconds: 20 + periodSeconds: 5 + # One second longer than command timeout should prevent generation of zombie processes. + timeoutSeconds: 6 + successThreshold: 1 + failureThreshold: 5 + exec: + command: + - sh + - -c + - /health/ping_liveness_local.sh 5 + readinessProbe: + initialDelaySeconds: 20 + periodSeconds: 5 + timeoutSeconds: 2 + successThreshold: 1 + failureThreshold: 5 + exec: + command: + - sh + - -c + - /health/ping_readiness_local.sh 1 + resources: + limits: + cpu: "2" + memory: 8Gi + requests: + cpu: "100m" + memory: 1Gi + volumeMounts: + - name: start-scripts + mountPath: /opt/bitnami/scripts/start-scripts + - name: health + mountPath: /health + - name: redis-data + mountPath: /data + subPath: + - name: config + mountPath: /opt/bitnami/redis/mounted-etc + - name: redis-tmp-conf + mountPath: /opt/bitnami/redis/etc/ + - name: tmp + mountPath: /tmp + volumes: + - name: start-scripts + configMap: + name: helm-redis-scripts + defaultMode: 0755 + - name: health + configMap: + name: helm-redis-health + defaultMode: 0755 + - name: config + configMap: + name: helm-redis-configuration + - name: redis-tmp-conf + emptyDir: { } + - name: tmp + emptyDir: { } + - name: redis-data + emptyDir: { } +--- +# Source: outside-deploy/charts/redis-db/templates/replicas/statefulset.yaml +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-redis-replicas + namespace: cqejpt + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/component: replica +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/name: redis-db + app.kubernetes.io/release: cqejpt + app.kubernetes.io/component: replica + serviceName: helm-redis-headless + updateStrategy: + rollingUpdate: { } + type: RollingUpdate + template: + metadata: + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: cqejpt + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/component: replica + annotations: + checksum/configmap: b64aa5db67e6e63811f3c1095b9fce34d83c86a471fccdda0e48eedb53a179b0 + checksum/health: 6e0a6330e5ac63e565ae92af1444527d72d8897f91266f333555b3d323570623 + checksum/scripts: b88df93710b7c42a76006e20218f05c6e500e6cc2affd4bb1985832f03166e98 + checksum/secret: 43f1b0e20f9cb2de936bd182bc3683b720fc3cf4f4e76cb23c06a52398a50e8d + spec: + imagePullSecrets: + - name: harborsecret + securityContext: + fsGroup: 1001 + serviceAccountName: helm-redis + terminationGracePeriodSeconds: 30 + containers: + - name: redis + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/redis:6.2.6-debian-10-r0 + imagePullPolicy: "Always" + securityContext: + runAsUser: 1001 + command: + - /bin/bash + args: + - -c + - /opt/bitnami/scripts/start-scripts/start-replica.sh + env: + - name: BITNAMI_DEBUG + value: "false" + - name: REDIS_REPLICATION_MODE + value: slave + - name: REDIS_MASTER_HOST + value: helm-redis-master-0.helm-redis-headless.cqejpt.svc.cluster.local + - name: REDIS_MASTER_PORT_NUMBER + value: "6379" + - name: ALLOW_EMPTY_PASSWORD + value: "no" + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + name: helm-redis + key: redis-password + - name: REDIS_MASTER_PASSWORD + valueFrom: + secretKeyRef: + name: helm-redis + key: redis-password + - name: REDIS_TLS_ENABLED + value: "no" + - name: REDIS_PORT + value: "6379" + ports: + - name: redis + containerPort: 6379 + livenessProbe: + initialDelaySeconds: 20 + periodSeconds: 5 + timeoutSeconds: 6 + successThreshold: 1 + failureThreshold: 5 + exec: + command: + - sh + - -c + - /health/ping_liveness_local_and_master.sh 5 + readinessProbe: + initialDelaySeconds: 20 + periodSeconds: 5 + timeoutSeconds: 2 + successThreshold: 1 + failureThreshold: 5 + exec: + command: + - sh + - -c + - /health/ping_readiness_local_and_master.sh 1 + resources: + limits: + cpu: "2" + memory: 8Gi + requests: + cpu: "100m" + memory: 1Gi + volumeMounts: + - name: start-scripts + mountPath: /opt/bitnami/scripts/start-scripts + - name: health + mountPath: /health + - name: redis-data + mountPath: /data + subPath: + - name: config + mountPath: /opt/bitnami/redis/mounted-etc + - name: redis-tmp-conf + mountPath: /opt/bitnami/redis/etc + volumes: + - name: start-scripts + configMap: + name: helm-redis-scripts + defaultMode: 0755 + - name: health + configMap: + name: helm-redis-health + defaultMode: 0755 + - name: config + configMap: + name: helm-redis-configuration + - name: redis-tmp-conf + emptyDir: { } + - name: redis-data + emptyDir: { } + diff --git a/agent-common/real_project/cqejpt/k8s-srs.yaml b/agent-common/real_project/cqejpt/k8s-srs.yaml new file mode 100644 index 0000000..9102d2f --- /dev/null +++ b/agent-common/real_project/cqejpt/k8s-srs.yaml @@ -0,0 +1,496 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: helm-live-srs-cm + namespace: cqejpt + labels: + cmii.app: live-srs + cmii.type: live + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + helm.sh/chart: cmlc-live-srs-rtc-2.0.0 +data: + srs.rtc.conf: |- + listen 31935; + max_connections 4096; + srs_log_tank console; + srs_log_level info; + srs_log_file /home/srs.log; + daemon off; + http_api { + enabled on; + listen 1985; + crossdomain on; + } + stats { + network 0; + } + http_server { + enabled on; + listen 8080; + dir /home/hls; + } + srt_server { + enabled on; + listen 30556; + maxbw 1000000000; + connect_timeout 4000; + peerlatency 600; + recvlatency 600; + } + rtc_server { + enabled on; + listen 30090; + candidate $CANDIDATE; + } + vhost __defaultVhost__ { + http_hooks { + enabled on; + on_publish http://helm-live-op-svc-v2:8080/hooks/on_push; + } + http_remux { + enabled on; + } + rtc { + enabled on; + rtmp_to_rtc on; + rtc_to_rtmp on; + keep_bframe off; + } + tcp_nodelay on; + min_latency on; + play { + gop_cache off; + mw_latency 100; + mw_msgs 10; + } + publish { + firstpkt_timeout 8000; + normal_timeout 4000; + mr on; + } + dvr { + enabled off; + dvr_path /home/dvr/[app]/[stream]/[2006][01]/[timestamp].mp4; + dvr_plan session; + } + hls { + enabled on; + hls_path /home/hls; + hls_fragment 10; + hls_window 60; + hls_m3u8_file [app]/[stream].m3u8; + hls_ts_file [app]/[stream]/[2006][01][02]/[timestamp]-[duration].ts; + hls_cleanup on; + hls_entry_prefix http://36.133.115.174:8088; + } + } +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srs-svc-exporter + namespace: cqejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: rtmp + protocol: TCP + port: 30935 + targetPort: 30935 + nodePort: 31935 + - name: rtc + protocol: UDP + port: 30090 + targetPort: 30090 + nodePort: 30090 + - name: rtc-tcp + protocol: TCP + port: 30090 + targetPort: 30090 + nodePort: 30090 + - name: srt + protocol: UDP + port: 30556 + targetPort: 30556 + nodePort: 30556 + - name: api + protocol: TCP + port: 1985 + targetPort: 1985 + nodePort: 30080 + selector: + srs-role: rtc + type: NodePort + sessionAffinity: None + externalTrafficPolicy: Cluster + +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srs-svc + namespace: cqejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: http + protocol: TCP + port: 8080 + targetPort: 8080 + - name: api + protocol: TCP + port: 1985 + targetPort: 1985 + selector: + srs-role: rtc + type: ClusterIP + sessionAffinity: None + +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srsrtc-svc + namespace: cqejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: rtmp + protocol: TCP + port: 30935 + targetPort: 30935 + selector: + srs-role: rtc + type: ClusterIP + sessionAffinity: None + +--- +kind: StatefulSet +apiVersion: apps/v1 +metadata: + name: helm-live-srs-rtc + namespace: cqejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + cmii.app: live-srs + cmii.type: live + helm.sh/chart: cmlc-live-srs-rtc-2.0.0 + srs-role: rtc +spec: + replicas: 1 + selector: + matchLabels: + srs-role: rtc + template: + metadata: + labels: + srs-role: rtc + spec: + volumes: + - name: srs-conf-file + configMap: + name: helm-live-srs-cm + items: + - key: srs.rtc.conf + path: docker.conf + defaultMode: 420 + - name: srs-vol + emptyDir: + sizeLimit: 8Gi + containers: + - name: srs-rtc + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/srs:v5.0.195 + ports: + - name: srs-rtmp + containerPort: 30935 + protocol: TCP + - name: srs-api + containerPort: 1985 + protocol: TCP + - name: srs-flv + containerPort: 8080 + protocol: TCP + - name: srs-webrtc + containerPort: 30090 + protocol: UDP + - name: srs-webrtc-tcp + containerPort: 30090 + protocol: TCP + - name: srs-srt + containerPort: 30556 + protocol: UDP + env: + - name: CANDIDATE + value: 36.133.115.174 + resources: + limits: + cpu: 2000m + memory: 4Gi + requests: + cpu: 100m + memory: 256Mi + volumeMounts: + - name: srs-conf-file + mountPath: /usr/local/srs/conf/docker.conf + subPath: docker.conf + - name: srs-vol + mountPath: /home/dvr + subPath: cqejpt/helm-live/dvr + - name: srs-vol + mountPath: /home/hls + subPath: cqejpt/helm-live/hls + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + - name: oss-adaptor + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-srs-oss-adaptor:2023-SA + env: + - name: OSS_ENDPOINT + value: 'http://192.168.9.11:9000' + - name: OSS_AK + value: cmii + - name: OSS_SK + value: 'B#923fC7mk' + - name: OSS_BUCKET + value: live-cluster-hls + - name: SRS_OP + value: 'http://helm-live-op-svc-v2:8080' + - name: MYSQL_ENDPOINT + value: 'helm-mysql:3306' + - name: MYSQL_USERNAME + value: k8s_admin + - name: MYSQL_PASSWORD + value: fP#UaH6qQ3)8 + - name: MYSQL_DATABASE + value: cmii_live_srs_op + - name: MYSQL_TABLE + value: live_segment + - name: LOG_LEVEL + value: info + - name: OSS_META + value: 'yes' + resources: + limits: + cpu: 2000m + memory: 4Gi + requests: + cpu: 100m + memory: 256Mi + volumeMounts: + - name: srs-vol + mountPath: /cmii/share/hls + subPath: cqejpt/helm-live/hls + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + restartPolicy: Always + terminationGracePeriodSeconds: 30 + dnsPolicy: ClusterFirst + securityContext: { } + imagePullSecrets: + - name: harborsecret + affinity: { } + schedulerName: default-scheduler + serviceName: helm-live-srsrtc-svc + podManagementPolicy: OrderedReady + updateStrategy: + type: RollingUpdate + rollingUpdate: + partition: 0 + revisionHistoryLimit: 10 +--- +# live-srs部分 +--- +kind: Deployment +apiVersion: apps/v1 +metadata: + name: helm-live-op-v2 + namespace: cqejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + cmii.app: live-engine + cmii.type: live + helm.sh/chart: cmlc-live-live-op-2.0.0 + live-role: op-v2 +spec: + replicas: 1 + selector: + matchLabels: + live-role: op-v2 + template: + metadata: + labels: + live-role: op-v2 + spec: + volumes: + - name: srs-conf-file + configMap: + name: helm-live-op-cm-v2 + items: + - key: live.op.conf + path: bootstrap.yaml + defaultMode: 420 + containers: + - name: helm-live-op-v2 + image: chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/cmii-live-operator:5.2.0 + ports: + - name: operator + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: 4800m + memory: 4Gi + requests: + cpu: 100m + memory: 256Mi + volumeMounts: + - name: srs-conf-file + mountPath: /cmii/bootstrap.yaml + subPath: bootstrap.yaml + livenessProbe: + httpGet: + path: /cmii/health + port: 8080 + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: 8080 + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + restartPolicy: Always + terminationGracePeriodSeconds: 30 + dnsPolicy: ClusterFirst + securityContext: { } + imagePullSecrets: + - name: harborsecret + affinity: { } + schedulerName: default-scheduler + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-op-svc-v2 + namespace: cqejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - protocol: TCP + port: 8080 + targetPort: 8080 + nodePort: 30333 + selector: + live-role: op-v2 + type: NodePort + sessionAffinity: None +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-op-svc + namespace: cqejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - protocol: TCP + port: 8080 + targetPort: 8080 + selector: + live-role: op + type: ClusterIP + sessionAffinity: None +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: helm-live-op-cm-v2 + namespace: cqejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + cmii.app: live-engine + cmii.type: live +data: + live.op.conf: |- + server: + port: 8080 + spring: + main: + allow-bean-definition-overriding: true + allow-circular-references: true + application: + name: cmii-live-operator + platform: + info: + name: cmii-live-operator + description: cmii-live-operator + version: 5.7.0 + scanPackage: com.cmii.live.op + cloud: + nacos: + config: + username: developer + password: N@cos14Good + server-addr: helm-nacos:8848 + extension-configs: + - data-id: cmii-live-operator.yml + group: 5.7.0 + refresh: true + shared-configs: + - data-id: cmii-backend-system.yml + group: 5.7.0 + refresh: true + discovery: + enabled: false + + live: + engine: + type: srs + endpoint: 'http://helm-live-srs-svc:1985' + proto: + rtmp: 'rtmp://36.133.115.174:31935' + rtsp: 'rtsp://36.133.115.174:30554' + srt: 'srt://36.133.115.174:30556' + flv: 'http://36.133.115.174:30500' + hls: 'http://36.133.115.174:30500' + rtc: 'webrtc://36.133.115.174:30090' + replay: 'https://36.133.115.174:30333' + minio: + endpoint: http://192.168.9.11:9000 + access-key: cmii + secret-key: B#923fC7mk + bucket: live-cluster-hls diff --git a/agent-operator/CmiiDeployOperator_test.go b/agent-operator/CmiiDeployOperator_test.go index 96bfcab..25ad55f 100755 --- a/agent-operator/CmiiDeployOperator_test.go +++ b/agent-operator/CmiiDeployOperator_test.go @@ -99,6 +99,27 @@ func TestCmiiEnvDeploy_JiangSuNanTong(t *testing.T) { } +func TestCmiiEnvDeploy_ChongQingErJiPingTai(t *testing.T) { + + // 江苏南通 + commonEnv := &z_dep.CommonEnvironmentConfig{ + WebIP: "36.133.115.174", + WebPort: "8088", + HarborIPOrCustomImagePrefix: "chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn/cmii/", + HarborPort: "", + Namespace: "cqejpt", + TagVersion: "5.7.0", + TenantEnv: "", + MinioPublicIP: "", + MinioInnerIP: "192.168.9.11", + NFSServerIP: "192.168.9.11", + ApplyFilePrefix: "", + } + + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii570ImageList) + +} + func TestCmiiNewAppDeploy(t *testing.T) { deployNamespace := devOperation From 72deaf7403ffaac32094d0c96fb1ac047dd48bac Mon Sep 17 00:00:00 2001 From: zeaslity Date: Wed, 28 Aug 2024 16:36:06 +0800 Subject: [PATCH 09/11] [Agent][Deploy] - cqejpt --- agent-operator/CmiiK8sOperator_test.go | 6 +++--- agent-operator/ImageSyncOperator_test.go | 2 +- agent-operator/log/cmii-update-log.txt | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/agent-operator/CmiiK8sOperator_test.go b/agent-operator/CmiiK8sOperator_test.go index 572ce3a..2c4003a 100755 --- a/agent-operator/CmiiK8sOperator_test.go +++ b/agent-operator/CmiiK8sOperator_test.go @@ -253,7 +253,7 @@ func TestUpdateCmiiDeploymentImageTag(t *testing.T) { // 计算20:00的时间 now := time.Now() - targetTime := time.Date(now.Year(), now.Month(), now.Day(), 17, 35, 00, 0, now.Location()) + targetTime := time.Date(now.Year(), now.Month(), now.Day(), 9, 15, 00, 0, now.Location()) duration := time.Duration(0) @@ -277,8 +277,8 @@ func TestUpdateCmiiDeploymentImageTag(t *testing.T) { appNameTagMap := map[string]string{ //"cmii-uav-platform-dispatchh5": "5.6.0-062401", //"cmii-uav-data-post-process": "5.6.0-062401", - //"cmii-uav-industrial-portfolio": "5.6.0-071801", - "cmii-uav-industrial-portfolio": "5.7.0-31369-yunnan-082104", + "cmii-uav-mission": "5.8.0-AI-BugFix-one", + //"cmii-uav-industrial-portfolio": "5.7.0-31369-yunnan-082702", //"cmii-uav-brain": "5.5.0", //"cmii-uav-platform": "5.6.0-071702", //"cmii-uas-lifecycle": "5.6.0-30403-071802", diff --git a/agent-operator/ImageSyncOperator_test.go b/agent-operator/ImageSyncOperator_test.go index 51cc5b7..22f587c 100755 --- a/agent-operator/ImageSyncOperator_test.go +++ b/agent-operator/ImageSyncOperator_test.go @@ -50,7 +50,7 @@ func TestPullFromEntityAndSyncConditionally(t *testing.T) { sync := ImageSyncEntity{ DownloadCondition: &DownloadEntity{ ShouldDownloadImage: true, - ProjectName: "bjyd", + ProjectName: "ahejpt", ProjectVersion: "", CmiiNameTagList: []string{ //"cmii-uav-mqtthandler:5.4.0-bjdyt-052102", diff --git a/agent-operator/log/cmii-update-log.txt b/agent-operator/log/cmii-update-log.txt index 87db02c..dafed3d 100755 --- a/agent-operator/log/cmii-update-log.txt +++ b/agent-operator/log/cmii-update-log.txt @@ -261,3 +261,7 @@ 2024-08-22-17-33-16 uavcloud-demo cmii-uav-platform-oms 5.7.0 5.8.0 2024-08-22-17-33-18 uavcloud-demo cmii-uav-platform-securityh5 5.7.0 5.8.0 2024-08-22-17-33-19 uavcloud-demo cmii-suav-platform-supervision 5.7.0 5.8.0 +2024-08-28-09-16-36 uavcloud-demo cmii-uav-mission 5.8.0 5.8.0-AI-BugFix-one +2024-08-28-09-21-38 uavcloud-demo cmii-uav-mission 5.8.0-AI-BugFix-one 5.8.0 +2024-08-28-09-21-42 uavcloud-demo cmii-uav-industrial-portfolio 5.8.0 5.7.0-31369-yunnan-082702 +2024-08-28-09-48-23 uavcloud-demo cmii-uav-mission 5.8.0 5.8.0-AI-BugFix-one From 5abae32231efb36a765a207f10c3c856339c425c Mon Sep 17 00:00:00 2001 From: zeaslity Date: Mon, 23 Sep 2024 16:32:48 +0800 Subject: [PATCH 10/11] [agent][deploy] - a --- .run/ServerApplication.run.xml | 12 + agent-common/image/ImageNameConvert.go | 68 +- agent-common/image/ImageNameConvert_test.go | 22 +- .../real_project/CmiiImageListConfig.go | 78 + .../real_project/cmii-iot-dispatcher.yaml | 10 +- .../uavcloud-dev/k8s-backend.yaml | 11535 ++++++++-------- .../uavcloud-dev/k8s-configmap.yaml | 586 +- .../uavcloud-dev/k8s-frontend.yaml | 3940 +++--- .../uavcloud-dev/k8s-ingress.yaml | 206 +- .../real_project/uavcloud-dev/k8s-srs.yaml | 35 +- .../uavcloud-dev/old/k8s-backend.yaml | 7674 +++++----- .../uavcloud-dev/old/k8s-frontend.yaml | 2688 ++-- .../uavcloud-dev/old/k8s-ingress.yaml | 390 + .../uavcloud-dev/old/k8s-srs.yaml | 495 + .../uavcloud-devoperation/k8s-rabbitmq.yaml | 2 +- .../real_project/ynejpt/k8s-backend.yaml | 5977 ++++++++ .../real_project/ynejpt/k8s-configmap.yaml | 448 + .../real_project/ynejpt/k8s-dashboard.yaml | 309 + .../{uavcloud-dev => ynejpt}/k8s-emqx.yaml | 61 +- .../real_project/ynejpt/k8s-frontend.yaml | 2606 ++++ .../real_project/ynejpt/k8s-ingress.yaml | 624 + .../{uavcloud-dev => ynejpt}/k8s-mongo.yaml | 17 +- .../{uavcloud-dev => ynejpt}/k8s-mysql.yaml | 52 +- .../{uavcloud-dev => ynejpt}/k8s-nacos.yaml | 20 +- .../real_project/ynejpt/k8s-nfs-test.yaml | 38 + agent-common/real_project/ynejpt/k8s-nfs.yaml | 114 + .../{uavcloud-dev => ynejpt}/k8s-pvc.yaml | 16 +- .../k8s-rabbitmq.yaml | 48 +- .../{uavcloud-dev => ynejpt}/k8s-redis.yaml | 70 +- agent-common/real_project/ynejpt/k8s-srs.yaml | 496 + agent-deploy/c_middle/CmiiEmqxTemplate.go | 6 +- agent-deploy/c_middle/CmiiRedisTemplate.go | 8 +- agent-deploy/d_app/CmiiImageConfig.go | 1 + agent-go/a_executor/BaseFunction.go | 7 +- agent-operator/CmiiDeployOperator.go | 36 +- agent-operator/CmiiDeployOperator_test.go | 72 +- agent-operator/CmiiK8sOperator_test.go | 138 +- agent-operator/ImageSyncOperator_test.go | 5 +- agent-operator/log/cmii-update-log.txt | 16 + .../wdd/func/auto/beans/BaseFunctionEnum.java | 5 + .../io/wdd/rpc/init/AcceptAgentInitInfo.java | 2 + .../server/func/TestBaseFuncScheduler.java | 18 +- .../server/func/TestImageSyncScheduler.java | 5 +- setting-aliyun.xml | 2 +- 44 files changed, 25982 insertions(+), 12976 deletions(-) create mode 100644 .run/ServerApplication.run.xml create mode 100644 agent-common/real_project/uavcloud-dev/old/k8s-srs.yaml create mode 100644 agent-common/real_project/ynejpt/k8s-backend.yaml create mode 100644 agent-common/real_project/ynejpt/k8s-configmap.yaml create mode 100644 agent-common/real_project/ynejpt/k8s-dashboard.yaml rename agent-common/real_project/{uavcloud-dev => ynejpt}/k8s-emqx.yaml (83%) create mode 100644 agent-common/real_project/ynejpt/k8s-frontend.yaml create mode 100644 agent-common/real_project/ynejpt/k8s-ingress.yaml rename agent-common/real_project/{uavcloud-dev => ynejpt}/k8s-mongo.yaml (85%) rename agent-common/real_project/{uavcloud-dev => ynejpt}/k8s-mysql.yaml (91%) rename agent-common/real_project/{uavcloud-dev => ynejpt}/k8s-nacos.yaml (89%) create mode 100644 agent-common/real_project/ynejpt/k8s-nfs-test.yaml create mode 100644 agent-common/real_project/ynejpt/k8s-nfs.yaml rename agent-common/real_project/{uavcloud-dev => ynejpt}/k8s-pvc.yaml (84%) rename agent-common/real_project/{uavcloud-dev => ynejpt}/k8s-rabbitmq.yaml (90%) rename agent-common/real_project/{uavcloud-dev => ynejpt}/k8s-redis.yaml (92%) create mode 100644 agent-common/real_project/ynejpt/k8s-srs.yaml diff --git a/.run/ServerApplication.run.xml b/.run/ServerApplication.run.xml new file mode 100644 index 0000000..37c98b0 --- /dev/null +++ b/.run/ServerApplication.run.xml @@ -0,0 +1,12 @@ + + + + + + + \ No newline at end of file diff --git a/agent-common/image/ImageNameConvert.go b/agent-common/image/ImageNameConvert.go index 26d0a53..9b46654 100755 --- a/agent-common/image/ImageNameConvert.go +++ b/agent-common/image/ImageNameConvert.go @@ -77,8 +77,6 @@ func ImageFullNameToImageNameAndTag(imageFullName string) (imageName, imageTag s // ImageFullNameToGzipFileName 必须输出长度为4的内容 =出现得次数为3 func ImageFullNameToGzipFileName(imageFullName string) (gzipFileName string) { - - // harbor.cdcyy.cn/cmii/cmii-uav-platform:5.4.0 ==> cmlc=cmii=cmii-uav-platform=5.4.0.tar.gz // rancher/fleet:v0.3.4 // ossr/srs:v5.0.1 ==> docker=cmii=srs=v5.0.1.tar.gz @@ -86,58 +84,36 @@ func ImageFullNameToGzipFileName(imageFullName string) (gzipFileName string) { // bitnami/minio:2022.5.4 // simonrupf/chronyd:0.4.3 - // 10.1.1.1:8033/cmii/ok:1.2 不支持 不允许存在 - - split := strings.Split(imageFullName, ":") - //log.DebugF(" %s to %s", imageRepoTag, split) - if len(split) == 1 { + s := strings.Split(imageFullName, ":") + if len(s) == 1 { // nginx - return "docker=library=" + imageFullName + "=latest.tar.gz" + return "docker=cmii=" + imageFullName + "=latest.tar.gz" + } else if len(s) > 2 { + // 10.1.1.1:8033/cmii/ok:1.2 不支持 不允许存在 + return "unsupport=" + imageFullName + } + middle := s[len(s)-2] + split := strings.Split(middle, "/") + if len(split) == 1 { + // nginx:latest + return "docker=cmii=" + s[0] + "=" + s[1] + ".tar.gz" } - first := strings.Split(split[0], "/") - //log.DebugF(" split[0] %s to %s", split[0], first) - if len(first) == 3 { + if strings.HasPrefix(imageFullName, "harbor.cdcyy.com.cn") { + // harbor.cdcyy.cn/cmii/cmii-uav-platform:5.4.0 ==> cmlc=cmii=cmii-uav-platform=5.4.0.tar.gz // harbor.cdcyy.cn/cmii/cmii-uav-platform:5.4.0 - // docker.io/ossr/srs:v5.0.1 - // docker.107421.xyz/rancher/calico-cni:v3.17.2 - if strings.HasPrefix(split[0], CmiiHarborPrefix) { - gzipFileName += "cmlc=cmii=" - } else if strings.Contains(split[0], "rancher") { - gzipFileName += "docker=rancher=" - } else { - gzipFileName += "docker=cmii=" - } - gzipFileName += first[2] - gzipFileName += "=" - - } else if len(first) == 4 { - // harbor.cdcyy.cn/cmii/ossr/srs:v5.0.1 // harbor.cdcyy.com.cn/cmii/cmlc-ai/cmlc-ai-operator:v5.2.0-t4-no-dino - if !strings.HasPrefix(split[0], CmiiHarborPrefix) { - return imageFullName - } - gzipFileName += "cmlc=cmii=" - gzipFileName += first[3] - gzipFileName += "=" - } else if len(first) == 2 { - // bitnami/redis - // ossrs/srs - gzipFileName += "docker=" - gzipFileName += first[0] - gzipFileName += "=" - gzipFileName += first[1] - gzipFileName += "=" - } else if len(first) == 1 { - // nginx:latest - return "docker=library=" + split[0] + "=" + split[1] + ".tar.gz" + return "cmlc=cmii=" + split[len(split)-1] + "=" + s[1] + ".tar.gz" + + } else if strings.Contains(imageFullName, "rancher") { + return "docker=rancher=" + split[len(split)-1] + "=" + s[1] + ".tar.gz" + } else { + // ossrs/srs:v4.0.136 + return "docker=cmii=" + split[len(split)-1] + "=" + s[1] + ".tar.gz" } - gzipFileName += split[1] - gzipFileName += ".tar.gz" - - return gzipFileName + return "unsupport=" + imageFullName } // ImageNameToTargetImageFullName 将ImageName转换为目标TargetHosts的全名称,ImageName的格式为 短名称或者长名称 均可 diff --git a/agent-common/image/ImageNameConvert_test.go b/agent-common/image/ImageNameConvert_test.go index 1230e10..a730603 100755 --- a/agent-common/image/ImageNameConvert_test.go +++ b/agent-common/image/ImageNameConvert_test.go @@ -12,17 +12,17 @@ import ( ) var imageFullNameList = []string{ - //"bitnami/redis:6.2.6-debian-10-r0", - //"simonrupf/chronyd:0.4.3", - //"harbor.cdcyy.com.cn/cmii/cmii-rtsp-operator:v4.1.0", - //"harbor.cdcyy.com.cn/cmii/ossrs/srs:v4.0.136", - //"ossrs/srs:v4.0.136", - //"mongo:5.0", - //"bitnami/minio:2023.5.4", - //"busybox:latest", - //"busybox", - //"rancher/rancher:v2.7.0", - //"10.1.1.1:8033/cmii/ok:1.2", + "bitnami/redis:6.2.6-debian-10-r0", + "simonrupf/chronyd:0.4.3", + "harbor.cdcyy.com.cn/cmii/cmii-rtsp-operator:v4.1.0", + "harbor.cdcyy.com.cn/cmii/ossrs/srs:v4.0.136", + "ossrs/srs:v4.0.136", + "mongo:5.0", + "bitnami/minio:2023.5.4", + "busybox:latest", + "busybox", + "rancher/rancher:v2.7.0", + "10.1.1.1:8033/cmii/ok:1.2", "docker.107421.xyz/rancher/shell:v0.1.6", } diff --git a/agent-common/real_project/CmiiImageListConfig.go b/agent-common/real_project/CmiiImageListConfig.go index 20f7826..9ef47be 100644 --- a/agent-common/real_project/CmiiImageListConfig.go +++ b/agent-common/real_project/CmiiImageListConfig.go @@ -77,3 +77,81 @@ var Cmii570ImageList = []string{ "harbor.cdcyy.com.cn/cmii/ossrs/srs:v5.0.195", "harbor.cdcyy.com.cn/cmii/cmii-live-operator:5.2.0", } + +var Cmii580ImageList = []string{ + "harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-process:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-sense-adapter:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-open-gateway:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-tower:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-admin-user:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-user:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-admin-gateway:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-iam-gateway:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:5.2.0-24810", + "harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.7.0-31369-yunnan-082702", + "harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-gateway:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-integration:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-autowaypoint:4.2.0-beta", + "harbor.cdcyy.com.cn/cmii/cmii-uav-brain:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:5.1.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-admin-data:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-device:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:5.1.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-mission:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-cms:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-app-release:4.2.0-validation", + "harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:5.7.0-30403", + "harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-multilink:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:5.2.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-notice:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-developer:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-logger:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-seniclive:5.2.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-emergency-rescue:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-dispatchh5:5.6.0-0708", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-oms:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uas:5.7.0-29322", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-open:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:4.1.3-jiangsu-0427", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-securityh5:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-threedsimulation:5.2.0-21392", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:5.2.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-media:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-security:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:5.7.0-29766-0815", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:5.7.0-hjltt", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uasms:5.7.0-29322", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-logistics:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervision:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:5.4.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:5.8.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:4.1.0-21377-0508", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:5.7.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-armypeople:5.8.0", + "harbor.cdcyy.com.cn/cmii/ossrs/srs:v5.0.195", + "harbor.cdcyy.com.cn/cmii/cmii-srs-oss-adaptor:2023-SA", + "harbor.cdcyy.com.cn/cmii/cmii-live-operator:5.2.0", +} diff --git a/agent-common/real_project/cmii-iot-dispatcher.yaml b/agent-common/real_project/cmii-iot-dispatcher.yaml index 2323609..c234c2e 100644 --- a/agent-common/real_project/cmii-iot-dispatcher.yaml +++ b/agent-common/real_project/cmii-iot-dispatcher.yaml @@ -2,7 +2,7 @@ kind: Deployment apiVersion: apps/v1 metadata: name: cmii-uav-iot-dispatcher - namespace: jsntejpt + namespace: ynejpt labels: app.kubernetes.io/app-version: 5.7.0 app.kubernetes.io/managed-by: octopus-control @@ -28,7 +28,7 @@ spec: claimName: nfs-backend-log-pvc containers: - name: cmii-uav-iot-dispatcher - image: '10.40.51.5:8033/cmii/cmii-uav-iot-dispatcher:5.7.0' + image: '192.168.118.14:8033/cmii/cmii-uav-iot-dispatcher:5.7.0' ports: - name: pod-port containerPort: 8080 @@ -53,7 +53,7 @@ spec: - name: SVC_NAME value: cmlc-uav-iot-dispatcher-svc - name: K8S_NAMESPACE - value: xmyd + value: ynejpt - name: APPLICATION_NAME value: cmii-uav-iot-dispatcher - name: CUST_JAVA_OPTS @@ -79,7 +79,7 @@ spec: memory: 3Gi requests: cpu: 200m - memory: 500Gi + memory: 500Mi volumeMounts: - name: nfs-backend-log-volume mountPath: /cmii/logs @@ -107,7 +107,7 @@ kind: Service apiVersion: v1 metadata: name: cmii-uav-iot-dispatcher - namespace: jsntejpt + namespace: ynejpt labels: app.kubernetes.io/app-version: 5.7.0 app.kubernetes.io/managed-by: octopus-control diff --git a/agent-common/real_project/uavcloud-dev/k8s-backend.yaml b/agent-common/real_project/uavcloud-dev/k8s-backend.yaml index 983da96..90f03bd 100644 --- a/agent-common/real_project/uavcloud-dev/k8s-backend.yaml +++ b/agent-common/real_project/uavcloud-dev/k8s-backend.yaml @@ -1,5566 +1,6 @@ --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-waypoint - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-waypoint - image: harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-waypoint - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-waypoint - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-waypoint - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-waypoint - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-suav-supervision - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-suav-supervision - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-suav-supervision - image: harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-suav-supervision - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-suav-supervision - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-suav-supervision - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-suav-supervision - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-surveillance - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-surveillance - image: harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-surveillance - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-surveillance - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-surveillance - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-surveillance - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-admin-gateway - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-admin-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-admin-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-admin-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-admin-gateway:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-admin-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-admin-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-admin-gateway - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-admin-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-admin-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-cloud-live - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-cloud-live - image: harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-cloud-live - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-cloud-live - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-cloud-live - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-tower - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-tower - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-tower - image: harbor.cdcyy.com.cn/cmii/cmii-uav-tower:5.2.0-validation - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-tower - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-tower - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-tower - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-tower - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-app-release - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-app-release - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-app-release - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-app-release - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-app-release - image: harbor.cdcyy.com.cn/cmii/cmii-app-release:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-app-release - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-app-release - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-app-release - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-app-release - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-app-release - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-grid-manage - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-manage - image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-grid-manage - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-grid-manage - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-grid-manage - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-airspace - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-airspace - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-airspace - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-airspace - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-airspace - image: harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-airspace - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-airspace - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-airspace - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-airspace - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-airspace - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-alarm - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-alarm - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-alarm - image: harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:5.5.0-integration - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-alarm - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-alarm - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-alarm - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-alarm - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-admin-user - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-admin-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-admin-user - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-admin-user - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-user - image: harbor.cdcyy.com.cn/cmii/cmii-admin-user:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-admin-user - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-admin-user - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-admin-user - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-admin-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-admin-user - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-grid-datasource - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-datasource - image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-grid-datasource - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-grid-datasource - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-grid-datasource - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-developer - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-developer - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-developer - image: harbor.cdcyy.com.cn/cmii/cmii-uav-developer:5.6.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-developer - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-developer - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-developer - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-developer - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-oauth - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-oauth - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-oauth - image: harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-oauth - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-oauth - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-oauth - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-oauth - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-kpi-monitor - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-kpi-monitor - image: harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-kpi-monitor - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-kpi-monitor - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-kpi-monitor - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-bridge - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-bridge - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-bridge - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-bridge - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-bridge - image: harbor.cdcyy.com.cn/cmii/cmii-uav-bridge:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-bridge - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-bridge - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-bridge - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-bridge - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-bridge - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uas-gateway - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uas-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uas-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uas-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uas-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uas-gateway - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uas-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-brain - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-brain - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-brain - image: harbor.cdcyy.com.cn/cmii/cmii-uav-brain:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-brain - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-brain - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-brain - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-brain - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-grid-engine - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-engine - image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-grid-engine - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-grid-engine - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-grid-engine - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-open-gateway - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-open-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-open-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-open-gateway:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-open-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-open-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-open-gateway - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-open-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-emergency - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-emergency - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-emergency - image: harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-emergency - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-emergency - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-emergency - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-emergency - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-integration - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-integration - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-integration - image: harbor.cdcyy.com.cn/cmii/cmii-uav-integration:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-integration - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-integration - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-integration - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-integration - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-autowaypoint - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-autowaypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-autowaypoint - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-autowaypoint - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-autowaypoint - image: harbor.cdcyy.com.cn/cmii/cmii-uav-autowaypoint:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-autowaypoint - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-autowaypoint - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-autowaypoint - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-autowaypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-autowaypoint - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-gateway - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-uav-gateway:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-gateway - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-mission - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-mission - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-mission - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-mission - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-mission - image: harbor.cdcyy.com.cn/cmii/cmii-uav-mission:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-mission - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-mission - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-mission - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-mission - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-mission - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-device - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-device - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-device - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-device - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-device - image: harbor.cdcyy.com.cn/cmii/cmii-uav-device:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-device - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-device - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-device - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-device - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-device - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-user - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-user - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-user - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-user - image: harbor.cdcyy.com.cn/cmii/cmii-uav-user:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-user - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-user - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-user - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-user - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-mqtthandler - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-mqtthandler - image: harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-mqtthandler - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-mqtthandler - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-mqtthandler - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-data-post-process - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-data-post-process - image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-data-post-process - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-data-post-process - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-data-post-process - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uas-lifecycle - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uas-lifecycle - image: harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uas-lifecycle - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uas-lifecycle - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uas-lifecycle - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uas-lifecycle - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-logger - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-logger - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-logger - image: harbor.cdcyy.com.cn/cmii/cmii-uav-logger:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-logger - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-logger - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-logger - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-logger - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-notice - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-notice - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-notice - image: harbor.cdcyy.com.cn/cmii/cmii-uav-notice:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-notice - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-notice - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-notice - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-notice - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-depotautoreturn - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-depotautoreturn - image: harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-depotautoreturn - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-depotautoreturn - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-depotautoreturn - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-multilink - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-multilink - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-multilink - image: harbor.cdcyy.com.cn/cmii/cmii-uav-multilink:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-multilink - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-multilink - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-multilink - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-multilink - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-industrial-portfolio - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-industrial-portfolio - image: harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-industrial-portfolio - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-industrial-portfolio - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-industrial-portfolio - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-clusters - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-clusters - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-clusters - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-clusters - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-clusters - image: harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-clusters - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-clusters - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-clusters - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-clusters - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-clusters - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-threedsimulation - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-threedsimulation - image: harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-threedsimulation - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-threedsimulation - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-threedsimulation - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-material-warehouse - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-material-warehouse - image: harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-material-warehouse - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-material-warehouse - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-material-warehouse - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-process - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-process - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-process - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-process - image: harbor.cdcyy.com.cn/cmii/cmii-uav-process:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-process - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-process - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-process - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-process - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-gis-server - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-gis-server - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-gis-server - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-gis-server - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-gis-server - image: harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-gis-server - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-gis-server - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-gis-server - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-gis-server - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-gis-server - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: cmii-admin-data namespace: uavcloud-dev @@ -5569,7 +9,7 @@ metadata: cmii.app: cmii-admin-data octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 1 strategy: @@ -5593,12 +33,12 @@ spec: - key: uavcloud.env operator: In values: - - dev + - uavcloud-dev imagePullSecrets: - name: harborsecret containers: - name: cmii-admin-data - image: harbor.cdcyy.com.cn/cmii/cmii-admin-data:5.6.0-snapshot + image: harbor.cdcyy.com.cn/cmii/cmii-admin-data:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -5616,11 +56,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 6.0.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 6.0.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 6.0.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -5686,7 +126,7 @@ metadata: cmii.app: cmii-admin-data octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 6.0.0 spec: type: ClusterIP selector: @@ -5700,6 +140,5397 @@ spec: --- apiVersion: apps/v1 kind: Deployment +metadata: + name: cmii-uav-data-post-process + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-data-post-process + image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-data-post-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-data-post-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-data-post-process + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-alarm + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-alarm + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-alarm + image: harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-alarm + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-alarm + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-alarm + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-alarm + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-engine + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-engine + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-grid-engine + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-grid-engine + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-engine + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-tower + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-tower + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-tower + image: harbor.cdcyy.com.cn/cmii/cmii-uav-tower:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-tower + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-tower + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-tower + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-tower + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cloud-live + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cloud-live + image: harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-cloud-live + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-cloud-live + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cloud-live + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-notice + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-notice + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-notice + image: harbor.cdcyy.com.cn/cmii/cmii-uav-notice:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-notice + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-notice + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-notice + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-notice + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-brain + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-brain + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-brain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-brain:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-brain + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-brain + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-brain + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-brain + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-developer + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-developer + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-developer + image: harbor.cdcyy.com.cn/cmii/cmii-uav-developer:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-developer + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-developer + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-developer + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-developer + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mqtthandler + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mqtthandler + image: harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-mqtthandler + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-mqtthandler + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mqtthandler + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-surveillance + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-surveillance + image: harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-surveillance + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-surveillance + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-surveillance + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-surveillance + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-supervision + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-suav-supervision + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-supervision + image: harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-suav-supervision + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-suav-supervision + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-supervision + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-suav-supervision + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-kpi-monitor + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-kpi-monitor + image: harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-kpi-monitor + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-kpi-monitor + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-kpi-monitor + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-airspace + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-airspace + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-airspace + image: harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-airspace + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-airspace + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-airspace + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-airspace + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-user + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-user + image: harbor.cdcyy.com.cn/cmii/cmii-admin-user:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-admin-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-admin-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-user + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-manage + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-manage + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-grid-manage + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-grid-manage + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-manage + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-material-warehouse + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-material-warehouse + image: harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-material-warehouse + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-material-warehouse + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-material-warehouse + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-lifecycle + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-lifecycle + image: harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uas-lifecycle + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uas-lifecycle + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-lifecycle + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gis-server + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gis-server + image: harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-gis-server + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-gis-server + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gis-server + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-gis-server + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-datasource + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-datasource + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-grid-datasource + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-grid-datasource + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-datasource + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-integration + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-integration + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-integration + image: harbor.cdcyy.com.cn/cmii/cmii-uav-integration:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-integration + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-integration + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-integration + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-integration + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-depotautoreturn + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-depotautoreturn + image: harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-depotautoreturn + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-depotautoreturn + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-depotautoreturn + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-industrial-portfolio + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-industrial-portfolio + image: harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-industrial-portfolio + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-industrial-portfolio + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-industrial-portfolio + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-logger + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-logger + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-logger + image: harbor.cdcyy.com.cn/cmii/cmii-uav-logger:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-logger + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-logger + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-logger + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-logger + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-autowaypoint + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-autowaypoint + image: harbor.cdcyy.com.cn/cmii/cmii-uav-autowaypoint:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-autowaypoint + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-autowaypoint + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-autowaypoint + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-clusters + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-clusters + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-clusters + image: harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-clusters + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-clusters + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-clusters + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-clusters + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-device + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-device + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-device + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-device + image: harbor.cdcyy.com.cn/cmii/cmii-uav-device:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-device + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-device + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-device + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-device + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-waypoint + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-waypoint + image: harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-waypoint + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-waypoint + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-waypoint + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-waypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gateway + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-uav-gateway:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gateway + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-sync + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-sync + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-sync + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-sync + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sync + image: harbor.cdcyy.com.cn/cmii/cmii-uav-sync:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-sync + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-sync + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sync + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-sync + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-sync + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-open-gateway + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-open-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-open-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-open-gateway:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-open-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-open-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-open-gateway + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-open-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-threedsimulation + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-threedsimulation + image: harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-threedsimulation + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-threedsimulation + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-threedsimulation + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-oauth + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-oauth + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-oauth + image: harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-oauth + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-oauth + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-oauth + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-oauth + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-app-release + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-app-release + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-app-release + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-app-release + image: harbor.cdcyy.com.cn/cmii/cmii-app-release:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-app-release + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-app-release + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-app-release + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-app-release + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mission + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mission + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mission + image: harbor.cdcyy.com.cn/cmii/cmii-uav-mission:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-mission + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-mission + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mission + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mission + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-process + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-process + image: harbor.cdcyy.com.cn/cmii/cmii-uav-process:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-process + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-user + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-user + image: harbor.cdcyy.com.cn/cmii/cmii-uav-user:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-user + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-emergency + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-emergency + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-emergency + image: harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-emergency + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-emergency + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-emergency + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-emergency + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-iot-dispatcher + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-iot-dispatcher + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-iot-dispatcher + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-iot-dispatcher + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-iot-dispatcher + image: harbor.cdcyy.com.cn/cmii/cmii-uav-iot-dispatcher:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-iot-dispatcher + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-iot-dispatcher + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-iot-dispatcher + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-iot-dispatcher + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-iot-dispatcher + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-multilink + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-multilink + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-multilink + image: harbor.cdcyy.com.cn/cmii/cmii-uav-multilink:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-multilink + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-multilink + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-multilink + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-multilink + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment metadata: name: cmii-uav-cms namespace: uavcloud-dev @@ -5708,7 +5539,7 @@ metadata: cmii.app: cmii-uav-cms octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 1 strategy: @@ -5732,12 +5563,12 @@ spec: - key: uavcloud.env operator: In values: - - dev + - uavcloud-dev imagePullSecrets: - name: harborsecret containers: - name: cmii-uav-cms - image: harbor.cdcyy.com.cn/cmii/cmii-uav-cms:5.7.0 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-cms:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -5755,11 +5586,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 5.6.0 + value: 6.0.0 - name: SYS_CONFIG_GROUP - value: 5.6.0 + value: 6.0.0 - name: IMAGE_VERSION - value: 5.6.0 + value: 6.0.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -5825,7 +5656,7 @@ metadata: cmii.app: cmii-uav-cms octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 6.0.0 spec: type: ClusterIP selector: @@ -5836,3 +5667,559 @@ spec: port: 8080 protocol: TCP targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-bridge + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-bridge + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-bridge + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-bridge + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-bridge + image: harbor.cdcyy.com.cn/cmii/cmii-uav-bridge:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-bridge + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-bridge + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-bridge + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-bridge + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-bridge + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-sense-adapter + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sense-adapter + image: harbor.cdcyy.com.cn/cmii/cmii-uav-sense-adapter:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-sense-adapter + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-sense-adapter + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sense-adapter + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-gateway + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uas-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uas-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-gateway + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-gateway + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - uavcloud-dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-admin-gateway:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-admin-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-admin-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-gateway + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 diff --git a/agent-common/real_project/uavcloud-dev/k8s-configmap.yaml b/agent-common/real_project/uavcloud-dev/k8s-configmap.yaml index a2fa6e1..6e4098d 100644 --- a/agent-common/real_project/uavcloud-dev/k8s-configmap.yaml +++ b/agent-common/real_project/uavcloud-dev/k8s-configmap.yaml @@ -2,141 +2,15 @@ kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-open + name: tenant-prefix-mws namespace: uavcloud-dev data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "open", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-visualization - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "visualization", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-security - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "security", - AppClientId: "APP_JUSEMc7afyWXxvE7" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-hljtt - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "hljtt", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-armypeople - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "armypeople", - AppClientId: "APP_UIegse6Lfou9pO1U" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-oms - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "oms", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-share - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "share", - AppClientId: "APP_4lVSVI0ZGxTssir8" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-splice - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "splice", - AppClientId: "APP_zE0M3sTRXrCIJS8Y" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-traffic - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "traffic", - AppClientId: "APP_Jc8i2wOQ1t73QEJS" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-supervision - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "supervision", - AppClientId: "APP_qqSu82THfexI8PLM" + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "mws", + AppClientId: "APP_uKniXPELlRERBBwK" } --- kind: ConfigMap @@ -147,94 +21,10 @@ metadata: data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "supervisionh5", - AppClientId: "APP_qqSu82THfexI8PLM" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-ai-brain - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "ai-brain", - AppClientId: "APP_rafnuCAmBESIVYMH" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-cmsportal - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "cmsportal", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-emergency - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "emergency", - AppClientId: "APP_aGsTAY1uMZrpKdfk" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-media - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "media", - AppClientId: "APP_4AU8lbifESQO4FD6" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-multiterminal - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "multiterminal", - AppClientId: "APP_PvdfRRRBPL8xbIwl" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-pangu - namespace: uavcloud-dev -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "", - AppClientId: "empty" + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "supervisionh5", + AppClientId: "APP_qqSu82THfexI8PLM" } --- kind: ConfigMap @@ -245,80 +35,122 @@ metadata: data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "seniclive", + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "seniclive", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dispatchh5 + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "dispatchh5", AppClientId: "empty" } --- kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-qinghaitourism + name: tenant-prefix-ai-brain namespace: uavcloud-dev data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "qinghaitourism", - AppClientId: "empty" + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "ai-brain", + AppClientId: "APP_rafnuCAmBESIVYMH" } --- kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-mws + name: tenant-prefix-emergency namespace: uavcloud-dev data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "mws", - AppClientId: "APP_uKniXPELlRERBBwK" + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "emergency", + AppClientId: "APP_aGsTAY1uMZrpKdfk" } --- kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-jiangsuwenlv + name: tenant-prefix-share namespace: uavcloud-dev data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "jiangsuwenlv", - AppClientId: "empty" + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "share", + AppClientId: "APP_4lVSVI0ZGxTssir8" } --- kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-base + name: tenant-prefix-uas namespace: uavcloud-dev data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "base", - AppClientId: "APP_9LY41OaKSqk2btY0" + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "uas", + AppClientId: "empty" } --- kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-logistics + name: tenant-prefix-armypeople namespace: uavcloud-dev data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "logistics", - AppClientId: "APP_PvdfRRRBPL8xbIwl" + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "armypeople", + AppClientId: "APP_UIegse6Lfou9pO1U" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-security + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "security", + AppClientId: "APP_JUSEMc7afyWXxvE7" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-splice + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "splice", + AppClientId: "APP_zE0M3sTRXrCIJS8Y" } --- kind: ConfigMap @@ -329,22 +161,190 @@ metadata: data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "qingdao", + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "qingdao", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-visualization + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "visualization", AppClientId: "empty" } --- kind: ConfigMap apiVersion: v1 +metadata: + name: tenant-prefix-oms + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "oms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-base + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "base", + AppClientId: "APP_9LY41OaKSqk2btY0" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-logistics + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "logistics", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uasms + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "uasms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pilot2cloud + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "pilot2cloud", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pangu + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-traffic + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "traffic", + AppClientId: "APP_Jc8i2wOQ1t73QEJS" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-threedsimulation + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "threedsimulation", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-jiangsuwenlv + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "jiangsuwenlv", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hljtt + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "hljtt", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-multiterminal + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "multiterminal", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 metadata: name: tenant-prefix-detection namespace: uavcloud-dev data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", ApplicationShortName: "detection", AppClientId: "APP_FDHW2VLVDWPnnOCy" } @@ -357,8 +357,8 @@ metadata: data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", ApplicationShortName: "securityh5", AppClientId: "APP_N3ImO0Ubfu9peRHD" } @@ -366,13 +366,83 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-threedsimulation + name: tenant-prefix-cmsportal namespace: uavcloud-dev data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "dev", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "threedsimulation", + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "cmsportal", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-media + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "media", + AppClientId: "APP_4AU8lbifESQO4FD6" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-open + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "open", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qinghaitourism + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "qinghaitourism", AppClientId: "empty" } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hyper + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "hyper", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervision + namespace: uavcloud-dev +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "uavcloud-dev", + CloudHOST: "integration.uavcmlc.com", + ApplicationShortName: "supervision", + AppClientId: "APP_qqSu82THfexI8PLM" + } diff --git a/agent-common/real_project/uavcloud-dev/k8s-frontend.yaml b/agent-common/real_project/uavcloud-dev/k8s-frontend.yaml index d4af0cd..e6624da 100644 --- a/agent-common/real_project/uavcloud-dev/k8s-frontend.yaml +++ b/agent-common/real_project/uavcloud-dev/k8s-frontend.yaml @@ -23,808 +23,6 @@ data: root html; } } - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-splice - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-splice - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-splice - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-splice - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-splice - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-suav-platform-supervision - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervision - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervision - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervision - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-suav-platform-supervision - image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervision:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-suav-platform-supervision - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-supervision - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-suav-platform-supervision - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervision - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervision - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-logistics - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-logistics - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-logistics - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-logistics - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-logistics - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-logistics:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-logistics - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-logistics - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-logistics - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-logistics - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-logistics - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-securityh5 - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-securityh5 - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-securityh5:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-securityh5 - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-securityh5 - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-securityh5 - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-qinghaitourism - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-qinghaitourism - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-qinghaitourism - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-qinghaitourism - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-qinghaitourism - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-emergency-rescue - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-emergency-rescue - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-emergency-rescue:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-emergency-rescue - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-emergency - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-emergency-rescue - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-threedsimulation - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-threedsimulation - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-threedsimulation:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-threedsimulation - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-threedsimulation - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-threedsimulation - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-hljtt - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-hljtt - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-hljtt - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-hljtt - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-hljtt - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-multiterminal - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-multiterminal - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-multiterminal - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-multiterminal - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-multiterminal - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 --- apiVersion: apps/v1 kind: Deployment @@ -835,7 +33,7 @@ metadata: cmii.type: frontend cmii.app: cmii-suav-platform-supervisionh5 octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 1 strategy: @@ -855,7 +53,7 @@ spec: - name: harborsecret containers: - name: cmii-suav-platform-supervisionh5 - image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:5.6.0 + image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -871,11 +69,11 @@ spec: cpu: "1" memory: 1Gi requests: - cpu: 500m - memory: 500Mi + cpu: 50m + memory: 50Mi volumeMounts: - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf + mountPath: /etc/nginx/conf.d/nginx.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -903,7 +101,7 @@ metadata: cmii.type: frontend cmii.app: cmii-suav-platform-supervisionh5 octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: @@ -918,13 +116,13 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-armypeople + name: cmii-uav-platform-pilot2-to-cloud namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-pilot2-to-cloud octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 1 strategy: @@ -933,24 +131,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-pilot2-to-cloud template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-pilot2-to-cloud spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-armypeople - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-armypeople:5.7.0-snapshot + - name: cmii-uav-platform-pilot2-to-cloud + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-pilot2-to-cloud:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-dev - name: APPLICATION_NAME - value: cmii-uav-platform-armypeople + value: cmii-uav-platform-pilot2-to-cloud ports: - name: platform-9528 containerPort: 9528 @@ -960,11 +158,11 @@ spec: cpu: "1" memory: 1Gi requests: - cpu: 500m - memory: 500Mi + cpu: 50m + memory: 50Mi volumeMounts: - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf + mountPath: /etc/nginx/conf.d/nginx.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -978,7 +176,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-armypeople + name: tenant-prefix-pilot2cloud items: - key: ingress-config.js path: ingress-config.js @@ -986,18 +184,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-armypeople + name: cmii-uav-platform-pilot2-to-cloud namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-pilot2-to-cloud octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-pilot2-to-cloud ports: - name: web-svc-port port: 9528 @@ -1007,13 +205,13 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-detection + name: cmii-uav-platform-multiterminal namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-detection + cmii.app: cmii-uav-platform-multiterminal octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 1 strategy: @@ -1022,24 +220,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-detection + cmii.app: cmii-uav-platform-multiterminal template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-detection + cmii.app: cmii-uav-platform-multiterminal spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-detection - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:5.6.0 + - name: cmii-uav-platform-multiterminal + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-dev - name: APPLICATION_NAME - value: cmii-uav-platform-detection + value: cmii-uav-platform-multiterminal ports: - name: platform-9528 containerPort: 9528 @@ -1049,11 +247,11 @@ spec: cpu: "1" memory: 1Gi requests: - cpu: 500m - memory: 500Mi + cpu: 50m + memory: 50Mi volumeMounts: - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf + mountPath: /etc/nginx/conf.d/nginx.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -1067,7 +265,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-detection + name: tenant-prefix-multiterminal items: - key: ingress-config.js path: ingress-config.js @@ -1075,997 +273,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-detection + name: cmii-uav-platform-multiterminal namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-detection + cmii.app: cmii-uav-platform-multiterminal octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-detection - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-jiangsuwenlv - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-jiangsuwenlv - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-jiangsuwenlv - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-jiangsuwenlv - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-jiangsuwenlv - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-seniclive - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-seniclive - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-seniclive:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-seniclive - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-seniclive - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-seniclive - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-share - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-share - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-share - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-share - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-share - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-visualization - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-visualization - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-visualization - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-visualization - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-visualization - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-ai-brain - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-ai-brain - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-ai-brain - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-ai-brain - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-ai-brain - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-open - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-open - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-open:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-open - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-open - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-open - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-mws - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-mws - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-mws - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-mws - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-mws - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-pangu - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-oms - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-oms - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-oms:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-oms - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-oms - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-oms - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-qingdao - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-qingdao - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-qingdao - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-qingdao - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-qingdao - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-cms-portal - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-cms-portal - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-cms-portal - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-cmsportal - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-cms-portal - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal + cmii.app: cmii-uav-platform-multiterminal ports: - name: web-svc-port port: 9528 @@ -2081,7 +300,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-media octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 1 strategy: @@ -2101,7 +320,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-platform-media - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-media:5.6.0 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-media:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -2117,11 +336,11 @@ spec: cpu: "1" memory: 1Gi requests: - cpu: 500m - memory: 500Mi + cpu: 50m + memory: 50Mi volumeMounts: - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf + mountPath: /etc/nginx/conf.d/nginx.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -2149,7 +368,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-media octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: @@ -2163,6 +382,896 @@ spec: --- apiVersion: apps/v1 kind: Deployment +metadata: + name: cmii-uav-platform-share + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-share + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-share + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-share + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-share + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-ai-brain + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-ai-brain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-ai-brain + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-ai-brain + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-ai-brain + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-qingdao + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qingdao + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-qingdao + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qingdao + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qingdao + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qinghaitourism + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-qinghaitourism + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qinghaitourism + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-armypeople + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-armypeople + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-armypeople:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-armypeople + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-armypeople + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-armypeople + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-uasms + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-uasms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uasms:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-uasms + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-uasms + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-uasms + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-jiangsuwenlv + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-jiangsuwenlv + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-jiangsuwenlv + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-threedsimulation + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-threedsimulation + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-threedsimulation:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-threedsimulation + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-threedsimulation + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-threedsimulation + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-open + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-open + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-open:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-open + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-open + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-open + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-hljtt + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-hljtt + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-hljtt + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-hljtt + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-hljtt + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment metadata: name: cmii-uav-platform-security namespace: uavcloud-dev @@ -2170,7 +1279,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-security octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 1 strategy: @@ -2190,7 +1299,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-platform-security - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-security:5.6.0 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-security:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -2206,11 +1315,11 @@ spec: cpu: "1" memory: 1Gi requests: - cpu: 500m - memory: 500Mi + cpu: 50m + memory: 50Mi volumeMounts: - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf + mountPath: /etc/nginx/conf.d/nginx.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -2238,7 +1347,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-security octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: @@ -2252,6 +1361,629 @@ spec: --- apiVersion: apps/v1 kind: Deployment +metadata: + name: cmii-uav-platform-mws + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-mws + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-mws + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-mws + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-mws + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-oms + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-oms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-oms:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-oms + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-oms + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-oms + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-cms-portal + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-cms-portal + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-cms-portal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-cmsportal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-cms-portal + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-detection + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-detection + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-detection + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-detection + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-detection + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-splice + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-splice + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-splice + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-splice + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-splice + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-platform-supervision + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervision + image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervision:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-suav-platform-supervision + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervision + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervision + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-logistics + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-logistics + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-logistics:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-logistics + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-logistics + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-logistics + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment metadata: name: cmii-uav-platform-base namespace: uavcloud-dev @@ -2259,7 +1991,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-base octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 1 strategy: @@ -2279,7 +2011,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-platform-base - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:5.6.0 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -2295,11 +2027,11 @@ spec: cpu: "1" memory: 1Gi requests: - cpu: 500m - memory: 500Mi + cpu: 50m + memory: 50Mi volumeMounts: - name: nginx-conf - mountPath: /etc/nginx/conf.d/default.conf + mountPath: /etc/nginx/conf.d/nginx.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -2327,7 +2059,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-base octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: @@ -2338,3 +2070,537 @@ spec: port: 9528 protocol: TCP targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-uas + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-uas + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uas:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-uas + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-uas + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-uas + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-securityh5 + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-securityh5 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-securityh5:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-securityh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-securityh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-securityh5 + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-seniclive + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-seniclive + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-seniclive:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-seniclive + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-seniclive + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-seniclive + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-visualization + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-visualization + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-visualization + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-visualization + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-visualization + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-pangu + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-emergency-rescue + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-emergency-rescue + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-emergency-rescue:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-emergency-rescue + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-emergency + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-emergency-rescue + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 diff --git a/agent-common/real_project/uavcloud-dev/k8s-ingress.yaml b/agent-common/real_project/uavcloud-dev/k8s-ingress.yaml index 363bf95..069f29a 100644 --- a/agent-common/real_project/uavcloud-dev/k8s-ingress.yaml +++ b/agent-common/real_project/uavcloud-dev/k8s-ingress.yaml @@ -8,7 +8,7 @@ metadata: type: frontend octopus.control: all-ingress-config-wdd app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 6.0.0 annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/enable-cors: "true" @@ -22,8 +22,10 @@ metadata: rewrite ^(/base)$ $1/ redirect; rewrite ^(/cmsportal)$ $1/ redirect; rewrite ^(/detection)$ $1/ redirect; + rewrite ^(/dispatchh5)$ $1/ redirect; rewrite ^(/emergency)$ $1/ redirect; rewrite ^(/hljtt)$ $1/ redirect; + rewrite ^(/hyper)$ $1/ redirect; rewrite ^(/jiangsuwenlv)$ $1/ redirect; rewrite ^(/logistics)$ $1/ redirect; rewrite ^(/media)$ $1/ redirect; @@ -31,6 +33,7 @@ metadata: rewrite ^(/mws)$ $1/ redirect; rewrite ^(/oms)$ $1/ redirect; rewrite ^(/open)$ $1/ redirect; + rewrite ^(/pilot2cloud)$ $1/ redirect; rewrite ^(/qingdao)$ $1/ redirect; rewrite ^(/qinghaitourism)$ $1/ redirect; rewrite ^(/security)$ $1/ redirect; @@ -40,148 +43,175 @@ metadata: rewrite ^(/splice)$ $1/ redirect; rewrite ^(/threedsimulation)$ $1/ redirect; rewrite ^(/traffic)$ $1/ redirect; + rewrite ^(/uas)$ $1/ redirect; + rewrite ^(/uasms)$ $1/ redirect; rewrite ^(/visualization)$ $1/ redirect; spec: rules: - host: fake-domain.uavcloud-dev.io http: paths: - - path: /dev/?(.*) + - path: /uavcloud-dev/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform servicePort: 9528 - - path: /dev/supervision/?(.*) + - path: /uavcloud-dev/supervision/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-suav-platform-supervision servicePort: 9528 - - path: /dev/supervisionh5/?(.*) + - path: /uavcloud-dev/supervisionh5/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-suav-platform-supervisionh5 servicePort: 9528 - - path: /dev/pangu/?(.*) + - path: /uavcloud-dev/pangu/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform servicePort: 9528 - - path: /dev/ai-brain/?(.*) + - path: /uavcloud-dev/ai-brain/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-ai-brain servicePort: 9528 - - path: /dev/armypeople/?(.*) + - path: /uavcloud-dev/armypeople/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-armypeople servicePort: 9528 - - path: /dev/base/?(.*) + - path: /uavcloud-dev/base/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-base servicePort: 9528 - - path: /dev/cmsportal/?(.*) + - path: /uavcloud-dev/cmsportal/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-cms-portal servicePort: 9528 - - path: /dev/detection/?(.*) + - path: /uavcloud-dev/detection/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-detection servicePort: 9528 - - path: /dev/emergency/?(.*) + - path: /uavcloud-dev/dispatchh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-dispatchh5 + servicePort: 9528 + - path: /uavcloud-dev/emergency/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-emergency-rescue servicePort: 9528 - - path: /dev/hljtt/?(.*) + - path: /uavcloud-dev/hljtt/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-hljtt servicePort: 9528 - - path: /dev/jiangsuwenlv/?(.*) + - path: /uavcloud-dev/hyper/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-hyperspectral + servicePort: 9528 + - path: /uavcloud-dev/jiangsuwenlv/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-jiangsuwenlv servicePort: 9528 - - path: /dev/logistics/?(.*) + - path: /uavcloud-dev/logistics/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-logistics servicePort: 9528 - - path: /dev/media/?(.*) + - path: /uavcloud-dev/media/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-media servicePort: 9528 - - path: /dev/multiterminal/?(.*) + - path: /uavcloud-dev/multiterminal/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-multiterminal servicePort: 9528 - - path: /dev/mws/?(.*) + - path: /uavcloud-dev/mws/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-mws servicePort: 9528 - - path: /dev/oms/?(.*) + - path: /uavcloud-dev/oms/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-oms servicePort: 9528 - - path: /dev/open/?(.*) + - path: /uavcloud-dev/open/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-open servicePort: 9528 - - path: /dev/qingdao/?(.*) + - path: /uavcloud-dev/pilot2cloud/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-pilot2-to-cloud + servicePort: 9528 + - path: /uavcloud-dev/qingdao/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-qingdao servicePort: 9528 - - path: /dev/qinghaitourism/?(.*) + - path: /uavcloud-dev/qinghaitourism/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-qinghaitourism servicePort: 9528 - - path: /dev/security/?(.*) + - path: /uavcloud-dev/security/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-security servicePort: 9528 - - path: /dev/securityh5/?(.*) + - path: /uavcloud-dev/securityh5/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-securityh5 servicePort: 9528 - - path: /dev/seniclive/?(.*) + - path: /uavcloud-dev/seniclive/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-seniclive servicePort: 9528 - - path: /dev/share/?(.*) + - path: /uavcloud-dev/share/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-share servicePort: 9528 - - path: /dev/splice/?(.*) + - path: /uavcloud-dev/splice/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-splice servicePort: 9528 - - path: /dev/threedsimulation/?(.*) + - path: /uavcloud-dev/threedsimulation/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-threedsimulation servicePort: 9528 - - path: /dev/traffic/?(.*) + - path: /uavcloud-dev/traffic/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-traffic servicePort: 9528 - - path: /dev/visualization/?(.*) + - path: /uavcloud-dev/uas/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-uas + servicePort: 9528 + - path: /uavcloud-dev/uasms/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-uasms + servicePort: 9528 + - path: /uavcloud-dev/visualization/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-platform-visualization @@ -196,13 +226,13 @@ metadata: type: backend octopus.control: all-ingress-config-wdd app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 6.0.0 annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/enable-cors: "true" spec: rules: - - host: cmii-admin-data.uavcloud-dev.io + - host: cmii-admin-data.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -210,7 +240,7 @@ spec: backend: serviceName: cmii-admin-data servicePort: 8080 - - host: cmii-admin-gateway.uavcloud-dev.io + - host: cmii-admin-gateway.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -218,7 +248,7 @@ spec: backend: serviceName: cmii-admin-gateway servicePort: 8080 - - host: cmii-admin-user.uavcloud-dev.io + - host: cmii-admin-user.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -226,7 +256,7 @@ spec: backend: serviceName: cmii-admin-user servicePort: 8080 - - host: cmii-app-release.uavcloud-dev.io + - host: cmii-app-release.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -234,7 +264,7 @@ spec: backend: serviceName: cmii-app-release servicePort: 8080 - - host: cmii-open-gateway.uavcloud-dev.io + - host: cmii-open-gateway.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -242,7 +272,7 @@ spec: backend: serviceName: cmii-open-gateway servicePort: 8080 - - host: cmii-suav-supervision.uavcloud-dev.io + - host: cmii-suav-supervision.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -250,7 +280,7 @@ spec: backend: serviceName: cmii-suav-supervision servicePort: 8080 - - host: cmii-uas-gateway.uavcloud-dev.io + - host: cmii-uas-gateway.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -258,7 +288,7 @@ spec: backend: serviceName: cmii-uas-gateway servicePort: 8080 - - host: cmii-uas-lifecycle.uavcloud-dev.io + - host: cmii-uas-lifecycle.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -266,7 +296,7 @@ spec: backend: serviceName: cmii-uas-lifecycle servicePort: 8080 - - host: cmii-uav-airspace.uavcloud-dev.io + - host: cmii-uav-airspace.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -274,7 +304,7 @@ spec: backend: serviceName: cmii-uav-airspace servicePort: 8080 - - host: cmii-uav-alarm.uavcloud-dev.io + - host: cmii-uav-alarm.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -282,7 +312,7 @@ spec: backend: serviceName: cmii-uav-alarm servicePort: 8080 - - host: cmii-uav-autowaypoint.uavcloud-dev.io + - host: cmii-uav-autowaypoint.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -290,7 +320,7 @@ spec: backend: serviceName: cmii-uav-autowaypoint servicePort: 8080 - - host: cmii-uav-brain.uavcloud-dev.io + - host: cmii-uav-brain.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -298,7 +328,7 @@ spec: backend: serviceName: cmii-uav-brain servicePort: 8080 - - host: cmii-uav-bridge.uavcloud-dev.io + - host: cmii-uav-bridge.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -306,7 +336,7 @@ spec: backend: serviceName: cmii-uav-bridge servicePort: 8080 - - host: cmii-uav-cloud-live.uavcloud-dev.io + - host: cmii-uav-cloud-live.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -314,7 +344,7 @@ spec: backend: serviceName: cmii-uav-cloud-live servicePort: 8080 - - host: cmii-uav-clusters.uavcloud-dev.io + - host: cmii-uav-clusters.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -322,7 +352,7 @@ spec: backend: serviceName: cmii-uav-clusters servicePort: 8080 - - host: cmii-uav-cms.uavcloud-dev.io + - host: cmii-uav-cms.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -330,7 +360,7 @@ spec: backend: serviceName: cmii-uav-cms servicePort: 8080 - - host: cmii-uav-data-post-process.uavcloud-dev.io + - host: cmii-uav-data-post-process.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -338,7 +368,7 @@ spec: backend: serviceName: cmii-uav-data-post-process servicePort: 8080 - - host: cmii-uav-depotautoreturn.uavcloud-dev.io + - host: cmii-uav-depotautoreturn.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -346,7 +376,7 @@ spec: backend: serviceName: cmii-uav-depotautoreturn servicePort: 8080 - - host: cmii-uav-developer.uavcloud-dev.io + - host: cmii-uav-developer.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -354,7 +384,7 @@ spec: backend: serviceName: cmii-uav-developer servicePort: 8080 - - host: cmii-uav-device.uavcloud-dev.io + - host: cmii-uav-device.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -362,7 +392,7 @@ spec: backend: serviceName: cmii-uav-device servicePort: 8080 - - host: cmii-uav-emergency.uavcloud-dev.io + - host: cmii-uav-emergency.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -370,7 +400,7 @@ spec: backend: serviceName: cmii-uav-emergency servicePort: 8080 - - host: cmii-uav-gateway.uavcloud-dev.io + - host: cmii-uav-gateway.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -378,7 +408,7 @@ spec: backend: serviceName: cmii-uav-gateway servicePort: 8080 - - host: cmii-uav-gis-server.uavcloud-dev.io + - host: cmii-uav-gis-server.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -386,7 +416,7 @@ spec: backend: serviceName: cmii-uav-gis-server servicePort: 8080 - - host: cmii-uav-grid-datasource.uavcloud-dev.io + - host: cmii-uav-grid-datasource.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -394,7 +424,7 @@ spec: backend: serviceName: cmii-uav-grid-datasource servicePort: 8080 - - host: cmii-uav-grid-engine.uavcloud-dev.io + - host: cmii-uav-grid-engine.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -402,7 +432,7 @@ spec: backend: serviceName: cmii-uav-grid-engine servicePort: 8080 - - host: cmii-uav-grid-manage.uavcloud-dev.io + - host: cmii-uav-grid-manage.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -410,7 +440,7 @@ spec: backend: serviceName: cmii-uav-grid-manage servicePort: 8080 - - host: cmii-uav-industrial-portfolio.uavcloud-dev.io + - host: cmii-uav-industrial-portfolio.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -418,7 +448,7 @@ spec: backend: serviceName: cmii-uav-industrial-portfolio servicePort: 8080 - - host: cmii-uav-integration.uavcloud-dev.io + - host: cmii-uav-integration.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -426,7 +456,15 @@ spec: backend: serviceName: cmii-uav-integration servicePort: 8080 - - host: cmii-uav-kpi-monitor.uavcloud-dev.io + - host: cmii-uav-iot-dispatcher.uavcloud-uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-iot-dispatcher + servicePort: 8080 + - host: cmii-uav-kpi-monitor.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -434,7 +472,7 @@ spec: backend: serviceName: cmii-uav-kpi-monitor servicePort: 8080 - - host: cmii-uav-logger.uavcloud-dev.io + - host: cmii-uav-logger.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -442,7 +480,7 @@ spec: backend: serviceName: cmii-uav-logger servicePort: 8080 - - host: cmii-uav-material-warehouse.uavcloud-dev.io + - host: cmii-uav-material-warehouse.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -450,7 +488,7 @@ spec: backend: serviceName: cmii-uav-material-warehouse servicePort: 8080 - - host: cmii-uav-mission.uavcloud-dev.io + - host: cmii-uav-mission.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -458,7 +496,7 @@ spec: backend: serviceName: cmii-uav-mission servicePort: 8080 - - host: cmii-uav-mqtthandler.uavcloud-dev.io + - host: cmii-uav-mqtthandler.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -466,7 +504,7 @@ spec: backend: serviceName: cmii-uav-mqtthandler servicePort: 8080 - - host: cmii-uav-multilink.uavcloud-dev.io + - host: cmii-uav-multilink.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -474,7 +512,7 @@ spec: backend: serviceName: cmii-uav-multilink servicePort: 8080 - - host: cmii-uav-notice.uavcloud-dev.io + - host: cmii-uav-notice.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -482,7 +520,7 @@ spec: backend: serviceName: cmii-uav-notice servicePort: 8080 - - host: cmii-uav-oauth.uavcloud-dev.io + - host: cmii-uav-oauth.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -490,7 +528,7 @@ spec: backend: serviceName: cmii-uav-oauth servicePort: 8080 - - host: cmii-uav-process.uavcloud-dev.io + - host: cmii-uav-process.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -498,7 +536,15 @@ spec: backend: serviceName: cmii-uav-process servicePort: 8080 - - host: cmii-uav-surveillance.uavcloud-dev.io + - host: cmii-uav-sense-adapter.uavcloud-uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sense-adapter + servicePort: 8080 + - host: cmii-uav-surveillance.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -506,7 +552,15 @@ spec: backend: serviceName: cmii-uav-surveillance servicePort: 8080 - - host: cmii-uav-threedsimulation.uavcloud-dev.io + - host: cmii-uav-sync.uavcloud-uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sync + servicePort: 8080 + - host: cmii-uav-threedsimulation.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -514,7 +568,7 @@ spec: backend: serviceName: cmii-uav-threedsimulation servicePort: 8080 - - host: cmii-uav-tower.uavcloud-dev.io + - host: cmii-uav-tower.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -522,7 +576,7 @@ spec: backend: serviceName: cmii-uav-tower servicePort: 8080 - - host: cmii-uav-user.uavcloud-dev.io + - host: cmii-uav-user.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -530,7 +584,7 @@ spec: backend: serviceName: cmii-uav-user servicePort: 8080 - - host: cmii-uav-waypoint.uavcloud-dev.io + - host: cmii-uav-waypoint.uavcloud-uavcloud-dev.io http: paths: - path: / @@ -548,7 +602,7 @@ metadata: type: api-gateway octopus.control: all-ingress-config-1.1.0 app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 6.0.0 annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/enable-cors: "true" @@ -561,17 +615,17 @@ spec: - host: fake-domain.uavcloud-dev.io http: paths: - - path: /dev/oms/api/?(.*) + - path: /uavcloud-dev/oms/api/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-admin-gateway servicePort: 8080 - - path: /dev/open/api/?(.*) + - path: /uavcloud-dev/open/api/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-open-gateway servicePort: 8080 - - path: /dev/api/?(.*) + - path: /uavcloud-dev/api/?(.*) pathType: ImplementationSpecific backend: serviceName: cmii-uav-gateway diff --git a/agent-common/real_project/uavcloud-dev/k8s-srs.yaml b/agent-common/real_project/uavcloud-dev/k8s-srs.yaml index 3770278..2b94b62 100644 --- a/agent-common/real_project/uavcloud-dev/k8s-srs.yaml +++ b/agent-common/real_project/uavcloud-dev/k8s-srs.yaml @@ -83,7 +83,7 @@ data: hls_m3u8_file [app]/[stream].m3u8; hls_ts_file [app]/[stream]/[2006][01][02]/[timestamp]-[duration].ts; hls_cleanup on; - hls_entry_prefix http://192.168.35.178; + hls_entry_prefix http://integration.uavcmlc.com; } } --- @@ -230,7 +230,7 @@ spec: protocol: UDP env: - name: CANDIDATE - value: 192.168.35.178 + value: integration.uavcmlc.com resources: limits: cpu: 2000m @@ -255,13 +255,13 @@ spec: image: harbor.cdcyy.com.cn/cmii/cmii-srs-oss-adaptor:2023-SA env: - name: OSS_ENDPOINT - value: https://minio-ig-dev.uavcmlc.com + value: 'http://minio.ig-dev.uavcmlc.com:9000' - name: OSS_AK value: cmii - name: OSS_SK value: 'B#923fC7mk' - name: OSS_BUCKET - value: live-srs-hls + value: live-cluster-hls - name: SRS_OP value: 'http://helm-live-op-svc-v2:8080' - name: MYSQL_ENDPOINT @@ -410,9 +410,10 @@ spec: - protocol: TCP port: 8080 targetPort: 8080 + nodePort: 30333 selector: live-role: op-v2 - type: ClusterIP + type: NodePort sessionAffinity: None --- kind: Service @@ -457,7 +458,7 @@ data: info: name: cmii-live-operator description: cmii-live-operator - version: 5.6.0 + version: 6.0.0 scanPackage: com.cmii.live.op cloud: nacos: @@ -467,11 +468,11 @@ data: server-addr: helm-nacos:8848 extension-configs: - data-id: cmii-live-operator.yml - group: 5.6.0 + group: 6.0.0 refresh: true shared-configs: - data-id: cmii-backend-system.yml - group: 5.6.0 + group: 6.0.0 refresh: true discovery: enabled: false @@ -481,15 +482,15 @@ data: type: srs endpoint: 'http://helm-live-srs-svc:1985' proto: - rtmp: 'rtmp://192.168.35.178:30935' - rtsp: 'rtsp://192.168.35.178:30554' - srt: 'srt://192.168.35.178:30556' - flv: 'http://192.168.35.178:30500' - hls: 'http://192.168.35.178:30500' - rtc: 'webrtc://192.168.35.178:30090' - replay: 'https://192.168.35.178:30333' + rtmp: 'rtmp://integration.uavcmlc.com:30935' + rtsp: 'rtsp://integration.uavcmlc.com:30554' + srt: 'srt://integration.uavcmlc.com:30556' + flv: 'http://integration.uavcmlc.com:30500' + hls: 'http://integration.uavcmlc.com:30500' + rtc: 'webrtc://integration.uavcmlc.com:30090' + replay: 'https://integration.uavcmlc.com:30333' minio: - endpoint: https://minio-ig-dev.uavcmlc.com + endpoint: http://minio.ig-dev.uavcmlc.com:9000 access-key: cmii secret-key: B#923fC7mk - bucket: live-srs-hls + bucket: live-cluster-hls diff --git a/agent-common/real_project/uavcloud-dev/old/k8s-backend.yaml b/agent-common/real_project/uavcloud-dev/old/k8s-backend.yaml index 8f5b96d..983da96 100644 --- a/agent-common/real_project/uavcloud-dev/old/k8s-backend.yaml +++ b/agent-common/real_project/uavcloud-dev/old/k8s-backend.yaml @@ -1,6 +1,423 @@ --- apiVersion: apps/v1 kind: Deployment +metadata: + name: cmii-uav-waypoint + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-waypoint + image: harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-waypoint + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-waypoint + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-waypoint + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-waypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-supervision + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-suav-supervision + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-supervision + image: harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-suav-supervision + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-suav-supervision + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-supervision + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-suav-supervision + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-surveillance + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-surveillance + image: harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-surveillance + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-surveillance + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-surveillance + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-surveillance + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment metadata: name: cmii-admin-gateway namespace: uavcloud-dev @@ -78,7 +495,7 @@ spec: cpu: 200m livenessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -88,7 +505,7 @@ spec: failureThreshold: 3 readinessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -98,7 +515,7 @@ spec: failureThreshold: 3 startupProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -140,6 +557,1535 @@ spec: --- apiVersion: apps/v1 kind: Deployment +metadata: + name: cmii-uav-cloud-live + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cloud-live + image: harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-cloud-live + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-cloud-live + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cloud-live + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-tower + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-tower + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-tower + image: harbor.cdcyy.com.cn/cmii/cmii-uav-tower:5.2.0-validation + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-tower + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-tower + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-tower + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-tower + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-app-release + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-app-release + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-app-release + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-app-release + image: harbor.cdcyy.com.cn/cmii/cmii-app-release:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-app-release + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-app-release + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-app-release + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-app-release + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-manage + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-manage + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-grid-manage + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-grid-manage + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-manage + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-airspace + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-airspace + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-airspace + image: harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-airspace + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-airspace + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-airspace + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-airspace + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-alarm + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-alarm + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-alarm + image: harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:5.5.0-integration + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-alarm + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-alarm + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-alarm + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-alarm + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-user + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-user + image: harbor.cdcyy.com.cn/cmii/cmii-admin-user:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-admin-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-admin-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-user + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-datasource + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-datasource + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-grid-datasource + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-grid-datasource + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-datasource + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-developer + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-developer + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-developer + image: harbor.cdcyy.com.cn/cmii/cmii-uav-developer:5.6.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-developer + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-developer + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-developer + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-developer + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-oauth + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-oauth + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-oauth + image: harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-oauth + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-oauth + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-oauth + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-oauth + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-kpi-monitor + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-kpi-monitor + image: harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-kpi-monitor + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-kpi-monitor + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-kpi-monitor + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment metadata: name: cmii-uav-bridge namespace: uavcloud-dev @@ -217,7 +2163,7 @@ spec: cpu: 200m livenessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -227,7 +2173,7 @@ spec: failureThreshold: 3 readinessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -237,7 +2183,7 @@ spec: failureThreshold: 3 startupProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -280,11 +2226,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-clusters + name: cmii-uas-gateway namespace: uavcloud-dev labels: cmii.type: backend - cmii.app: cmii-uav-clusters + cmii.app: cmii-uas-gateway octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.6.0 @@ -296,12 +2242,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-clusters + cmii.app: cmii-uas-gateway template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-clusters + cmii.app: cmii-uas-gateway spec: affinity: nodeAffinity: @@ -315,14 +2261,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-clusters - image: harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:5.6.0 + - name: cmii-uas-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-dev - name: APPLICATION_NAME - value: cmii-uav-clusters + value: cmii-uas-gateway - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -356,7 +2302,7 @@ spec: cpu: 200m livenessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -366,7 +2312,7 @@ spec: failureThreshold: 3 readinessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -376,7 +2322,7 @@ spec: failureThreshold: 3 startupProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -388,7 +2334,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-dev/cmii-uav-clusters + subPath: uavcloud-dev/cmii-uas-gateway volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -397,11 +2343,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-clusters + name: cmii-uas-gateway namespace: uavcloud-dev labels: cmii.type: backend - cmii.app: cmii-uav-clusters + cmii.app: cmii-uas-gateway octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.6.0 @@ -409,7 +2355,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-clusters + cmii.app: cmii-uas-gateway ports: - name: backend-tcp port: 8080 @@ -419,428 +2365,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-process + name: cmii-uav-brain namespace: uavcloud-dev labels: cmii.type: backend - cmii.app: cmii-uav-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-process - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-process - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-process - image: harbor.cdcyy.com.cn/cmii/cmii-uav-process:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-process - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-process - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-process - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-process - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-cms - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-cms - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-cms - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-cms - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-cms - image: harbor.cdcyy.com.cn/cmii/cmii-uav-cms:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-cms - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-cms - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-cms - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-cms - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-cms - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-threedsimulation - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-threedsimulation - image: harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-threedsimulation - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-threedsimulation - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-threedsimulation - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-alarm - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm + cmii.app: cmii-uav-brain octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.6.0 @@ -852,12 +2381,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-alarm + cmii.app: cmii-uav-brain template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-alarm + cmii.app: cmii-uav-brain spec: affinity: nodeAffinity: @@ -871,14 +2400,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-alarm - image: harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:5.6.0 + - name: cmii-uav-brain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-brain:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-dev - name: APPLICATION_NAME - value: cmii-uav-alarm + value: cmii-uav-brain - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -912,7 +2441,7 @@ spec: cpu: 200m livenessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -922,7 +2451,7 @@ spec: failureThreshold: 3 readinessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -932,7 +2461,7 @@ spec: failureThreshold: 3 startupProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -944,7 +2473,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-dev/cmii-uav-alarm + subPath: uavcloud-dev/cmii-uav-brain volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -953,11 +2482,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-alarm + name: cmii-uav-brain namespace: uavcloud-dev labels: cmii.type: backend - cmii.app: cmii-uav-alarm + cmii.app: cmii-uav-brain octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.6.0 @@ -965,7 +2494,424 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-alarm + cmii.app: cmii-uav-brain + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-engine + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-engine + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-grid-engine + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-grid-engine + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-engine + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-open-gateway + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-open-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-open-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-open-gateway:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-open-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-open-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-open-gateway + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-open-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-emergency + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-emergency + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-emergency + image: harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-emergency + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-emergency + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-emergency + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-emergency ports: - name: backend-tcp port: 8080 @@ -1051,7 +2997,7 @@ spec: cpu: 200m livenessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1061,7 +3007,7 @@ spec: failureThreshold: 3 readinessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1071,7 +3017,7 @@ spec: failureThreshold: 3 startupProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1190,7 +3136,7 @@ spec: cpu: 200m livenessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1200,7 +3146,7 @@ spec: failureThreshold: 3 readinessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1210,7 +3156,7 @@ spec: failureThreshold: 3 startupProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1329,7 +3275,7 @@ spec: cpu: 200m livenessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1339,7 +3285,7 @@ spec: failureThreshold: 3 readinessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1349,7 +3295,7 @@ spec: failureThreshold: 3 startupProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1392,11 +3338,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-airspace + name: cmii-uav-mission namespace: uavcloud-dev labels: cmii.type: backend - cmii.app: cmii-uav-airspace + cmii.app: cmii-uav-mission octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.6.0 @@ -1408,12 +3354,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-airspace + cmii.app: cmii-uav-mission template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-airspace + cmii.app: cmii-uav-mission spec: affinity: nodeAffinity: @@ -1427,14 +3373,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-airspace - image: harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:5.6.0 + - name: cmii-uav-mission + image: harbor.cdcyy.com.cn/cmii/cmii-uav-mission:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-dev - name: APPLICATION_NAME - value: cmii-uav-airspace + value: cmii-uav-mission - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -1468,7 +3414,7 @@ spec: cpu: 200m livenessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1478,7 +3424,7 @@ spec: failureThreshold: 3 readinessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1488,7 +3434,7 @@ spec: failureThreshold: 3 startupProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1500,7 +3446,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-dev/cmii-uav-airspace + subPath: uavcloud-dev/cmii-uav-mission volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -1509,11 +3455,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-airspace + name: cmii-uav-mission namespace: uavcloud-dev labels: cmii.type: backend - cmii.app: cmii-uav-airspace + cmii.app: cmii-uav-mission octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.6.0 @@ -1521,7 +3467,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-airspace + cmii.app: cmii-uav-mission ports: - name: backend-tcp port: 8080 @@ -1531,11 +3477,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uas-lifecycle + name: cmii-uav-device namespace: uavcloud-dev labels: cmii.type: backend - cmii.app: cmii-uas-lifecycle + cmii.app: cmii-uav-device octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.6.0 @@ -1547,12 +3493,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uas-lifecycle + cmii.app: cmii-uav-device template: metadata: labels: cmii.type: backend - cmii.app: cmii-uas-lifecycle + cmii.app: cmii-uav-device spec: affinity: nodeAffinity: @@ -1566,14 +3512,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uas-lifecycle - image: harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:5.6.0 + - name: cmii-uav-device + image: harbor.cdcyy.com.cn/cmii/cmii-uav-device:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-dev - name: APPLICATION_NAME - value: cmii-uas-lifecycle + value: cmii-uav-device - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -1607,7 +3553,7 @@ spec: cpu: 200m livenessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1617,7 +3563,7 @@ spec: failureThreshold: 3 readinessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1627,7 +3573,7 @@ spec: failureThreshold: 3 startupProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1639,7 +3585,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-dev/cmii-uas-lifecycle + subPath: uavcloud-dev/cmii-uav-device volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -1648,11 +3594,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uas-lifecycle + name: cmii-uav-device namespace: uavcloud-dev labels: cmii.type: backend - cmii.app: cmii-uas-lifecycle + cmii.app: cmii-uav-device octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.6.0 @@ -1660,7 +3606,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uas-lifecycle + cmii.app: cmii-uav-device ports: - name: backend-tcp port: 8080 @@ -1746,7 +3692,7 @@ spec: cpu: 200m livenessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1756,7 +3702,7 @@ spec: failureThreshold: 3 readinessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1766,7 +3712,7 @@ spec: failureThreshold: 3 startupProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -1808,1535 +3754,6 @@ spec: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-kpi-monitor - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-kpi-monitor - image: harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-kpi-monitor - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-kpi-monitor - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-kpi-monitor - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uas-gateway - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uas-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uas-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uas-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uas-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uas-gateway - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uas-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-tower - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-tower - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-tower - image: harbor.cdcyy.com.cn/cmii/cmii-uav-tower:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-tower - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-tower - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-tower - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-tower - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-open-gateway - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-open-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-open-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-open-gateway:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-open-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-open-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-open-gateway - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-open-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-multilink - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-multilink - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-multilink - image: harbor.cdcyy.com.cn/cmii/cmii-uav-multilink:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-multilink - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-multilink - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-multilink - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-multilink - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-notice - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-notice - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-notice - image: harbor.cdcyy.com.cn/cmii/cmii-uav-notice:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-notice - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-notice - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-notice - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-notice - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-device - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-device - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-device - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-device - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-device - image: harbor.cdcyy.com.cn/cmii/cmii-uav-device:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-device - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-device - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-device - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-device - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-device - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-surveillance - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-surveillance - image: harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-surveillance - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-surveillance - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-surveillance - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-surveillance - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-waypoint - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-waypoint - image: harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-waypoint - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-waypoint - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-waypoint - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-waypoint - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-industrial-portfolio - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-industrial-portfolio - image: harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-industrial-portfolio - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-industrial-portfolio - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-industrial-portfolio - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-cloud-live - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-cloud-live - image: harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-cloud-live - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-cloud-live - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-cloud-live - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: cmii-uav-mqtthandler namespace: uavcloud-dev @@ -3374,7 +3791,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-mqtthandler - image: harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:5.6.0 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -3414,7 +3831,7 @@ spec: cpu: 200m livenessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -3424,7 +3841,7 @@ spec: failureThreshold: 3 readinessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -3434,7 +3851,7 @@ spec: failureThreshold: 3 startupProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -3476,1535 +3893,6 @@ spec: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-developer - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-developer - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-developer - image: harbor.cdcyy.com.cn/cmii/cmii-uav-developer:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-developer - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-developer - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-developer - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-developer - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-suav-supervision - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-suav-supervision - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-suav-supervision - image: harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-suav-supervision - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-suav-supervision - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-suav-supervision - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-suav-supervision - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-brain - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-brain - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-brain - image: harbor.cdcyy.com.cn/cmii/cmii-uav-brain:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-brain - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-brain - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-brain - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-brain - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-logger - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-logger - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-logger - image: harbor.cdcyy.com.cn/cmii/cmii-uav-logger:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-logger - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-logger - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-logger - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-logger - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-admin-data - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-admin-data - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-admin-data - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-admin-data - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-data - image: harbor.cdcyy.com.cn/cmii/cmii-admin-data:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-admin-data - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-admin-data - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-admin-data - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-admin-data - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-admin-data - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-app-release - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-app-release - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-app-release - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-app-release - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-app-release - image: harbor.cdcyy.com.cn/cmii/cmii-app-release:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-app-release - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-app-release - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-app-release - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-app-release - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-app-release - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-depotautoreturn - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-depotautoreturn - image: harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-depotautoreturn - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-depotautoreturn - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-depotautoreturn - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-mission - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-mission - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-mission - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-mission - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-mission - image: harbor.cdcyy.com.cn/cmii/cmii-uav-mission:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-mission - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-mission - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-mission - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-mission - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-mission - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-admin-user - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-admin-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-admin-user - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-admin-user - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-user - image: harbor.cdcyy.com.cn/cmii/cmii-admin-user:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-admin-user - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-admin-user - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-admin-user - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-admin-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-admin-user - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-emergency - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-emergency - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-emergency - image: harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-emergency - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-emergency - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-emergency - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-emergency - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-oauth - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-oauth - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - dev - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-oauth - image: harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-oauth - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.6.0 - - name: SYS_CONFIG_GROUP - value: 5.6.0 - - name: IMAGE_VERSION - value: 5.6.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-dev/cmii-uav-oauth - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-oauth - namespace: uavcloud-dev - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-oauth - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: cmii-uav-data-post-process namespace: uavcloud-dev @@ -5082,7 +3970,7 @@ spec: cpu: 200m livenessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -5092,7 +3980,7 @@ spec: failureThreshold: 3 readinessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -5102,7 +3990,7 @@ spec: failureThreshold: 3 startupProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -5144,6 +4032,1118 @@ spec: --- apiVersion: apps/v1 kind: Deployment +metadata: + name: cmii-uas-lifecycle + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-lifecycle + image: harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uas-lifecycle + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uas-lifecycle + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-lifecycle + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-logger + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-logger + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-logger + image: harbor.cdcyy.com.cn/cmii/cmii-uav-logger:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-logger + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-logger + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-logger + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-logger + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-notice + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-notice + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-notice + image: harbor.cdcyy.com.cn/cmii/cmii-uav-notice:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-notice + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-notice + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-notice + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-notice + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-depotautoreturn + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-depotautoreturn + image: harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-depotautoreturn + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-depotautoreturn + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-depotautoreturn + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-multilink + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-multilink + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-multilink + image: harbor.cdcyy.com.cn/cmii/cmii-uav-multilink:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-multilink + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-multilink + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-multilink + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-multilink + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-industrial-portfolio + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-industrial-portfolio + image: harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-industrial-portfolio + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-industrial-portfolio + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-industrial-portfolio + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-clusters + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-clusters + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-clusters + image: harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-clusters + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-clusters + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-clusters + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-clusters + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-threedsimulation + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-threedsimulation + image: harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-threedsimulation + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-threedsimulation + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-threedsimulation + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment metadata: name: cmii-uav-material-warehouse namespace: uavcloud-dev @@ -5221,7 +5221,7 @@ spec: cpu: 200m livenessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -5231,7 +5231,7 @@ spec: failureThreshold: 3 readinessProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -5241,7 +5241,7 @@ spec: failureThreshold: 3 startupProbe: httpGet: - path: /cmii/ping + path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 @@ -5280,3 +5280,559 @@ spec: port: 8080 protocol: TCP targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-process + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-process + image: harbor.cdcyy.com.cn/cmii/cmii-uav-process:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-process + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gis-server + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gis-server + image: harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-gis-server + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-gis-server + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gis-server + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-gis-server + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-data + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-data + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-data + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-data + image: harbor.cdcyy.com.cn/cmii/cmii-admin-data:5.6.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-admin-data + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-admin-data + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-data + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-data + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cms + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cms + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - dev + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-cms:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-cms + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.6.0 + - name: SYS_CONFIG_GROUP + value: 5.6.0 + - name: IMAGE_VERSION + value: 5.6.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-dev/cmii-uav-cms + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cms + namespace: uavcloud-dev + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cms + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 diff --git a/agent-common/real_project/uavcloud-dev/old/k8s-frontend.yaml b/agent-common/real_project/uavcloud-dev/old/k8s-frontend.yaml index d094128..d4af0cd 100644 --- a/agent-common/real_project/uavcloud-dev/old/k8s-frontend.yaml +++ b/agent-common/real_project/uavcloud-dev/old/k8s-frontend.yaml @@ -8,45 +8,31 @@ metadata: cmii.type: frontend data: nginx.conf: | - user root; - worker_processes auto; + server { + listen 9528; + server_name localhost; + gzip on; - events { - worker_connections 1024; - } - http { - include mime.types; - default_type application/octet-stream; + location / { + root /home/cmii-platform/dist; + index index.html index.htm; + } - sendfile on; - - keepalive_timeout 600; - - server { - listen 9528; - server_name localhost; - gzip on; - - location / { - root /home/cmii-platform/dist; - index index.html index.htm; - } - - error_page 500 502 503 504 /50x.html; - location = /50x.html { - root html; - } + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root html; } } + --- apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-logistics + name: cmii-uav-platform-splice namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-logistics + cmii.app: cmii-uav-platform-splice octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 5.6.0 spec: @@ -57,24 +43,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-logistics + cmii.app: cmii-uav-platform-splice template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-logistics + cmii.app: cmii-uav-platform-splice spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-logistics - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-logistics:5.6.0 + - name: cmii-uav-platform-splice + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-dev - name: APPLICATION_NAME - value: cmii-uav-platform-logistics + value: cmii-uav-platform-splice ports: - name: platform-9528 containerPort: 9528 @@ -88,7 +74,7 @@ spec: memory: 500Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/default.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -102,7 +88,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-logistics + name: tenant-prefix-splice items: - key: ingress-config.js path: ingress-config.js @@ -110,374 +96,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-logistics + name: cmii-uav-platform-splice namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-logistics + cmii.app: cmii-uav-platform-splice octopus.control: frontend-app-wdd app.kubernetes.io/version: 5.6.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-logistics - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-qingdao - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-qingdao - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-qingdao - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-qingdao - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-qingdao - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-qinghaitourism - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-qinghaitourism - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-qinghaitourism - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-qinghaitourism - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-qinghaitourism - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-suav-platform-supervisionh5 - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-suav-platform-supervisionh5 - image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-suav-platform-supervisionh5 - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-supervisionh5 - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-suav-platform-supervisionh5 - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-ai-brain - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-ai-brain - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-ai-brain - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-ai-brain - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-ai-brain - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain + cmii.app: cmii-uav-platform-splice ports: - name: web-svc-port port: 9528 @@ -533,7 +163,7 @@ spec: memory: 500Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/default.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -576,11 +206,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-emergency-rescue + name: cmii-uav-platform-logistics namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue + cmii.app: cmii-uav-platform-logistics octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 5.6.0 spec: @@ -591,24 +221,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue + cmii.app: cmii-uav-platform-logistics template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue + cmii.app: cmii-uav-platform-logistics spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-emergency-rescue - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-emergency-rescue:5.6.0 + - name: cmii-uav-platform-logistics + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-logistics:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-dev - name: APPLICATION_NAME - value: cmii-uav-platform-emergency-rescue + value: cmii-uav-platform-logistics ports: - name: platform-9528 containerPort: 9528 @@ -622,7 +252,7 @@ spec: memory: 500Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/default.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -636,7 +266,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-emergency + name: tenant-prefix-logistics items: - key: ingress-config.js path: ingress-config.js @@ -644,107 +274,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-emergency-rescue + name: cmii-uav-platform-logistics namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue + cmii.app: cmii-uav-platform-logistics octopus.control: frontend-app-wdd app.kubernetes.io/version: 5.6.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-detection - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-detection - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-detection - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-detection - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-detection - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection + cmii.app: cmii-uav-platform-logistics ports: - name: web-svc-port port: 9528 @@ -800,7 +341,7 @@ spec: memory: 500Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/default.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -843,11 +384,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-seniclive + name: cmii-uav-platform-qinghaitourism namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive + cmii.app: cmii-uav-platform-qinghaitourism octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 5.6.0 spec: @@ -858,24 +399,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive + cmii.app: cmii-uav-platform-qinghaitourism template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive + cmii.app: cmii-uav-platform-qinghaitourism spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-seniclive - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-seniclive:5.6.0 + - name: cmii-uav-platform-qinghaitourism + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-dev - name: APPLICATION_NAME - value: cmii-uav-platform-seniclive + value: cmii-uav-platform-qinghaitourism ports: - name: platform-9528 containerPort: 9528 @@ -889,7 +430,7 @@ spec: memory: 500Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/default.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -903,7 +444,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-seniclive + name: tenant-prefix-qinghaitourism items: - key: ingress-config.js path: ingress-config.js @@ -911,18 +452,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-seniclive + name: cmii-uav-platform-qinghaitourism namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive + cmii.app: cmii-uav-platform-qinghaitourism octopus.control: frontend-app-wdd app.kubernetes.io/version: 5.6.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive + cmii.app: cmii-uav-platform-qinghaitourism ports: - name: web-svc-port port: 9528 @@ -932,11 +473,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-multiterminal + name: cmii-uav-platform-emergency-rescue namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal + cmii.app: cmii-uav-platform-emergency-rescue octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 5.6.0 spec: @@ -947,24 +488,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal + cmii.app: cmii-uav-platform-emergency-rescue template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal + cmii.app: cmii-uav-platform-emergency-rescue spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-multiterminal - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:5.6.0 + - name: cmii-uav-platform-emergency-rescue + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-emergency-rescue:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-dev - name: APPLICATION_NAME - value: cmii-uav-platform-multiterminal + value: cmii-uav-platform-emergency-rescue ports: - name: platform-9528 containerPort: 9528 @@ -978,7 +519,7 @@ spec: memory: 500Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/default.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -992,7 +533,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-multiterminal + name: tenant-prefix-emergency items: - key: ingress-config.js path: ingress-config.js @@ -1000,819 +541,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-multiterminal + name: cmii-uav-platform-emergency-rescue namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal + cmii.app: cmii-uav-platform-emergency-rescue octopus.control: frontend-app-wdd app.kubernetes.io/version: 5.6.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-share - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-share - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-share - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-share - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-share - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-mws - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-mws - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-mws - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-mws - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-mws - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-oms - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-oms - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-oms:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-oms - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-oms - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-oms - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-visualization - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-visualization - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-visualization - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-visualization - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-visualization - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-splice - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-splice - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-splice - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-splice - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-splice - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-base - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-base - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-base - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-base - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-base - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-hljtt - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-hljtt - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-hljtt - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-hljtt - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-hljtt - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-jiangsuwenlv - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-jiangsuwenlv - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-jiangsuwenlv - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-jiangsuwenlv - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-jiangsuwenlv - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-media - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.6.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-media - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-media:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-dev - - name: APPLICATION_NAME - value: cmii-uav-platform-media - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-media - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-media - namespace: uavcloud-dev - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.6.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-media + cmii.app: cmii-uav-platform-emergency-rescue ports: - name: web-svc-port port: 9528 @@ -1868,7 +608,7 @@ spec: memory: 500Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/default.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -1911,11 +651,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-cms-portal + name: cmii-uav-platform-hljtt namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal + cmii.app: cmii-uav-platform-hljtt octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 5.6.0 spec: @@ -1926,24 +666,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal + cmii.app: cmii-uav-platform-hljtt template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal + cmii.app: cmii-uav-platform-hljtt spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-cms-portal - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:5.6.0 + - name: cmii-uav-platform-hljtt + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-dev - name: APPLICATION_NAME - value: cmii-uav-platform-cms-portal + value: cmii-uav-platform-hljtt ports: - name: platform-9528 containerPort: 9528 @@ -1957,7 +697,7 @@ spec: memory: 500Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/default.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -1971,7 +711,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-cmsportal + name: tenant-prefix-hljtt items: - key: ingress-config.js path: ingress-config.js @@ -1979,18 +719,819 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-cms-portal + name: cmii-uav-platform-hljtt namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal + cmii.app: cmii-uav-platform-hljtt octopus.control: frontend-app-wdd app.kubernetes.io/version: 5.6.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal + cmii.app: cmii-uav-platform-hljtt + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-multiterminal + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-multiterminal + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-multiterminal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-multiterminal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-multiterminal + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervisionh5 + image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-suav-platform-supervisionh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervisionh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-armypeople + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-armypeople + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-armypeople:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-armypeople + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-armypeople + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-armypeople + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-detection + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-detection + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-detection + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-detection + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-detection + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-jiangsuwenlv + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-jiangsuwenlv + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-jiangsuwenlv + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-seniclive + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-seniclive + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-seniclive:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-seniclive + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-seniclive + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-seniclive + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-share + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-share + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-share + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-share + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-share + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-visualization + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-visualization + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-visualization + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-visualization + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-visualization + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-ai-brain + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-ai-brain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-ai-brain + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-ai-brain + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-ai-brain + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain ports: - name: web-svc-port port: 9528 @@ -2046,7 +1587,7 @@ spec: memory: 500Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/default.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -2089,11 +1630,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-armypeople + name: cmii-uav-platform-mws namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-mws octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 5.6.0 spec: @@ -2104,24 +1645,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-mws template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-mws spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-armypeople - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-armypeople:5.6.0 + - name: cmii-uav-platform-mws + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-dev - name: APPLICATION_NAME - value: cmii-uav-platform-armypeople + value: cmii-uav-platform-mws ports: - name: platform-9528 containerPort: 9528 @@ -2135,7 +1676,7 @@ spec: memory: 500Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/default.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -2149,7 +1690,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-armypeople + name: tenant-prefix-mws items: - key: ingress-config.js path: ingress-config.js @@ -2157,18 +1698,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-armypeople + name: cmii-uav-platform-mws namespace: uavcloud-dev labels: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-mws octopus.control: frontend-app-wdd app.kubernetes.io/version: 5.6.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople + cmii.app: cmii-uav-platform-mws ports: - name: web-svc-port port: 9528 @@ -2204,7 +1745,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-platform - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.6.0 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -2224,7 +1765,7 @@ spec: memory: 500Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/default.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -2266,6 +1807,362 @@ spec: --- apiVersion: apps/v1 kind: Deployment +metadata: + name: cmii-uav-platform-oms + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-oms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-oms:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-oms + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-oms + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-oms + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-qingdao + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qingdao + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-qingdao + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qingdao + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qingdao + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-cms-portal + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-cms-portal + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-cms-portal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-cmsportal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-cms-portal + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-media + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-media + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-media:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-media + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-media + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-media + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment metadata: name: cmii-uav-platform-security namespace: uavcloud-dev @@ -2313,7 +2210,7 @@ spec: memory: 500Mi volumeMounts: - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf + mountPath: /etc/nginx/conf.d/default.conf subPath: nginx.conf - name: tenant-prefix subPath: ingress-config.js @@ -2352,3 +2249,92 @@ spec: port: 9528 protocol: TCP targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-base + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.6.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-base + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-dev + - name: APPLICATION_NAME + value: cmii-uav-platform-base + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-base + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-base + namespace: uavcloud-dev + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.6.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 diff --git a/agent-common/real_project/uavcloud-dev/old/k8s-ingress.yaml b/agent-common/real_project/uavcloud-dev/old/k8s-ingress.yaml index d61b771..363bf95 100644 --- a/agent-common/real_project/uavcloud-dev/old/k8s-ingress.yaml +++ b/agent-common/real_project/uavcloud-dev/old/k8s-ingress.yaml @@ -186,3 +186,393 @@ spec: backend: serviceName: cmii-uav-platform-visualization servicePort: 9528 +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: backend-applications-ingress + namespace: uavcloud-dev + labels: + type: backend + octopus.control: all-ingress-config-wdd + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.6.0 + annotations: + kubernetes.io/ingress.class: "nginx" + nginx.ingress.kubernetes.io/enable-cors: "true" +spec: + rules: + - host: cmii-admin-data.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-data + servicePort: 8080 + - host: cmii-admin-gateway.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-gateway + servicePort: 8080 + - host: cmii-admin-user.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-user + servicePort: 8080 + - host: cmii-app-release.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-app-release + servicePort: 8080 + - host: cmii-open-gateway.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-open-gateway + servicePort: 8080 + - host: cmii-suav-supervision.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-suav-supervision + servicePort: 8080 + - host: cmii-uas-gateway.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-gateway + servicePort: 8080 + - host: cmii-uas-lifecycle.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-lifecycle + servicePort: 8080 + - host: cmii-uav-airspace.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-airspace + servicePort: 8080 + - host: cmii-uav-alarm.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-alarm + servicePort: 8080 + - host: cmii-uav-autowaypoint.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-autowaypoint + servicePort: 8080 + - host: cmii-uav-brain.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-brain + servicePort: 8080 + - host: cmii-uav-bridge.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-bridge + servicePort: 8080 + - host: cmii-uav-cloud-live.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-cloud-live + servicePort: 8080 + - host: cmii-uav-clusters.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-clusters + servicePort: 8080 + - host: cmii-uav-cms.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-cms + servicePort: 8080 + - host: cmii-uav-data-post-process.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-data-post-process + servicePort: 8080 + - host: cmii-uav-depotautoreturn.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-depotautoreturn + servicePort: 8080 + - host: cmii-uav-developer.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-developer + servicePort: 8080 + - host: cmii-uav-device.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-device + servicePort: 8080 + - host: cmii-uav-emergency.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-emergency + servicePort: 8080 + - host: cmii-uav-gateway.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gateway + servicePort: 8080 + - host: cmii-uav-gis-server.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gis-server + servicePort: 8080 + - host: cmii-uav-grid-datasource.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-datasource + servicePort: 8080 + - host: cmii-uav-grid-engine.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-engine + servicePort: 8080 + - host: cmii-uav-grid-manage.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-manage + servicePort: 8080 + - host: cmii-uav-industrial-portfolio.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-industrial-portfolio + servicePort: 8080 + - host: cmii-uav-integration.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-integration + servicePort: 8080 + - host: cmii-uav-kpi-monitor.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-kpi-monitor + servicePort: 8080 + - host: cmii-uav-logger.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-logger + servicePort: 8080 + - host: cmii-uav-material-warehouse.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-material-warehouse + servicePort: 8080 + - host: cmii-uav-mission.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-mission + servicePort: 8080 + - host: cmii-uav-mqtthandler.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-mqtthandler + servicePort: 8080 + - host: cmii-uav-multilink.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-multilink + servicePort: 8080 + - host: cmii-uav-notice.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-notice + servicePort: 8080 + - host: cmii-uav-oauth.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-oauth + servicePort: 8080 + - host: cmii-uav-process.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-process + servicePort: 8080 + - host: cmii-uav-surveillance.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-surveillance + servicePort: 8080 + - host: cmii-uav-threedsimulation.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-threedsimulation + servicePort: 8080 + - host: cmii-uav-tower.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-tower + servicePort: 8080 + - host: cmii-uav-user.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-user + servicePort: 8080 + - host: cmii-uav-waypoint.uavcloud-dev.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-waypoint + servicePort: 8080 +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: all-gateways-ingress + namespace: uavcloud-dev + labels: + type: api-gateway + octopus.control: all-ingress-config-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.6.0 + annotations: + kubernetes.io/ingress.class: "nginx" + nginx.ingress.kubernetes.io/enable-cors: "true" + nginx.ingress.kubernetes.io/rewrite-target: /$1 + nginx.ingress.kubernetes.io/configuration-snippet: | + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; +spec: + rules: + - host: fake-domain.uavcloud-dev.io + http: + paths: + - path: /dev/oms/api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-gateway + servicePort: 8080 + - path: /dev/open/api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-open-gateway + servicePort: 8080 + - path: /dev/api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gateway + servicePort: 8080 diff --git a/agent-common/real_project/uavcloud-dev/old/k8s-srs.yaml b/agent-common/real_project/uavcloud-dev/old/k8s-srs.yaml new file mode 100644 index 0000000..3770278 --- /dev/null +++ b/agent-common/real_project/uavcloud-dev/old/k8s-srs.yaml @@ -0,0 +1,495 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: helm-live-srs-cm + namespace: uavcloud-dev + labels: + cmii.app: live-srs + cmii.type: live + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + helm.sh/chart: cmlc-live-srs-rtc-2.0.0 +data: + srs.rtc.conf: |- + listen 30935; + max_connections 4096; + srs_log_tank console; + srs_log_level info; + srs_log_file /home/srs.log; + daemon off; + http_api { + enabled on; + listen 1985; + crossdomain on; + } + stats { + network 0; + } + http_server { + enabled on; + listen 8080; + dir /home/hls; + } + srt_server { + enabled on; + listen 30556; + maxbw 1000000000; + connect_timeout 4000; + peerlatency 600; + recvlatency 600; + } + rtc_server { + enabled on; + listen 30090; + candidate $CANDIDATE; + } + vhost __defaultVhost__ { + http_hooks { + enabled on; + on_publish http://helm-live-op-svc-v2:8080/hooks/on_push; + } + http_remux { + enabled on; + } + rtc { + enabled on; + rtmp_to_rtc on; + rtc_to_rtmp on; + keep_bframe off; + } + tcp_nodelay on; + min_latency on; + play { + gop_cache off; + mw_latency 100; + mw_msgs 10; + } + publish { + firstpkt_timeout 8000; + normal_timeout 4000; + mr on; + } + dvr { + enabled off; + dvr_path /home/dvr/[app]/[stream]/[2006][01]/[timestamp].mp4; + dvr_plan session; + } + hls { + enabled on; + hls_path /home/hls; + hls_fragment 10; + hls_window 60; + hls_m3u8_file [app]/[stream].m3u8; + hls_ts_file [app]/[stream]/[2006][01][02]/[timestamp]-[duration].ts; + hls_cleanup on; + hls_entry_prefix http://192.168.35.178; + } + } +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srs-svc-exporter + namespace: uavcloud-dev + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: rtmp + protocol: TCP + port: 30935 + targetPort: 30935 + nodePort: 30935 + - name: rtc + protocol: UDP + port: 30090 + targetPort: 30090 + nodePort: 30090 + - name: rtc-tcp + protocol: TCP + port: 30090 + targetPort: 30090 + nodePort: 30090 + - name: srt + protocol: UDP + port: 30556 + targetPort: 30556 + nodePort: 30556 + - name: api + protocol: TCP + port: 1985 + targetPort: 1985 + nodePort: 30557 + selector: + srs-role: rtc + type: NodePort + sessionAffinity: None + externalTrafficPolicy: Cluster + +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srs-svc + namespace: uavcloud-dev + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: http + protocol: TCP + port: 8080 + targetPort: 8080 + - name: api + protocol: TCP + port: 1985 + targetPort: 1985 + selector: + srs-role: rtc + type: ClusterIP + sessionAffinity: None + +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srsrtc-svc + namespace: uavcloud-dev + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: rtmp + protocol: TCP + port: 30935 + targetPort: 30935 + selector: + srs-role: rtc + type: ClusterIP + sessionAffinity: None + +--- +kind: StatefulSet +apiVersion: apps/v1 +metadata: + name: helm-live-srs-rtc + namespace: uavcloud-dev + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + cmii.app: live-srs + cmii.type: live + helm.sh/chart: cmlc-live-srs-rtc-2.0.0 + srs-role: rtc +spec: + replicas: 1 + selector: + matchLabels: + srs-role: rtc + template: + metadata: + labels: + srs-role: rtc + spec: + volumes: + - name: srs-conf-file + configMap: + name: helm-live-srs-cm + items: + - key: srs.rtc.conf + path: docker.conf + defaultMode: 420 + - name: srs-vol + emptyDir: + sizeLimit: 8Gi + containers: + - name: srs-rtc + image: harbor.cdcyy.com.cn/cmii/srs:v5.0.195 + ports: + - name: srs-rtmp + containerPort: 30935 + protocol: TCP + - name: srs-api + containerPort: 1985 + protocol: TCP + - name: srs-flv + containerPort: 8080 + protocol: TCP + - name: srs-webrtc + containerPort: 30090 + protocol: UDP + - name: srs-webrtc-tcp + containerPort: 30090 + protocol: TCP + - name: srs-srt + containerPort: 30556 + protocol: UDP + env: + - name: CANDIDATE + value: 192.168.35.178 + resources: + limits: + cpu: 2000m + memory: 4Gi + requests: + cpu: 100m + memory: 256Mi + volumeMounts: + - name: srs-conf-file + mountPath: /usr/local/srs/conf/docker.conf + subPath: docker.conf + - name: srs-vol + mountPath: /home/dvr + subPath: uavcloud-dev/helm-live/dvr + - name: srs-vol + mountPath: /home/hls + subPath: uavcloud-dev/helm-live/hls + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + - name: oss-adaptor + image: harbor.cdcyy.com.cn/cmii/cmii-srs-oss-adaptor:2023-SA + env: + - name: OSS_ENDPOINT + value: https://minio-ig-dev.uavcmlc.com + - name: OSS_AK + value: cmii + - name: OSS_SK + value: 'B#923fC7mk' + - name: OSS_BUCKET + value: live-srs-hls + - name: SRS_OP + value: 'http://helm-live-op-svc-v2:8080' + - name: MYSQL_ENDPOINT + value: 'helm-mysql:3306' + - name: MYSQL_USERNAME + value: k8s_admin + - name: MYSQL_PASSWORD + value: VFJncwy58^Zm + - name: MYSQL_DATABASE + value: cmii_live_srs_op + - name: MYSQL_TABLE + value: live_segment + - name: LOG_LEVEL + value: info + - name: OSS_META + value: 'yes' + resources: + limits: + cpu: 2000m + memory: 4Gi + requests: + cpu: 100m + memory: 256Mi + volumeMounts: + - name: srs-vol + mountPath: /cmii/share/hls + subPath: uavcloud-dev/helm-live/hls + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + restartPolicy: Always + terminationGracePeriodSeconds: 30 + dnsPolicy: ClusterFirst + securityContext: { } + imagePullSecrets: + - name: harborsecret + affinity: { } + schedulerName: default-scheduler + serviceName: helm-live-srsrtc-svc + podManagementPolicy: OrderedReady + updateStrategy: + type: RollingUpdate + rollingUpdate: + partition: 0 + revisionHistoryLimit: 10 +--- +# live-srs部分 +--- +kind: Deployment +apiVersion: apps/v1 +metadata: + name: helm-live-op-v2 + namespace: uavcloud-dev + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + cmii.app: live-engine + cmii.type: live + helm.sh/chart: cmlc-live-live-op-2.0.0 + live-role: op-v2 +spec: + replicas: 1 + selector: + matchLabels: + live-role: op-v2 + template: + metadata: + labels: + live-role: op-v2 + spec: + volumes: + - name: srs-conf-file + configMap: + name: helm-live-op-cm-v2 + items: + - key: live.op.conf + path: bootstrap.yaml + defaultMode: 420 + containers: + - name: helm-live-op-v2 + image: harbor.cdcyy.com.cn/cmii/cmii-live-operator:5.2.0 + ports: + - name: operator + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: 4800m + memory: 4Gi + requests: + cpu: 100m + memory: 256Mi + volumeMounts: + - name: srs-conf-file + mountPath: /cmii/bootstrap.yaml + subPath: bootstrap.yaml + livenessProbe: + httpGet: + path: /cmii/health + port: 8080 + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: 8080 + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + restartPolicy: Always + terminationGracePeriodSeconds: 30 + dnsPolicy: ClusterFirst + securityContext: { } + imagePullSecrets: + - name: harborsecret + affinity: { } + schedulerName: default-scheduler + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-op-svc-v2 + namespace: uavcloud-dev + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - protocol: TCP + port: 8080 + targetPort: 8080 + selector: + live-role: op-v2 + type: ClusterIP + sessionAffinity: None +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-op-svc + namespace: uavcloud-dev + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - protocol: TCP + port: 8080 + targetPort: 8080 + selector: + live-role: op + type: ClusterIP + sessionAffinity: None +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: helm-live-op-cm-v2 + namespace: uavcloud-dev + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + cmii.app: live-engine + cmii.type: live +data: + live.op.conf: |- + server: + port: 8080 + spring: + main: + allow-bean-definition-overriding: true + allow-circular-references: true + application: + name: cmii-live-operator + platform: + info: + name: cmii-live-operator + description: cmii-live-operator + version: 5.6.0 + scanPackage: com.cmii.live.op + cloud: + nacos: + config: + username: developer + password: N@cos14Good + server-addr: helm-nacos:8848 + extension-configs: + - data-id: cmii-live-operator.yml + group: 5.6.0 + refresh: true + shared-configs: + - data-id: cmii-backend-system.yml + group: 5.6.0 + refresh: true + discovery: + enabled: false + + live: + engine: + type: srs + endpoint: 'http://helm-live-srs-svc:1985' + proto: + rtmp: 'rtmp://192.168.35.178:30935' + rtsp: 'rtsp://192.168.35.178:30554' + srt: 'srt://192.168.35.178:30556' + flv: 'http://192.168.35.178:30500' + hls: 'http://192.168.35.178:30500' + rtc: 'webrtc://192.168.35.178:30090' + replay: 'https://192.168.35.178:30333' + minio: + endpoint: https://minio-ig-dev.uavcmlc.com + access-key: cmii + secret-key: B#923fC7mk + bucket: live-srs-hls diff --git a/agent-common/real_project/uavcloud-devoperation/k8s-rabbitmq.yaml b/agent-common/real_project/uavcloud-devoperation/k8s-rabbitmq.yaml index 90b1c0a..2d0ff54 100644 --- a/agent-common/real_project/uavcloud-devoperation/k8s-rabbitmq.yaml +++ b/agent-common/real_project/uavcloud-devoperation/k8s-rabbitmq.yaml @@ -325,4 +325,4 @@ spec: path: rabbitmq.conf - name: data persistentVolumeClaim: - claimName: helm-rabbitmq + claimName: helm-rabbitmq \ No newline at end of file diff --git a/agent-common/real_project/ynejpt/k8s-backend.yaml b/agent-common/real_project/ynejpt/k8s-backend.yaml new file mode 100644 index 0000000..e0d7433 --- /dev/null +++ b/agent-common/real_project/ynejpt/k8s-backend.yaml @@ -0,0 +1,5977 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gateway + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gateway + image: 192.168.118.14:8033/cmii/cmii-uav-gateway:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gateway + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cms + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cms + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cms + image: 192.168.118.14:8033/cmii/cmii-uav-cms:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-cms + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-cms + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cms + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cms + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-logger + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-logger + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-logger + image: 192.168.118.14:8033/cmii/cmii-uav-logger:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-logger + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-logger + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-logger + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-logger + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-autowaypoint + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-autowaypoint + image: 192.168.118.14:8033/cmii/cmii-uav-autowaypoint:4.2.0-beta + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-autowaypoint + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-autowaypoint + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-autowaypoint + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-depotautoreturn + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-depotautoreturn + image: 192.168.118.14:8033/cmii/cmii-uav-depotautoreturn:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-depotautoreturn + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-depotautoreturn + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-depotautoreturn + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-user + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-user + image: 192.168.118.14:8033/cmii/cmii-admin-user:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-admin-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-admin-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-user + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-clusters + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-clusters + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-clusters + image: 192.168.118.14:8033/cmii/cmii-uav-clusters:5.2.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-clusters + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-clusters + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-clusters + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-clusters + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cloud-live + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cloud-live + image: 192.168.118.14:8033/cmii/cmii-uav-cloud-live:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-cloud-live + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-cloud-live + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cloud-live + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-gateway + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-gateway + image: 192.168.118.14:8033/cmii/cmii-admin-gateway:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-admin-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-admin-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-gateway + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-developer + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-developer + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-developer + image: 192.168.118.14:8033/cmii/cmii-uav-developer:5.7.0-0725 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-developer + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-developer + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-developer + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-developer + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-lifecycle + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-lifecycle + image: 192.168.118.14:8033/cmii/cmii-uas-lifecycle:5.7.0-30403 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uas-lifecycle + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uas-lifecycle + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-lifecycle + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-lifecycle + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mqtthandler + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mqtthandler + image: 192.168.118.14:8033/cmii/cmii-uav-mqtthandler:5.7.0-29766-0815 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-mqtthandler + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-mqtthandler + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mqtthandler + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-emergency + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-emergency + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-emergency + image: 192.168.118.14:8033/cmii/cmii-uav-emergency:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-emergency + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-emergency + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-emergency + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-emergency + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-notice + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-notice + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-notice + image: 192.168.118.14:8033/cmii/cmii-uav-notice:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-notice + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-notice + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-notice + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-notice + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-material-warehouse + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-material-warehouse + image: 192.168.118.14:8033/cmii/cmii-uav-material-warehouse:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-material-warehouse + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-material-warehouse + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-material-warehouse + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-manage + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-manage + image: 192.168.118.14:8033/cmii/cmii-uav-grid-manage:5.1.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-grid-manage + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-grid-manage + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-manage + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-airspace + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-airspace + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-airspace + image: 192.168.118.14:8033/cmii/cmii-uav-airspace:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-airspace + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-airspace + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-airspace + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-airspace + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-data-post-process + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-data-post-process + image: 192.168.118.14:8033/cmii/cmii-uav-data-post-process:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-data-post-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-data-post-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-data-post-process + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-supervision + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-suav-supervision + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-supervision + image: 192.168.118.14:8033/cmii/cmii-suav-supervision:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-suav-supervision + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-suav-supervision + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-supervision + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-suav-supervision + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-tower + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-tower + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-tower + image: 192.168.118.14:8033/cmii/cmii-uav-tower:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-tower + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-tower + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-tower + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-tower + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-sense-adapter + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sense-adapter + image: 192.168.118.14:8033/cmii/cmii-uav-sense-adapter:5.7.0-0805 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-sense-adapter + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-sense-adapter + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sense-adapter + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-data + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-data + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-data + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-data + image: 192.168.118.14:8033/cmii/cmii-admin-data:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-admin-data + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-admin-data + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-data + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-data + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-industrial-portfolio + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-industrial-portfolio + image: 192.168.118.14:8033/cmii/cmii-uav-industrial-portfolio:5.7.0-31369-yunnan-082001 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-industrial-portfolio + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-industrial-portfolio + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-industrial-portfolio + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-datasource + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-datasource + image: 192.168.118.14:8033/cmii/cmii-uav-grid-datasource:5.2.0-24810 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-grid-datasource + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-grid-datasource + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-datasource + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-surveillance + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-surveillance + image: 192.168.118.14:8033/cmii/cmii-uav-surveillance:5.7.0-29766-0815 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-surveillance + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-surveillance + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-surveillance + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-surveillance + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gis-server + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gis-server + image: 192.168.118.14:8033/cmii/cmii-uav-gis-server:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-gis-server + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-gis-server + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gis-server + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-gis-server + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-waypoint + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-waypoint + image: 192.168.118.14:8033/cmii/cmii-uav-waypoint:5.7.0-0814 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-waypoint + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-waypoint + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-waypoint + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-waypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-open-gateway + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-open-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-open-gateway + image: 192.168.118.14:8033/cmii/cmii-open-gateway:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-open-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-open-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-open-gateway + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-open-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-alarm + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-alarm + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-alarm + image: 192.168.118.14:8033/cmii/cmii-uav-alarm:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-alarm + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-alarm + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-alarm + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-alarm + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-gateway + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-gateway + image: 192.168.118.14:8033/cmii/cmii-uas-gateway:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uas-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uas-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-gateway + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-user + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-user + image: 192.168.118.14:8033/cmii/cmii-uav-user:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-user + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-engine + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-engine + image: 192.168.118.14:8033/cmii/cmii-uav-grid-engine:5.1.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-grid-engine + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-grid-engine + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-engine + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mission + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mission + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mission + image: 192.168.118.14:8033/cmii/cmii-uav-mission:5.7.0-29766-0819 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-mission + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-mission + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mission + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mission + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-device + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-device + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-device + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-device + image: 192.168.118.14:8033/cmii/cmii-uav-device:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-device + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-device + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-device + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-device + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-integration + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-integration + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-integration + image: 192.168.118.14:8033/cmii/cmii-uav-integration:5.7.0-hw-080201 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-integration + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-integration + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-integration + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-integration + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-multilink + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-multilink + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-multilink + image: 192.168.118.14:8033/cmii/cmii-uav-multilink:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-multilink + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-multilink + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-multilink + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-multilink + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-process + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-process + image: 192.168.118.14:8033/cmii/cmii-uav-process:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-process + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-threedsimulation + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-threedsimulation + image: 192.168.118.14:8033/cmii/cmii-uav-threedsimulation:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-threedsimulation + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-threedsimulation + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-threedsimulation + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-iam-gateway + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-iam-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-iam-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-iam-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-iam-gateway + image: 192.168.118.14:8033/cmii/cmii-iam-gateway:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-iam-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-iam-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-iam-gateway + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-iam-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-iam-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-app-release + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-app-release + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-app-release + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-app-release + image: 192.168.118.14:8033/cmii/cmii-app-release:4.2.0-validation + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-app-release + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-app-release + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-app-release + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-app-release + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-brain + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-brain + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-brain + image: 192.168.118.14:8033/cmii/cmii-uav-brain:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-brain + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-brain + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-brain + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-brain + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-kpi-monitor + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-kpi-monitor + image: 192.168.118.14:8033/cmii/cmii-uav-kpi-monitor:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-kpi-monitor + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-kpi-monitor + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-kpi-monitor + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-oauth + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-oauth + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - ynejpt + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-oauth + image: 192.168.118.14:8033/cmii/cmii-uav-oauth:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-oauth + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.7.0 + - name: SYS_CONFIG_GROUP + value: 5.7.0 + - name: IMAGE_VERSION + value: 5.7.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: ynejpt/cmii-uav-oauth + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-oauth + namespace: ynejpt + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-oauth + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 diff --git a/agent-common/real_project/ynejpt/k8s-configmap.yaml b/agent-common/real_project/ynejpt/k8s-configmap.yaml new file mode 100644 index 0000000..94f5c7d --- /dev/null +++ b/agent-common/real_project/ynejpt/k8s-configmap.yaml @@ -0,0 +1,448 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-traffic + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "traffic", + AppClientId: "APP_Jc8i2wOQ1t73QEJS" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-jiangsuwenlv + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "jiangsuwenlv", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-visualization + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "visualization", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hljtt + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "hljtt", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pilot2cloud + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "pilot2cloud", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-armypeople + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "armypeople", + AppClientId: "APP_UIegse6Lfou9pO1U" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-base + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "base", + AppClientId: "APP_9LY41OaKSqk2btY0" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-threedsimulation + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "threedsimulation", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qingdao + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "qingdao", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pangu + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-detection + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "detection", + AppClientId: "APP_FDHW2VLVDWPnnOCy" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-oms + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "oms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-open + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "open", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-seniclive + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "seniclive", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-splice + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "splice", + AppClientId: "APP_zE0M3sTRXrCIJS8Y" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hyper + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "hyper", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervision + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "supervision", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-emergency + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "emergency", + AppClientId: "APP_aGsTAY1uMZrpKdfk" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-logistics + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "logistics", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-multiterminal + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "multiterminal", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-security + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "security", + AppClientId: "APP_JUSEMc7afyWXxvE7" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dispatchh5 + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "dispatchh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervisionh5 + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "supervisionh5", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-ai-brain + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "ai-brain", + AppClientId: "APP_rafnuCAmBESIVYMH" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-cmsportal + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "cmsportal", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-media + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "media", + AppClientId: "APP_4AU8lbifESQO4FD6" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-mws + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "mws", + AppClientId: "APP_uKniXPELlRERBBwK" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-share + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "share", + AppClientId: "APP_4lVSVI0ZGxTssir8" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-securityh5 + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "securityh5", + AppClientId: "APP_N3ImO0Ubfu9peRHD" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qinghaitourism + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "qinghaitourism", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uasms + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "uasms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uas + namespace: ynejpt +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.147.6.78:8088", + ApplicationShortName: "uas", + AppClientId: "empty" + } diff --git a/agent-common/real_project/ynejpt/k8s-dashboard.yaml b/agent-common/real_project/ynejpt/k8s-dashboard.yaml new file mode 100644 index 0000000..97eba28 --- /dev/null +++ b/agent-common/real_project/ynejpt/k8s-dashboard.yaml @@ -0,0 +1,309 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: kube-system + +--- + +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system + +--- + +kind: Service +apiVersion: v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + kubernetes.io/cluster-service: "true" + name: kubernetes-dashboard + namespace: kube-system +spec: + ports: + - port: 443 + targetPort: 8443 + nodePort: 39999 + selector: + k8s-app: kubernetes-dashboard + type: NodePort + +--- + +apiVersion: v1 +kind: Secret +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-certs + namespace: kube-system +type: Opaque + +--- + +apiVersion: v1 +kind: Secret +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-csrf + namespace: kube-system +type: Opaque +data: + csrf: "" + +--- + +apiVersion: v1 +kind: Secret +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-key-holder + namespace: kube-system +type: Opaque + +--- + +kind: ConfigMap +apiVersion: v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-settings + namespace: kube-system + +--- + +kind: Role +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system +rules: + # Allow Dashboard to get, update and delete Dashboard exclusive secrets. + - apiGroups: [ "" ] + resources: [ "secrets" ] + resourceNames: [ "kubernetes-dashboard-key-holder", "kubernetes-dashboard-certs", "kubernetes-dashboard-csrf" ] + verbs: [ "get", "update", "delete" ] + # Allow Dashboard to get and update 'kubernetes-dashboard-settings' config map. + - apiGroups: [ "" ] + resources: [ "configmaps" ] + resourceNames: [ "kubernetes-dashboard-settings" ] + verbs: [ "get", "update" ] + # Allow Dashboard to get metrics. + - apiGroups: [ "" ] + resources: [ "services" ] + resourceNames: [ "heapster", "dashboard-metrics-scraper" ] + verbs: [ "proxy" ] + - apiGroups: [ "" ] + resources: [ "services/proxy" ] + resourceNames: [ "heapster", "http:heapster:", "https:heapster:", "dashboard-metrics-scraper", "http:dashboard-metrics-scraper" ] + verbs: [ "get" ] + +--- + +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard +rules: + # Allow Metrics Scraper to get metrics from the Metrics server + - apiGroups: [ "metrics.k8s.io" ] + resources: [ "pods", "nodes" ] + verbs: [ "get", "list", "watch" ] + +--- + +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: kubernetes-dashboard +subjects: + - kind: ServiceAccount + name: kubernetes-dashboard + namespace: kube-system + +--- + +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: kubernetes-dashboard +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: kubernetes-dashboard +subjects: + - kind: ServiceAccount + name: kubernetes-dashboard + namespace: kube-system + +--- + +kind: Deployment +apiVersion: apps/v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system +spec: + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + k8s-app: kubernetes-dashboard + template: + metadata: + labels: + k8s-app: kubernetes-dashboard + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: kubernetes-dashboard + image: 192.168.118.14:8033/cmii/dashboard:v2.0.1 + ports: + - containerPort: 8443 + protocol: TCP + args: + - --auto-generate-certificates + - --namespace=kube-system + # Uncomment the following line to manually specify Kubernetes API server Host + # If not specified, Dashboard will attempt to auto discover the API server and connect + # to it. Uncomment only if the default does not work. + # - --apiserver-host=http://my-address:port + volumeMounts: + - name: kubernetes-dashboard-certs + mountPath: /certs + # Create on-disk volume to store exec logs + - mountPath: /tmp + name: tmp-volume + livenessProbe: + httpGet: + scheme: HTTPS + path: / + port: 8443 + initialDelaySeconds: 30 + timeoutSeconds: 30 + securityContext: + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + runAsUser: 1001 + runAsGroup: 2001 + volumes: + - name: kubernetes-dashboard-certs + secret: + secretName: kubernetes-dashboard-certs + - name: tmp-volume + emptyDir: { } + serviceAccountName: kubernetes-dashboard + # Comment the following tolerations if Dashboard must not be deployed on master + tolerations: + - key: node-role.kubernetes.io/master + effect: NoSchedule + +--- + +kind: Service +apiVersion: v1 +metadata: + labels: + k8s-app: dashboard-metrics-scraper + name: dashboard-metrics-scraper + namespace: kube-system +spec: + ports: + - port: 8000 + targetPort: 8000 + selector: + k8s-app: dashboard-metrics-scraper + +--- + +kind: Deployment +apiVersion: apps/v1 +metadata: + labels: + k8s-app: dashboard-metrics-scraper + name: dashboard-metrics-scraper + namespace: kube-system +spec: + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + k8s-app: dashboard-metrics-scraper + template: + metadata: + labels: + k8s-app: dashboard-metrics-scraper + annotations: + seccomp.security.alpha.kubernetes.io/pod: 'runtime/default' + spec: + containers: + - name: dashboard-metrics-scraper + image: 192.168.118.14:8033/cmii/metrics-scraper:v1.0.4 + ports: + - containerPort: 8000 + protocol: TCP + livenessProbe: + httpGet: + scheme: HTTP + path: / + port: 8000 + initialDelaySeconds: 30 + timeoutSeconds: 30 + volumeMounts: + - mountPath: /tmp + name: tmp-volume + securityContext: + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + runAsUser: 1001 + runAsGroup: 2001 + serviceAccountName: kubernetes-dashboard + # Comment the following tolerations if Dashboard must not be deployed on master + tolerations: + - key: node-role.kubernetes.io/master + effect: NoSchedule + volumes: + - name: tmp-volume + emptyDir: { } +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: admin-user + namespace: kube-system + +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: admin-user +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: + - kind: ServiceAccount + name: admin-user + namespace: kube-system diff --git a/agent-common/real_project/uavcloud-dev/k8s-emqx.yaml b/agent-common/real_project/ynejpt/k8s-emqx.yaml similarity index 83% rename from agent-common/real_project/uavcloud-dev/k8s-emqx.yaml rename to agent-common/real_project/ynejpt/k8s-emqx.yaml index ebdf486..59dfeaf 100644 --- a/agent-common/real_project/uavcloud-dev/k8s-emqx.yaml +++ b/agent-common/real_project/ynejpt/k8s-emqx.yaml @@ -3,20 +3,20 @@ apiVersion: v1 kind: ServiceAccount metadata: name: helm-emqxs - namespace: uavcloud-dev + namespace: ynejpt --- apiVersion: v1 kind: ConfigMap metadata: name: helm-emqxs-env - namespace: uavcloud-dev + namespace: ynejpt labels: cmii.type: middleware cmii.app: helm-emqxs cmii.emqx.architecture: cluster helm.sh/chart: emqx-1.1.0 app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 data: EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc.cluster.local:443" EMQX_NAME: "helm-emqxs" @@ -24,7 +24,7 @@ data: EMQX_CLUSTER__K8S__APP_NAME: "helm-emqxs" EMQX_CLUSTER__K8S__SERVICE_NAME: "helm-emqxs-headless" EMQX_CLUSTER__K8S__ADDRESS_TYPE: "dns" - EMQX_CLUSTER__K8S__namespace: "uavcloud-dev" + EMQX_CLUSTER__K8S__namespace: "ynejpt" EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local" EMQX_ALLOW_ANONYMOUS: "false" EMQX_ACL_NOMATCH: "deny" @@ -33,19 +33,27 @@ apiVersion: v1 kind: ConfigMap metadata: name: helm-emqxs-cm - namespace: uavcloud-dev + namespace: ynejpt labels: cmii.type: middleware cmii.app: helm-emqxs cmii.emqx.architecture: cluster helm.sh/chart: emqx-1.1.0 app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 data: - emqx_auth_username.conf: |- - auth.user.1.username = cmlc - auth.user.1.password = 4YPk*DS%+5 - auth.user.password_hash = sha256 + emqx_auth_mnesia.conf: |- + auth.mnesia.password_hash = sha256 + + # clientid 认证数据 + # auth.client.1.clientid = admin + # auth.client.1.password = 4YPk*DS%+5 + + ## username 认证数据 + auth.user.1.username = admin + auth.user.1.password = odD8#Ve7.B + auth.user.2.username = cmlc + auth.user.2.password = odD8#Ve7.B acl.conf: |- {allow, {user, "admin"}, pubsub, ["admin/#"]}. @@ -55,7 +63,8 @@ data: {allow, all}. loaded_plugins: |- - {emqx_auth_username,true}. + {emqx_auth_mnesia,true}. + {emqx_auth_mnesia,true}. {emqx_management, true}. {emqx_recon, true}. {emqx_retainer, false}. @@ -68,14 +77,14 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: helm-emqxs - namespace: uavcloud-dev + namespace: ynejpt labels: cmii.type: middleware cmii.app: helm-emqxs cmii.emqx.architecture: cluster helm.sh/chart: emqx-1.1.0 app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: replicas: 1 serviceName: helm-emqxs-headless @@ -94,7 +103,7 @@ spec: cmii.emqx.architecture: cluster helm.sh/chart: emqx-1.1.0 app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: affinity: { } imagePullSecrets: @@ -102,7 +111,7 @@ spec: serviceAccountName: helm-emqxs containers: - name: helm-emqxs - image: harbor.cdcyy.com.cn/cmii/emqx:5.5.1 + image: 192.168.118.14:8033/cmii/emqx:4.4.19 imagePullPolicy: Always ports: - name: mqtt @@ -128,8 +137,8 @@ spec: mountPath: "/opt/emqx/data/mnesia" readOnly: false - name: helm-emqxs-cm - mountPath: "/opt/emqx/etc/plugins/emqx_auth_username.conf" - subPath: emqx_auth_username.conf + mountPath: "/opt/emqx/etc/plugins/emqx_auth_mnesia.conf" + subPath: emqx_auth_mnesia.conf readOnly: false # - name: helm-emqxs-cm # mountPath: "/opt/emqx/etc/acl.conf" @@ -147,8 +156,8 @@ spec: configMap: name: helm-emqxs-cm items: - - key: emqx_auth_username.conf - path: emqx_auth_username.conf + - key: emqx_auth_mnesia.conf + path: emqx_auth_mnesia.conf - key: acl.conf path: acl.conf - key: loaded_plugins @@ -158,7 +167,7 @@ kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: name: helm-emqxs - namespace: uavcloud-dev + namespace: ynejpt rules: - apiGroups: - "" @@ -173,11 +182,11 @@ kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: helm-emqxs - namespace: uavcloud-dev + namespace: ynejpt subjects: - kind: ServiceAccount name: helm-emqxs - namespace: uavcloud-dev + namespace: ynejpt roleRef: kind: Role name: helm-emqxs @@ -187,14 +196,14 @@ apiVersion: v1 kind: Service metadata: name: helm-emqxs - namespace: uavcloud-dev + namespace: ynejpt labels: cmii.type: middleware cmii.app: helm-emqxs cmii.emqx.architecture: cluster helm.sh/chart: emqx-1.1.0 app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: NodePort selector: @@ -219,14 +228,14 @@ apiVersion: v1 kind: Service metadata: name: helm-emqxs-headless - namespace: uavcloud-dev + namespace: ynejpt labels: cmii.type: middleware cmii.app: helm-emqxs cmii.emqx.architecture: cluster helm.sh/chart: emqx-1.1.0 app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: ClusterIP clusterIP: None diff --git a/agent-common/real_project/ynejpt/k8s-frontend.yaml b/agent-common/real_project/ynejpt/k8s-frontend.yaml new file mode 100644 index 0000000..5f5bd61 --- /dev/null +++ b/agent-common/real_project/ynejpt/k8s-frontend.yaml @@ -0,0 +1,2606 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: nginx-cm + namespace: ynejpt + labels: + cmii.type: frontend +data: + nginx.conf: | + server { + listen 9528; + server_name localhost; + gzip on; + + location / { + root /home/cmii-platform/dist; + index index.html index.htm; + } + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root html; + } + } +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-mws + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-mws + image: 192.168.118.14:8033/cmii/cmii-uav-platform-mws:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-mws + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-mws + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-mws + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-security + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-security + image: 192.168.118.14:8033/cmii/cmii-uav-platform-security:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-security + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-security + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-security + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-jiangsuwenlv + image: 192.168.118.14:8033/cmii/cmii-uav-platform-jiangsuwenlv:4.1.3-jiangsu-0427 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-jiangsuwenlv + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-jiangsuwenlv + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-base + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-base + image: 192.168.118.14:8033/cmii/cmii-uav-platform-base:5.4.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-base + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-base + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-base + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-multiterminal + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-multiterminal + image: 192.168.118.14:8033/cmii/cmii-uav-platform-multiterminal:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-multiterminal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-multiterminal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-multiterminal + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-splice + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-splice + image: 192.168.118.14:8033/cmii/cmii-uav-platform-splice:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-splice + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-splice + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-splice + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-emergency-rescue + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-emergency-rescue + image: 192.168.118.14:8033/cmii/cmii-uav-platform-emergency-rescue:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-emergency-rescue + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-emergency + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-emergency-rescue + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-hljtt + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-hljtt + image: 192.168.118.14:8033/cmii/cmii-uav-platform-hljtt:5.3.0-hjltt + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-hljtt + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-hljtt + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-hljtt + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-cms-portal + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-cms-portal + image: 192.168.118.14:8033/cmii/cmii-uav-platform-cms-portal:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-cms-portal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-cmsportal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-cms-portal + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-qingdao + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qingdao + image: 192.168.118.14:8033/cmii/cmii-uav-platform-qingdao:5.7.0-29766-0815 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-qingdao + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qingdao + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qingdao + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervisionh5 + image: 192.168.118.14:8033/cmii/cmii-suav-platform-supervisionh5:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-suav-platform-supervisionh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervisionh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-platform-supervision + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervision + image: 192.168.118.14:8033/cmii/cmii-suav-platform-supervision:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-suav-platform-supervision + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervision + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervision + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-oms + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-oms + image: 192.168.118.14:8033/cmii/cmii-uav-platform-oms:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-oms + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-oms + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-oms + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-detection + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-detection + image: 192.168.118.14:8033/cmii/cmii-uav-platform-detection:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-detection + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-detection + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-detection + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-threedsimulation + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-threedsimulation + image: 192.168.118.14:8033/cmii/cmii-uav-platform-threedsimulation:5.2.0-21392 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-threedsimulation + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-threedsimulation + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-threedsimulation + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-media + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-media + image: 192.168.118.14:8033/cmii/cmii-uav-platform-media:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-media + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-media + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-media + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-securityh5 + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-securityh5 + image: 192.168.118.14:8033/cmii/cmii-uav-platform-securityh5:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-securityh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-securityh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-securityh5 + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-logistics + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-logistics + image: 192.168.118.14:8033/cmii/cmii-uav-platform-logistics:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-logistics + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-logistics + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-logistics + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-visualization + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-visualization + image: 192.168.118.14:8033/cmii/cmii-uav-platform-visualization:5.2.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-visualization + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-visualization + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-visualization + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qinghaitourism + image: 192.168.118.14:8033/cmii/cmii-uav-platform-qinghaitourism:4.1.0-21377-0508 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-qinghaitourism + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qinghaitourism + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-open + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-open + image: 192.168.118.14:8033/cmii/cmii-uav-platform-open:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-open + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-open + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-open + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-ai-brain + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-ai-brain + image: 192.168.118.14:8033/cmii/cmii-uav-platform-ai-brain:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-ai-brain + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-ai-brain + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-ai-brain + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform + image: 192.168.118.14:8033/cmii/cmii-uav-platform:5.7.0-29267-0820 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-pangu + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-share + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-share + image: 192.168.118.14:8033/cmii/cmii-uav-platform-share:5.7.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-share + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-share + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-share + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-uas + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-uas + image: 192.168.118.14:8033/cmii/cmii-uav-platform-uas:5.7.0-29322 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-uas + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-uas + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-uas + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-seniclive + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-seniclive + image: 192.168.118.14:8033/cmii/cmii-uav-platform-seniclive:5.2.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-seniclive + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-seniclive + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-seniclive + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-dispatchh5 + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-dispatchh5 + image: 192.168.118.14:8033/cmii/cmii-uav-platform-dispatchh5:5.6.0-0708 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-dispatchh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-dispatchh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-dispatchh5 + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-uasms + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-uasms + image: 192.168.118.14:8033/cmii/cmii-uav-platform-uasms:5.7.0-29322 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-uasms + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-uasms + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-uasms + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-armypeople + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.7.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-armypeople + image: 192.168.118.14:8033/cmii/cmii-uav-platform-armypeople:5.7.0-0820 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: ynejpt + - name: APPLICATION_NAME + value: cmii-uav-platform-armypeople + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-armypeople + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-armypeople + namespace: ynejpt + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.7.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 diff --git a/agent-common/real_project/ynejpt/k8s-ingress.yaml b/agent-common/real_project/ynejpt/k8s-ingress.yaml new file mode 100644 index 0000000..0762134 --- /dev/null +++ b/agent-common/real_project/ynejpt/k8s-ingress.yaml @@ -0,0 +1,624 @@ +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: frontend-applications-ingress + namespace: ynejpt + labels: + type: frontend + octopus.control: all-ingress-config-wdd + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 + annotations: + kubernetes.io/ingress.class: "nginx" + nginx.ingress.kubernetes.io/enable-cors: "true" + nginx.ingress.kubernetes.io/rewrite-target: /$1 + nginx.ingress.kubernetes.io/configuration-snippet: | + rewrite ^(/supervision)$ $1/ redirect; + rewrite ^(/supervisionh5)$ $1/ redirect; + rewrite ^(/pangu)$ $1/ redirect; + rewrite ^(/ai-brain)$ $1/ redirect; + rewrite ^(/armypeople)$ $1/ redirect; + rewrite ^(/base)$ $1/ redirect; + rewrite ^(/cmsportal)$ $1/ redirect; + rewrite ^(/detection)$ $1/ redirect; + rewrite ^(/dispatchh5)$ $1/ redirect; + rewrite ^(/emergency)$ $1/ redirect; + rewrite ^(/hljtt)$ $1/ redirect; + rewrite ^(/hyper)$ $1/ redirect; + rewrite ^(/jiangsuwenlv)$ $1/ redirect; + rewrite ^(/logistics)$ $1/ redirect; + rewrite ^(/media)$ $1/ redirect; + rewrite ^(/multiterminal)$ $1/ redirect; + rewrite ^(/mws)$ $1/ redirect; + rewrite ^(/oms)$ $1/ redirect; + rewrite ^(/open)$ $1/ redirect; + rewrite ^(/pilot2cloud)$ $1/ redirect; + rewrite ^(/qingdao)$ $1/ redirect; + rewrite ^(/qinghaitourism)$ $1/ redirect; + rewrite ^(/security)$ $1/ redirect; + rewrite ^(/securityh5)$ $1/ redirect; + rewrite ^(/seniclive)$ $1/ redirect; + rewrite ^(/share)$ $1/ redirect; + rewrite ^(/splice)$ $1/ redirect; + rewrite ^(/threedsimulation)$ $1/ redirect; + rewrite ^(/traffic)$ $1/ redirect; + rewrite ^(/uas)$ $1/ redirect; + rewrite ^(/uasms)$ $1/ redirect; + rewrite ^(/visualization)$ $1/ redirect; +spec: + rules: + - host: fake-domain.ynejpt.io + http: + paths: + - path: /?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform + servicePort: 9528 + - path: /supervision/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-suav-platform-supervision + servicePort: 9528 + - path: /supervisionh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-suav-platform-supervisionh5 + servicePort: 9528 + - path: /pangu/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform + servicePort: 9528 + - path: /ai-brain/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-ai-brain + servicePort: 9528 + - path: /armypeople/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-armypeople + servicePort: 9528 + - path: /base/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-base + servicePort: 9528 + - path: /cmsportal/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-cms-portal + servicePort: 9528 + - path: /detection/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-detection + servicePort: 9528 + - path: /dispatchh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-dispatchh5 + servicePort: 9528 + - path: /emergency/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-emergency-rescue + servicePort: 9528 + - path: /hljtt/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-hljtt + servicePort: 9528 + - path: /hyper/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-hyperspectral + servicePort: 9528 + - path: /jiangsuwenlv/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-jiangsuwenlv + servicePort: 9528 + - path: /logistics/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-logistics + servicePort: 9528 + - path: /media/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-media + servicePort: 9528 + - path: /multiterminal/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-multiterminal + servicePort: 9528 + - path: /mws/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-mws + servicePort: 9528 + - path: /oms/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-oms + servicePort: 9528 + - path: /open/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-open + servicePort: 9528 + - path: /pilot2cloud/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-pilot2-to-cloud + servicePort: 9528 + - path: /qingdao/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-qingdao + servicePort: 9528 + - path: /qinghaitourism/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-qinghaitourism + servicePort: 9528 + - path: /security/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-security + servicePort: 9528 + - path: /securityh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-securityh5 + servicePort: 9528 + - path: /seniclive/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-seniclive + servicePort: 9528 + - path: /share/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-share + servicePort: 9528 + - path: /splice/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-splice + servicePort: 9528 + - path: /threedsimulation/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-threedsimulation + servicePort: 9528 + - path: /traffic/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-traffic + servicePort: 9528 + - path: /uas/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-uas + servicePort: 9528 + - path: /uasms/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-uasms + servicePort: 9528 + - path: /visualization/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-visualization + servicePort: 9528 +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: backend-applications-ingress + namespace: ynejpt + labels: + type: backend + octopus.control: all-ingress-config-wdd + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 + annotations: + kubernetes.io/ingress.class: "nginx" + nginx.ingress.kubernetes.io/enable-cors: "true" +spec: + rules: + - host: cmii-admin-data.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-data + servicePort: 8080 + - host: cmii-admin-gateway.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-gateway + servicePort: 8080 + - host: cmii-admin-user.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-user + servicePort: 8080 + - host: cmii-app-release.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-app-release + servicePort: 8080 + - host: cmii-open-gateway.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-open-gateway + servicePort: 8080 + - host: cmii-suav-supervision.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-suav-supervision + servicePort: 8080 + - host: cmii-uas-gateway.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-gateway + servicePort: 8080 + - host: cmii-uas-lifecycle.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-lifecycle + servicePort: 8080 + - host: cmii-uav-airspace.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-airspace + servicePort: 8080 + - host: cmii-uav-alarm.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-alarm + servicePort: 8080 + - host: cmii-uav-autowaypoint.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-autowaypoint + servicePort: 8080 + - host: cmii-uav-brain.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-brain + servicePort: 8080 + - host: cmii-uav-bridge.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-bridge + servicePort: 8080 + - host: cmii-uav-cloud-live.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-cloud-live + servicePort: 8080 + - host: cmii-uav-clusters.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-clusters + servicePort: 8080 + - host: cmii-uav-cms.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-cms + servicePort: 8080 + - host: cmii-uav-data-post-process.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-data-post-process + servicePort: 8080 + - host: cmii-uav-depotautoreturn.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-depotautoreturn + servicePort: 8080 + - host: cmii-uav-developer.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-developer + servicePort: 8080 + - host: cmii-uav-device.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-device + servicePort: 8080 + - host: cmii-uav-emergency.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-emergency + servicePort: 8080 + - host: cmii-uav-gateway.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gateway + servicePort: 8080 + - host: cmii-uav-gis-server.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gis-server + servicePort: 8080 + - host: cmii-uav-grid-datasource.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-datasource + servicePort: 8080 + - host: cmii-uav-grid-engine.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-engine + servicePort: 8080 + - host: cmii-uav-grid-manage.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-manage + servicePort: 8080 + - host: cmii-uav-industrial-portfolio.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-industrial-portfolio + servicePort: 8080 + - host: cmii-uav-integration.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-integration + servicePort: 8080 + - host: cmii-uav-kpi-monitor.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-kpi-monitor + servicePort: 8080 + - host: cmii-uav-logger.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-logger + servicePort: 8080 + - host: cmii-uav-material-warehouse.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-material-warehouse + servicePort: 8080 + - host: cmii-uav-mission.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-mission + servicePort: 8080 + - host: cmii-uav-mqtthandler.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-mqtthandler + servicePort: 8080 + - host: cmii-uav-multilink.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-multilink + servicePort: 8080 + - host: cmii-uav-notice.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-notice + servicePort: 8080 + - host: cmii-uav-oauth.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-oauth + servicePort: 8080 + - host: cmii-uav-process.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-process + servicePort: 8080 + - host: cmii-uav-sense-adapter.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sense-adapter + servicePort: 8080 + - host: cmii-uav-surveillance.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-surveillance + servicePort: 8080 + - host: cmii-uav-sync.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sync + servicePort: 8080 + - host: cmii-uav-threedsimulation.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-threedsimulation + servicePort: 8080 + - host: cmii-uav-tower.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-tower + servicePort: 8080 + - host: cmii-uav-user.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-user + servicePort: 8080 + - host: cmii-uav-waypoint.uavcloud-ynejpt.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-waypoint + servicePort: 8080 +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: all-gateways-ingress + namespace: ynejpt + labels: + type: api-gateway + octopus.control: all-ingress-config-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 5.7.0 + annotations: + kubernetes.io/ingress.class: "nginx" + nginx.ingress.kubernetes.io/enable-cors: "true" + nginx.ingress.kubernetes.io/rewrite-target: /$1 + nginx.ingress.kubernetes.io/configuration-snippet: | + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; +spec: + rules: + - host: fake-domain.ynejpt.io + http: + paths: + - path: /oms/api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-gateway + servicePort: 8080 + - path: /open/api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-open-gateway + servicePort: 8080 + - path: /api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gateway + servicePort: 8080 diff --git a/agent-common/real_project/uavcloud-dev/k8s-mongo.yaml b/agent-common/real_project/ynejpt/k8s-mongo.yaml similarity index 85% rename from agent-common/real_project/uavcloud-dev/k8s-mongo.yaml rename to agent-common/real_project/ynejpt/k8s-mongo.yaml index b99f71f..4d13529 100644 --- a/agent-common/real_project/uavcloud-dev/k8s-mongo.yaml +++ b/agent-common/real_project/ynejpt/k8s-mongo.yaml @@ -3,15 +3,15 @@ apiVersion: v1 kind: Service metadata: name: helm-mongo - namespace: uavcloud-dev + namespace: ynejpt labels: cmii.app: helm-mongo cmii.type: middleware helm.sh/chart: mongo-1.1.0 app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: - type: ClusterIP + type: NodePort selector: cmii.app: helm-mongo cmii.type: middleware @@ -19,18 +19,19 @@ spec: - port: 27017 name: server-27017 targetPort: 27017 + nodePort: 37017 --- apiVersion: apps/v1 kind: StatefulSet metadata: name: helm-mongo - namespace: uavcloud-dev + namespace: ynejpt labels: cmii.app: helm-mongo cmii.type: middleware helm.sh/chart: mongo-1.1.0 app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: serviceName: helm-mongo replicas: 1 @@ -45,7 +46,7 @@ spec: cmii.type: middleware helm.sh/chart: mongo-1.1.0 app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 annotations: pod.alpha.kubernetes.io/initialized: "true" spec: @@ -54,7 +55,7 @@ spec: affinity: { } containers: - name: helm-mongo - image: harbor.cdcyy.com.cn/cmii/mongo:5.0 + image: 192.168.118.14:8033/cmii/mongo:5.0 resources: { } ports: - containerPort: 27017 @@ -64,7 +65,7 @@ spec: - name: MONGO_INITDB_ROOT_USERNAME value: cmlc - name: MONGO_INITDB_ROOT_PASSWORD - value: 7(#dD3zcz8 + value: REdPza8#oVlt volumeMounts: - name: mongo-data mountPath: /data/db diff --git a/agent-common/real_project/uavcloud-dev/k8s-mysql.yaml b/agent-common/real_project/ynejpt/k8s-mysql.yaml similarity index 91% rename from agent-common/real_project/uavcloud-dev/k8s-mysql.yaml rename to agent-common/real_project/ynejpt/k8s-mysql.yaml index df2367c..5bca9a9 100644 --- a/agent-common/real_project/uavcloud-dev/k8s-mysql.yaml +++ b/agent-common/real_project/ynejpt/k8s-mysql.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: ServiceAccount metadata: name: helm-mysql - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: mysql-db octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus annotations: { } secrets: @@ -17,26 +17,26 @@ apiVersion: v1 kind: Secret metadata: name: helm-mysql - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: mysql-db octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus type: Opaque data: - mysql-root-password: "R3d1YmM2Q3hSTQ==" + mysql-root-password: "UXpmWFFoZDNiUQ==" mysql-password: "S0F0cm5PckFKNw==" --- apiVersion: v1 kind: ConfigMap metadata: name: helm-mysql - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: mysql-db octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus app.kubernetes.io/component: primary data: @@ -152,11 +152,11 @@ apiVersion: v1 kind: ConfigMap metadata: name: helm-mysql-init-scripts - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: mysql-db octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus app.kubernetes.io/component: primary data: @@ -169,7 +169,7 @@ data: grant all on *.* to zyly_qc@'%'; create - user k8s_admin@'%' identified by 'VFJncwy58^Zm'; + user k8s_admin@'%' identified by 'fP#UaH6qQ3)8'; grant all on *.* to k8s_admin@'%'; create @@ -192,12 +192,12 @@ kind: Service apiVersion: v1 metadata: name: cmii-mysql - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/component: primary app.kubernetes.io/managed-by: octopus app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt cmii.app: mysql cmii.type: middleware octopus.control: mysql-db-wdd @@ -210,7 +210,7 @@ spec: selector: app.kubernetes.io/component: primary app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt cmii.app: mysql cmii.type: middleware type: ClusterIP @@ -219,11 +219,11 @@ apiVersion: v1 kind: Service metadata: name: helm-mysql-headless - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: mysql-db octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus cmii.type: middleware cmii.app: mysql @@ -239,7 +239,7 @@ spec: targetPort: mysql selector: app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt cmii.type: middleware cmii.app: mysql app.kubernetes.io/component: primary @@ -248,11 +248,11 @@ apiVersion: v1 kind: Service metadata: name: helm-mysql - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: mysql-db octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus cmii.type: middleware cmii.app: mysql @@ -268,7 +268,7 @@ spec: nodePort: 33306 selector: app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt cmii.type: middleware cmii.app: mysql app.kubernetes.io/component: primary @@ -277,11 +277,11 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: helm-mysql - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: mysql-db octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus cmii.type: middleware cmii.app: mysql @@ -291,7 +291,7 @@ spec: selector: matchLabels: app.kubernetes.io/name: mysql-db - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt cmii.type: middleware cmii.app: mysql app.kubernetes.io/component: primary @@ -305,7 +305,7 @@ spec: labels: app.kubernetes.io/name: mysql-db octopus.control: mysql-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus cmii.type: middleware cmii.app: mysql @@ -321,7 +321,7 @@ spec: fsGroup: 1001 initContainers: - name: change-volume-permissions - image: harbor.cdcyy.com.cn/cmii/bitnami-shell:11-debian-11-r136 + image: 192.168.118.14:8033/cmii/bitnami-shell:11-debian-11-r136 imagePullPolicy: "Always" command: - /bin/bash @@ -335,7 +335,7 @@ spec: mountPath: /bitnami/mysql containers: - name: mysql - image: harbor.cdcyy.com.cn/cmii/mysql:8.1.0-debian-11-r42 + image: 192.168.118.14:8033/cmii/mysql:8.1.0-debian-11-r42 imagePullPolicy: "IfNotPresent" securityContext: runAsUser: 1001 @@ -420,4 +420,4 @@ spec: name: helm-mysql-init-scripts - name: mysql-data hostPath: - path: /var/lib/docker/mysql-pv/uavcloud-dev/ + path: /var/lib/docker/mysql-pv/ynejpt/ diff --git a/agent-common/real_project/uavcloud-dev/k8s-nacos.yaml b/agent-common/real_project/ynejpt/k8s-nacos.yaml similarity index 89% rename from agent-common/real_project/uavcloud-dev/k8s-nacos.yaml rename to agent-common/real_project/ynejpt/k8s-nacos.yaml index be2abf4..b601097 100644 --- a/agent-common/real_project/uavcloud-dev/k8s-nacos.yaml +++ b/agent-common/real_project/ynejpt/k8s-nacos.yaml @@ -3,31 +3,31 @@ apiVersion: v1 kind: ConfigMap metadata: name: helm-nacos-cm - namespace: uavcloud-dev + namespace: ynejpt labels: cmii.app: helm-nacos cmii.type: middleware octopus.control: nacos-wdd app.kubernetes.io/managed-by: Helm - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 data: mysql.db.name: "cmii_nacos_config" mysql.db.host: "helm-mysql" mysql.port: "3306" mysql.user: "k8s_admin" - mysql.password: "VFJncwy58^Zm" + mysql.password: "fP#UaH6qQ3)8" --- apiVersion: v1 kind: Service metadata: name: helm-nacos - namespace: uavcloud-dev + namespace: ynejpt labels: cmii.app: helm-nacos cmii.type: middleware octopus.control: nacos-wdd app.kubernetes.io/managed-by: Helm - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: type: NodePort selector: @@ -37,7 +37,7 @@ spec: - port: 8848 name: server targetPort: 8848 - nodePort: 33848 + nodePort: 38848 - port: 9848 name: server12 targetPort: 9848 @@ -49,13 +49,13 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: helm-nacos - namespace: uavcloud-dev + namespace: ynejpt labels: cmii.app: helm-nacos cmii.type: middleware octopus.control: nacos-wdd app.kubernetes.io/managed-by: Helm - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: serviceName: helm-nacos replicas: 1 @@ -70,7 +70,7 @@ spec: cmii.type: middleware octopus.control: nacos-wdd app.kubernetes.io/managed-by: octopus - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 annotations: pod.alpha.kubernetes.io/initialized: "true" spec: @@ -79,7 +79,7 @@ spec: affinity: { } containers: - name: nacos-server - image: harbor.cdcyy.com.cn/cmii/nacos-server:v2.1.2 + image: 192.168.118.14:8033/cmii/nacos-server:v2.1.2 ports: - containerPort: 8848 name: dashboard diff --git a/agent-common/real_project/ynejpt/k8s-nfs-test.yaml b/agent-common/real_project/ynejpt/k8s-nfs-test.yaml new file mode 100644 index 0000000..dcc694a --- /dev/null +++ b/agent-common/real_project/ynejpt/k8s-nfs-test.yaml @@ -0,0 +1,38 @@ +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: test-claim + annotations: + volume.beta.kubernetes.io/storage-class: "nfs-prod-distribute" #与nfs-StorageClass.yaml metadata.name保持一致 +spec: + accessModes: + - ReadWriteOnce + storageClassName: nfs-prod-distribute + resources: + requests: + storage: 1Mi +--- +kind: Pod +apiVersion: v1 +metadata: + name: test-pod +spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: test-pod + image: 192.168.118.14:8033/cmii/busybox:latest + command: + - "/bin/sh" + args: + - "-c" + - "touch /mnt/NFS-CREATE-SUCCESS && exit 0 || exit 1" #创建一个SUCCESS文件后退出 + volumeMounts: + - name: nfs-pvc + mountPath: "/mnt" + restartPolicy: "Never" + volumes: + - name: nfs-pvc + persistentVolumeClaim: + claimName: test-claim #与PVC名称保持一致 diff --git a/agent-common/real_project/ynejpt/k8s-nfs.yaml b/agent-common/real_project/ynejpt/k8s-nfs.yaml new file mode 100644 index 0000000..2c504da --- /dev/null +++ b/agent-common/real_project/ynejpt/k8s-nfs.yaml @@ -0,0 +1,114 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system #根据实际环境设定namespace,下面类同 +--- +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: nfs-client-provisioner-runner +rules: + - apiGroups: [ "" ] + resources: [ "persistentvolumes" ] + verbs: [ "get", "list", "watch", "create", "delete" ] + - apiGroups: [ "" ] + resources: [ "persistentvolumeclaims" ] + verbs: [ "get", "list", "watch", "update" ] + - apiGroups: [ "storage.k8s.io" ] + resources: [ "storageclasses" ] + verbs: [ "get", "list", "watch" ] + - apiGroups: [ "" ] + resources: [ "events" ] + verbs: [ "create", "update", "patch" ] +--- +kind: ClusterRoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: run-nfs-client-provisioner +subjects: + - kind: ServiceAccount + name: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system +roleRef: + kind: ClusterRole + # name: nfs-client-provisioner-runner + name: cluster-admin + apiGroup: rbac.authorization.k8s.io +--- +kind: Role +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: leader-locking-nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system +rules: + - apiGroups: [ "" ] + resources: [ "endpoints" ] + verbs: [ "get", "list", "watch", "create", "update", "patch" ] +--- +kind: RoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: leader-locking-nfs-client-provisioner +subjects: + - kind: ServiceAccount + name: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system +roleRef: + kind: Role + name: leader-locking-nfs-client-provisioner + apiGroup: rbac.authorization.k8s.io + +--- +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: nfs-prod-distribute +provisioner: cmlc-nfs-storage #这里的名称要和provisioner配置文件中的环境变量PROVISIONER_NAME保持一致parameters: archiveOnDelete: "false" +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nfs-client-provisioner + labels: + app: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system #与RBAC文件中的namespace保持一致 +spec: + replicas: 1 + selector: + matchLabels: + app: nfs-client-provisioner + strategy: + type: Recreate + template: + metadata: + labels: + app: nfs-client-provisioner + spec: + imagePullSecrets: + - name: harborsecret + serviceAccountName: nfs-client-provisioner + containers: + - name: nfs-client-provisioner + image: 192.168.118.14:8033/cmii/nfs-subdir-external-provisioner:v4.0.2 + volumeMounts: + - name: nfs-client-root + mountPath: /persistentvolumes + env: + - name: PROVISIONER_NAME + value: cmlc-nfs-storage + - name: NFS_SERVER + value: 192.168.118.15 + - name: NFS_PATH + value: /var/lib/docker/nfs_data + volumes: + - name: nfs-client-root + nfs: + server: 192.168.118.15 + path: /var/lib/docker/nfs_data diff --git a/agent-common/real_project/uavcloud-dev/k8s-pvc.yaml b/agent-common/real_project/ynejpt/k8s-pvc.yaml similarity index 84% rename from agent-common/real_project/uavcloud-dev/k8s-pvc.yaml rename to agent-common/real_project/ynejpt/k8s-pvc.yaml index 7773e3c..9ab1cbe 100644 --- a/agent-common/real_project/uavcloud-dev/k8s-pvc.yaml +++ b/agent-common/real_project/ynejpt/k8s-pvc.yaml @@ -3,12 +3,12 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: nfs-backend-log-pvc - namespace: uavcloud-dev + namespace: ynejpt labels: cmii.type: middleware-base cmii.app: nfs-backend-log-pvc helm.sh/chart: all-persistence-volume-claims-1.1.0 - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: storageClassName: nfs-prod-distribute accessModes: @@ -22,12 +22,12 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: helm-emqxs - namespace: uavcloud-dev + namespace: ynejpt labels: cmii.type: middleware-base cmii.app: helm-emqxs helm.sh/chart: all-persistence-volume-claims-1.1.0 - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: storageClassName: nfs-prod-distribute accessModes: @@ -41,12 +41,12 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: helm-mongo - namespace: uavcloud-dev + namespace: ynejpt labels: cmii.type: middleware-base cmii.app: helm-mongo helm.sh/chart: all-persistence-volume-claims-1.1.0 - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: storageClassName: nfs-prod-distribute accessModes: @@ -60,12 +60,12 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: helm-rabbitmq - namespace: uavcloud-dev + namespace: ynejpt labels: cmii.type: middleware-base cmii.app: helm-rabbitmq helm.sh/chart: all-persistence-volume-claims-1.1.0 - app.kubernetes.io/version: 5.6.0 + app.kubernetes.io/version: 5.7.0 spec: storageClassName: nfs-prod-distribute accessModes: diff --git a/agent-common/real_project/uavcloud-dev/k8s-rabbitmq.yaml b/agent-common/real_project/ynejpt/k8s-rabbitmq.yaml similarity index 90% rename from agent-common/real_project/uavcloud-dev/k8s-rabbitmq.yaml rename to agent-common/real_project/ynejpt/k8s-rabbitmq.yaml index b66e2f2..2fffc73 100644 --- a/agent-common/real_project/uavcloud-dev/k8s-rabbitmq.yaml +++ b/agent-common/real_project/ynejpt/k8s-rabbitmq.yaml @@ -3,11 +3,11 @@ apiVersion: v1 kind: ServiceAccount metadata: name: helm-rabbitmq - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: helm-rabbitmq helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: rabbitmq automountServiceAccountToken: true secrets: @@ -17,33 +17,33 @@ apiVersion: v1 kind: Secret metadata: name: helm-rabbitmq - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: helm-rabbitmq helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: rabbitmq type: Opaque data: - rabbitmq-password: "N3YmNyN3MWVmKVQt" + rabbitmq-password: "blljUk45MXIuX2hq" rabbitmq-erlang-cookie: "emFBRmt1ZU1xMkJieXZvdHRYbWpoWk52UThuVXFzcTU=" --- apiVersion: v1 kind: ConfigMap metadata: name: helm-rabbitmq-config - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: helm-rabbitmq helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: rabbitmq data: rabbitmq.conf: |- ## Username and password ## default_user = admin - default_pass = 7v&7#w1ef)T- + default_pass = nYcRN91r._hj ## Clustering ## cluster_formation.peer_discovery_backend = rabbit_peer_discovery_k8s @@ -63,11 +63,11 @@ kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: name: helm-rabbitmq-endpoint-reader - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: helm-rabbitmq helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: rabbitmq rules: - apiGroups: [ "" ] @@ -81,11 +81,11 @@ kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: helm-rabbitmq-endpoint-reader - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: helm-rabbitmq helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: rabbitmq subjects: - kind: ServiceAccount @@ -99,11 +99,11 @@ apiVersion: v1 kind: Service metadata: name: helm-rabbitmq-headless - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: helm-rabbitmq helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: rabbitmq spec: clusterIP: None @@ -122,18 +122,18 @@ spec: targetPort: stats selector: app.kubernetes.io/name: helm-rabbitmq - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt publishNotReadyAddresses: true --- apiVersion: v1 kind: Service metadata: name: helm-rabbitmq - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: helm-rabbitmq helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: rabbitmq spec: type: NodePort @@ -148,17 +148,17 @@ spec: nodePort: 36675 selector: app.kubernetes.io/name: helm-rabbitmq - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt --- apiVersion: apps/v1 kind: StatefulSet metadata: name: helm-rabbitmq - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: helm-rabbitmq helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: rabbitmq spec: serviceName: helm-rabbitmq-headless @@ -169,13 +169,13 @@ spec: selector: matchLabels: app.kubernetes.io/name: helm-rabbitmq - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt template: metadata: labels: app.kubernetes.io/name: helm-rabbitmq helm.sh/chart: rabbitmq-8.26.1 - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: rabbitmq annotations: checksum/config: d6c2caa9572f64a06d9f7daa34c664a186b4778cd1697ef8e59663152fc628f1 @@ -191,7 +191,7 @@ spec: terminationGracePeriodSeconds: 120 initContainers: - name: volume-permissions - image: harbor.cdcyy.com.cn/cmii/bitnami-shell:11-debian-11-r136 + image: 192.168.118.14:8033/cmii/bitnami-shell:11-debian-11-r136 imagePullPolicy: "Always" command: - /bin/bash @@ -210,7 +210,7 @@ spec: mountPath: /bitnami/rabbitmq/mnesia containers: - name: rabbitmq - image: harbor.cdcyy.com.cn/cmii/rabbitmq:3.9.12-debian-10-r3 + image: 192.168.118.14:8033/cmii/rabbitmq:3.9.12-debian-10-r3 imagePullPolicy: "Always" env: - name: BITNAMI_DEBUG diff --git a/agent-common/real_project/uavcloud-dev/k8s-redis.yaml b/agent-common/real_project/ynejpt/k8s-redis.yaml similarity index 92% rename from agent-common/real_project/uavcloud-dev/k8s-redis.yaml rename to agent-common/real_project/ynejpt/k8s-redis.yaml index fd93071..08ee5b9 100644 --- a/agent-common/real_project/uavcloud-dev/k8s-redis.yaml +++ b/agent-common/real_project/ynejpt/k8s-redis.yaml @@ -4,22 +4,22 @@ kind: ServiceAccount automountServiceAccountToken: true metadata: name: helm-redis - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: redis-db octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus --- apiVersion: v1 kind: Secret metadata: name: helm-redis - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: redis-db octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus type: Opaque data: @@ -29,11 +29,11 @@ apiVersion: v1 kind: ConfigMap metadata: name: helm-redis-configuration - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: redis-db octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus data: redis.conf: |- @@ -62,11 +62,11 @@ apiVersion: v1 kind: ConfigMap metadata: name: helm-redis-health - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: redis-db octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus data: ping_readiness_local.sh: |- @@ -151,11 +151,11 @@ apiVersion: v1 kind: ConfigMap metadata: name: helm-redis-scripts - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: redis-db octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus data: start-master.sh: | @@ -183,7 +183,7 @@ data: port_var=$(echo "${hostname^^}_SERVICE_PORT_$type" | sed "s/-/_/g") port=${!port_var} - + if [ -z "$port" ]; then case $type in "SENTINEL") @@ -230,11 +230,11 @@ apiVersion: v1 kind: Service metadata: name: helm-redis-headless - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: redis-db octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus spec: type: ClusterIP @@ -245,18 +245,18 @@ spec: targetPort: redis selector: app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt --- # Source: outside-deploy/charts/redis-db/templates/master/service.yaml apiVersion: v1 kind: Service metadata: name: helm-redis-master - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: redis-db octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus cmii.type: middleware cmii.app: redis @@ -271,7 +271,7 @@ spec: nodePort: null selector: app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt cmii.type: middleware cmii.app: redis app.kubernetes.io/component: master @@ -281,11 +281,11 @@ apiVersion: v1 kind: Service metadata: name: helm-redis-replicas - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: redis-db octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus app.kubernetes.io/component: replica spec: @@ -297,7 +297,7 @@ spec: nodePort: null selector: app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/component: replica --- # Source: outside-deploy/charts/redis-db/templates/master/statefulset.yaml @@ -305,11 +305,11 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: helm-redis-master - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: redis-db octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus cmii.type: middleware cmii.app: redis @@ -319,7 +319,7 @@ spec: selector: matchLabels: app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt cmii.type: middleware cmii.app: redis app.kubernetes.io/component: master @@ -332,7 +332,7 @@ spec: labels: app.kubernetes.io/name: redis-db octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus cmii.type: middleware cmii.app: redis @@ -352,7 +352,7 @@ spec: terminationGracePeriodSeconds: 30 containers: - name: redis - image: harbor.cdcyy.com.cn/cmii/redis:6.2.6-debian-10-r0 + image: 192.168.118.14:8033/cmii/redis:6.2.6-debian-10-r0 imagePullPolicy: "Always" securityContext: runAsUser: 1001 @@ -408,8 +408,8 @@ spec: cpu: "2" memory: 8Gi requests: - cpu: "100m" - memory: 1Gi + cpu: "2" + memory: 8Gi volumeMounts: - name: start-scripts mountPath: /opt/bitnami/scripts/start-scripts @@ -448,11 +448,11 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: helm-redis-replicas - namespace: uavcloud-dev + namespace: ynejpt labels: app.kubernetes.io/name: redis-db octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus app.kubernetes.io/component: replica spec: @@ -460,7 +460,7 @@ spec: selector: matchLabels: app.kubernetes.io/name: redis-db - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/component: replica serviceName: helm-redis-headless updateStrategy: @@ -471,7 +471,7 @@ spec: labels: app.kubernetes.io/name: redis-db octopus.control: redis-db-wdd - app.kubernetes.io/release: uavcloud-dev + app.kubernetes.io/release: ynejpt app.kubernetes.io/managed-by: octopus app.kubernetes.io/component: replica annotations: @@ -488,7 +488,7 @@ spec: terminationGracePeriodSeconds: 30 containers: - name: redis - image: harbor.cdcyy.com.cn/cmii/redis:6.2.6-debian-10-r0 + image: 192.168.118.14:8033/cmii/redis:6.2.6-debian-10-r0 imagePullPolicy: "Always" securityContext: runAsUser: 1001 @@ -503,7 +503,7 @@ spec: - name: REDIS_REPLICATION_MODE value: slave - name: REDIS_MASTER_HOST - value: helm-redis-master-0.helm-redis-headless.uavcloud-dev.svc.cluster.local + value: helm-redis-master-0.helm-redis-headless.ynejpt.svc.cluster.local - name: REDIS_MASTER_PORT_NUMBER value: "6379" - name: ALLOW_EMPTY_PASSWORD @@ -552,8 +552,8 @@ spec: cpu: "2" memory: 8Gi requests: - cpu: "100m" - memory: 1Gi + cpu: "2" + memory: 8Gi volumeMounts: - name: start-scripts mountPath: /opt/bitnami/scripts/start-scripts diff --git a/agent-common/real_project/ynejpt/k8s-srs.yaml b/agent-common/real_project/ynejpt/k8s-srs.yaml new file mode 100644 index 0000000..86fdbeb --- /dev/null +++ b/agent-common/real_project/ynejpt/k8s-srs.yaml @@ -0,0 +1,496 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: helm-live-srs-cm + namespace: ynejpt + labels: + cmii.app: live-srs + cmii.type: live + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + helm.sh/chart: cmlc-live-srs-rtc-2.0.0 +data: + srs.rtc.conf: |- + listen 31935; + max_connections 4096; + srs_log_tank console; + srs_log_level info; + srs_log_file /home/srs.log; + daemon off; + http_api { + enabled on; + listen 1985; + crossdomain on; + } + stats { + network 0; + } + http_server { + enabled on; + listen 8080; + dir /home/hls; + } + srt_server { + enabled on; + listen 30556; + maxbw 1000000000; + connect_timeout 4000; + peerlatency 600; + recvlatency 600; + } + rtc_server { + enabled on; + listen 30090; + candidate $CANDIDATE; + } + vhost __defaultVhost__ { + http_hooks { + enabled on; + on_publish http://helm-live-op-svc-v2:8080/hooks/on_push; + } + http_remux { + enabled on; + } + rtc { + enabled on; + rtmp_to_rtc on; + rtc_to_rtmp on; + keep_bframe off; + } + tcp_nodelay on; + min_latency on; + play { + gop_cache off; + mw_latency 100; + mw_msgs 10; + } + publish { + firstpkt_timeout 8000; + normal_timeout 4000; + mr on; + } + dvr { + enabled off; + dvr_path /home/dvr/[app]/[stream]/[2006][01]/[timestamp].mp4; + dvr_plan session; + } + hls { + enabled on; + hls_path /home/hls; + hls_fragment 10; + hls_window 60; + hls_m3u8_file [app]/[stream].m3u8; + hls_ts_file [app]/[stream]/[2006][01][02]/[timestamp]-[duration].ts; + hls_cleanup on; + hls_entry_prefix http://36.147.6.78:8088; + } + } +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srs-svc-exporter + namespace: ynejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: rtmp + protocol: TCP + port: 30935 + targetPort: 30935 + nodePort: 31935 + - name: rtc + protocol: UDP + port: 30090 + targetPort: 30090 + nodePort: 30090 + - name: rtc-tcp + protocol: TCP + port: 30090 + targetPort: 30090 + nodePort: 30090 + - name: srt + protocol: UDP + port: 30556 + targetPort: 30556 + nodePort: 30556 + - name: api + protocol: TCP + port: 1985 + targetPort: 1985 + nodePort: 30080 + selector: + srs-role: rtc + type: NodePort + sessionAffinity: None + externalTrafficPolicy: Cluster + +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srs-svc + namespace: ynejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: http + protocol: TCP + port: 8080 + targetPort: 8080 + - name: api + protocol: TCP + port: 1985 + targetPort: 1985 + selector: + srs-role: rtc + type: ClusterIP + sessionAffinity: None + +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srsrtc-svc + namespace: ynejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: rtmp + protocol: TCP + port: 30935 + targetPort: 30935 + selector: + srs-role: rtc + type: ClusterIP + sessionAffinity: None + +--- +kind: StatefulSet +apiVersion: apps/v1 +metadata: + name: helm-live-srs-rtc + namespace: ynejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + cmii.app: live-srs + cmii.type: live + helm.sh/chart: cmlc-live-srs-rtc-2.0.0 + srs-role: rtc +spec: + replicas: 1 + selector: + matchLabels: + srs-role: rtc + template: + metadata: + labels: + srs-role: rtc + spec: + volumes: + - name: srs-conf-file + configMap: + name: helm-live-srs-cm + items: + - key: srs.rtc.conf + path: docker.conf + defaultMode: 420 + - name: srs-vol + emptyDir: + sizeLimit: 8Gi + containers: + - name: srs-rtc + image: 192.168.118.14:8033/cmii/srs:v5.0.195 + ports: + - name: srs-rtmp + containerPort: 30935 + protocol: TCP + - name: srs-api + containerPort: 1985 + protocol: TCP + - name: srs-flv + containerPort: 8080 + protocol: TCP + - name: srs-webrtc + containerPort: 30090 + protocol: UDP + - name: srs-webrtc-tcp + containerPort: 30090 + protocol: TCP + - name: srs-srt + containerPort: 30556 + protocol: UDP + env: + - name: CANDIDATE + value: 36.147.6.78 + resources: + limits: + cpu: 2000m + memory: 4Gi + requests: + cpu: 100m + memory: 256Mi + volumeMounts: + - name: srs-conf-file + mountPath: /usr/local/srs/conf/docker.conf + subPath: docker.conf + - name: srs-vol + mountPath: /home/dvr + subPath: ynejpt/helm-live/dvr + - name: srs-vol + mountPath: /home/hls + subPath: ynejpt/helm-live/hls + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + - name: oss-adaptor + image: 192.168.118.14:8033/cmii/cmii-srs-oss-adaptor:2023-SA + env: + - name: OSS_ENDPOINT + value: 'http://192.168.118.15:9000' + - name: OSS_AK + value: cmii + - name: OSS_SK + value: 'B#923fC7mk' + - name: OSS_BUCKET + value: live-cluster-hls + - name: SRS_OP + value: 'http://helm-live-op-svc-v2:8080' + - name: MYSQL_ENDPOINT + value: 'helm-mysql:3306' + - name: MYSQL_USERNAME + value: k8s_admin + - name: MYSQL_PASSWORD + value: fP#UaH6qQ3)8 + - name: MYSQL_DATABASE + value: cmii_live_srs_op + - name: MYSQL_TABLE + value: live_segment + - name: LOG_LEVEL + value: info + - name: OSS_META + value: 'yes' + resources: + limits: + cpu: 2000m + memory: 4Gi + requests: + cpu: 100m + memory: 256Mi + volumeMounts: + - name: srs-vol + mountPath: /cmii/share/hls + subPath: ynejpt/helm-live/hls + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + restartPolicy: Always + terminationGracePeriodSeconds: 30 + dnsPolicy: ClusterFirst + securityContext: { } + imagePullSecrets: + - name: harborsecret + affinity: { } + schedulerName: default-scheduler + serviceName: helm-live-srsrtc-svc + podManagementPolicy: OrderedReady + updateStrategy: + type: RollingUpdate + rollingUpdate: + partition: 0 + revisionHistoryLimit: 10 +--- +# live-srs部分 +--- +kind: Deployment +apiVersion: apps/v1 +metadata: + name: helm-live-op-v2 + namespace: ynejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + cmii.app: live-engine + cmii.type: live + helm.sh/chart: cmlc-live-live-op-2.0.0 + live-role: op-v2 +spec: + replicas: 1 + selector: + matchLabels: + live-role: op-v2 + template: + metadata: + labels: + live-role: op-v2 + spec: + volumes: + - name: srs-conf-file + configMap: + name: helm-live-op-cm-v2 + items: + - key: live.op.conf + path: bootstrap.yaml + defaultMode: 420 + containers: + - name: helm-live-op-v2 + image: 192.168.118.14:8033/cmii/cmii-live-operator:5.2.0 + ports: + - name: operator + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: 4800m + memory: 4Gi + requests: + cpu: 100m + memory: 256Mi + volumeMounts: + - name: srs-conf-file + mountPath: /cmii/bootstrap.yaml + subPath: bootstrap.yaml + livenessProbe: + httpGet: + path: /cmii/health + port: 8080 + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: 8080 + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + restartPolicy: Always + terminationGracePeriodSeconds: 30 + dnsPolicy: ClusterFirst + securityContext: { } + imagePullSecrets: + - name: harborsecret + affinity: { } + schedulerName: default-scheduler + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-op-svc-v2 + namespace: ynejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - protocol: TCP + port: 8080 + targetPort: 8080 + nodePort: 30333 + selector: + live-role: op-v2 + type: NodePort + sessionAffinity: None +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-op-svc + namespace: ynejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - protocol: TCP + port: 8080 + targetPort: 8080 + selector: + live-role: op + type: ClusterIP + sessionAffinity: None +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: helm-live-op-cm-v2 + namespace: ynejpt + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus + cmii.app: live-engine + cmii.type: live +data: + live.op.conf: |- + server: + port: 8080 + spring: + main: + allow-bean-definition-overriding: true + allow-circular-references: true + application: + name: cmii-live-operator + platform: + info: + name: cmii-live-operator + description: cmii-live-operator + version: 5.7.0 + scanPackage: com.cmii.live.op + cloud: + nacos: + config: + username: developer + password: N@cos14Good + server-addr: helm-nacos:8848 + extension-configs: + - data-id: cmii-live-operator.yml + group: 5.7.0 + refresh: true + shared-configs: + - data-id: cmii-backend-system.yml + group: 5.7.0 + refresh: true + discovery: + enabled: false + + live: + engine: + type: srs + endpoint: 'http://helm-live-srs-svc:1985' + proto: + rtmp: 'rtmp://36.147.6.78:31935' + rtsp: 'rtsp://36.147.6.78:30554' + srt: 'srt://36.147.6.78:30556' + flv: 'http://36.147.6.78:30500' + hls: 'http://36.147.6.78:30500' + rtc: 'webrtc://36.147.6.78:30090' + replay: 'https://36.147.6.78:30333' + minio: + endpoint: http://192.168.118.15:9000 + access-key: cmii + secret-key: B#923fC7mk + bucket: live-cluster-hls diff --git a/agent-deploy/c_middle/CmiiEmqxTemplate.go b/agent-deploy/c_middle/CmiiEmqxTemplate.go index 256cd58..65a8aea 100755 --- a/agent-deploy/c_middle/CmiiEmqxTemplate.go +++ b/agent-deploy/c_middle/CmiiEmqxTemplate.go @@ -50,7 +50,7 @@ data: # clientid 认证数据 # auth.client.1.clientid = admin # auth.client.1.password = 4YPk*DS%+5 - + ## username 认证数据 auth.user.1.username = admin auth.user.1.password = {{ .EmqxPassword }} @@ -114,9 +114,9 @@ spec: containers: - name: helm-emqxs {{- if .HarborPort }} - image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/emqx:4.4.9 + image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/emqx:4.4.19 {{- else }} - image: {{ .HarborIPOrCustomImagePrefix }}emqx:4.4.9 + image: {{ .HarborIPOrCustomImagePrefix }}emqx:4.4.19 {{- end }} imagePullPolicy: Always ports: diff --git a/agent-deploy/c_middle/CmiiRedisTemplate.go b/agent-deploy/c_middle/CmiiRedisTemplate.go index 6939158..6fb7e1a 100755 --- a/agent-deploy/c_middle/CmiiRedisTemplate.go +++ b/agent-deploy/c_middle/CmiiRedisTemplate.go @@ -414,8 +414,8 @@ spec: cpu: "2" memory: 8Gi requests: - cpu: "100m" - memory: 1Gi + cpu: "2" + memory: 8Gi volumeMounts: - name: start-scripts mountPath: /opt/bitnami/scripts/start-scripts @@ -562,8 +562,8 @@ spec: cpu: "2" memory: 8Gi requests: - cpu: "100m" - memory: 1Gi + cpu: "2" + memory: 8Gi volumeMounts: - name: start-scripts mountPath: /opt/bitnami/scripts/start-scripts diff --git a/agent-deploy/d_app/CmiiImageConfig.go b/agent-deploy/d_app/CmiiImageConfig.go index 3160b5d..1035054 100755 --- a/agent-deploy/d_app/CmiiImageConfig.go +++ b/agent-deploy/d_app/CmiiImageConfig.go @@ -45,6 +45,7 @@ var CmiiBackendAppMap = map[string]string{ "cmii-uav-grid-manage": "5.4.0", "cmii-uav-sense-adapter": "5.4.0", "cmii-uav-sync": "5.4.0", + "cmii-uav-iot-dispatcher": "5.7.0", } var CmiiFrontendAppMap = map[string]string{ diff --git a/agent-go/a_executor/BaseFunction.go b/agent-go/a_executor/BaseFunction.go index c7504a9..bf1d3ab 100755 --- a/agent-go/a_executor/BaseFunction.go +++ b/agent-go/a_executor/BaseFunction.go @@ -73,6 +73,9 @@ func (op *AgentOsOperator) Exec(baseFuncName string, funcArgs ...string) (bool, case "installDocker": resultOk, errorLog = op.installDockerExec(funcArgs) break + case "installDockerByOffline": + resultOk, errorLog = op.installDockerOfflineExec(funcArgs) + break case "removeDocker": resultOk, errorLog = op.removeDockerExec() break @@ -1638,8 +1641,8 @@ func (op *AgentOsOperator) installNfsServerOnlineExec() (bool, []string) { return false, append(resultLog, msg) } - } else if op.IsOsTypeCentOS { - // ubuntu + } else { + // CentOS installOk, installLog := BasicInstallSoftware(op.InstallCommandPrefix, true, "nfs-utils") if !installOk { return false, installLog diff --git a/agent-operator/CmiiDeployOperator.go b/agent-operator/CmiiDeployOperator.go index 2518261..3fddf51 100755 --- a/agent-operator/CmiiDeployOperator.go +++ b/agent-operator/CmiiDeployOperator.go @@ -4,6 +4,7 @@ import ( "fmt" "os" "path/filepath" + "runtime" "strings" image2 "wdd.io/agent-common/image" "wdd.io/agent-common/utils" @@ -12,23 +13,38 @@ import ( "wdd.io/agent-operator/image" ) -const DeployFilePrefix = "/home/wdd/IdeaProjects/ProjectOctopus/agent-common/real_project/" +var DeployFilePrefix = "/home/wdd/IdeaProjects/ProjectOctopus/agent-common/real_project/" -func CmiiEnvDeploy(deployCommonEnv *z_dep.CommonEnvironmentConfig, shouldDoCompleteDeploy bool, backupFromEnv string) { +func init() { + switch runtime.GOOS { + case "linux": + DeployFilePrefix = "/home/wdd/IdeaProjects/ProjectOctopus/agent-common/real_project/" + case "windows": + DeployFilePrefix = "C:\\Users\\wddsh\\Documents\\IdeaProjects\\ProjectOctopus\\agent-common\\real_project\\" + + } +} + +// CmiiEnvDeploy 根据特定的环境复制一份部署清单,复制Cmii App的部署 shouldDoCompleteDeploy决定是否生成其他的应用 +func CmiiEnvDeploy( + deployCommonEnv *z_dep.CommonEnvironmentConfig, + shouldDoCompleteDeploy bool, + backupFromEnv string, +) { folderPrefix := DeployFilePrefix + deployCommonEnv.Namespace + "/" tenantEnv := deployCommonEnv.Namespace // uavcloud-devflight ==> devflight // uavcloud-dev ==> dev - if strings.Contains(tenantEnv, "-") { - split := strings.Split(tenantEnv, "-") - tenantEnv = split[len(split)-1] - } else { - // demo ==> "" - // cqlyj ==> "" - tenantEnv = "" - } + //if strings.Contains(tenantEnv, "-") { + // split := strings.Split(tenantEnv, "-") + // tenantEnv = split[len(split)-1] + //} else { + // // demo ==> "" + // // cqlyj ==> "" + // tenantEnv = "" + //} // assign folder prefix deployCommonEnv.ApplyFilePrefix = folderPrefix diff --git a/agent-operator/CmiiDeployOperator_test.go b/agent-operator/CmiiDeployOperator_test.go index 25ad55f..349a9db 100755 --- a/agent-operator/CmiiDeployOperator_test.go +++ b/agent-operator/CmiiDeployOperator_test.go @@ -48,15 +48,20 @@ func TestCmiiEnvDeploy_ChongQingSanHua(t *testing.T) { func TestCmiiEnvDeploy_LiuXiTongGan(t *testing.T) { - // chongqing sanhua + // 刘喜通感 + // 修改 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "10.250.0.200", WebPort: "8888", HarborIPOrCustomImagePrefix: "10.250.0.200", HarborPort: "8033", - Namespace: "bjtg", + Namespace: "xmyd_6.0.0", TagVersion: "5.6.0", + TenantEnv: "", + MinioPublicIP: "", + MinioInnerIP: "", NFSServerIP: "10.250.0.200", + ApplyFilePrefix: "", } CmiiEnvDeploy(commonEnv, true, demo) @@ -81,6 +86,27 @@ func TestCmiiEnvDeploy_ZheJiangYiDongErJiPingTai(t *testing.T) { } +func TestCmiiEnvDeploy_JiChengCeShiHuanJing(t *testing.T) { + + // 2024上线测试-集成测试环境 + commonEnv := &z_dep.CommonEnvironmentConfig{ + WebIP: "integration.uavcmlc.com", + WebPort: "", + HarborIPOrCustomImagePrefix: image2.CmiiHarborPrefix, + HarborPort: "", + Namespace: "uavcloud-dev", + TagVersion: "6.0.0", + TenantEnv: "", + MinioPublicIP: "", + MinioInnerIP: "minio.ig-dev.uavcmlc.com", + NFSServerIP: "10.40.51.5", + ApplyFilePrefix: "", + } + + CmiiEnvDeploy(commonEnv, false, "") + +} + func TestCmiiEnvDeploy_JiangSuNanTong(t *testing.T) { // 江苏南通 @@ -120,6 +146,48 @@ func TestCmiiEnvDeploy_ChongQingErJiPingTai(t *testing.T) { } +func TestCmiiEnvDeploy_YunNanErJiPingTai(t *testing.T) { + + // 江苏南通 + commonEnv := &z_dep.CommonEnvironmentConfig{ + WebIP: "36.147.6.78", + WebPort: "8088", + HarborIPOrCustomImagePrefix: "192.168.118.14", + HarborPort: "8033", + Namespace: "ynejpt", + TagVersion: "5.7.0", + TenantEnv: "", + MinioPublicIP: "", + MinioInnerIP: "192.168.118.15", + NFSServerIP: "192.168.118.15", + ApplyFilePrefix: "", + } + + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii570ImageList) + +} + +func TestCmiiEnvDeploy_JiLinYiDong(t *testing.T) { + + // 吉林移动 + commonEnv := &z_dep.CommonEnvironmentConfig{ + WebIP: "36.135.17.162", + WebPort: "8888", + HarborIPOrCustomImagePrefix: "172.18.10.251", + HarborPort: "8033", + Namespace: "jlyd", + TagVersion: "5.8.0", + TenantEnv: "", + MinioPublicIP: "", + MinioInnerIP: "192.168.118.15", + NFSServerIP: "192.168.118.15", + ApplyFilePrefix: "", + } + + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii580ImageList) + +} + func TestCmiiNewAppDeploy(t *testing.T) { deployNamespace := devOperation diff --git a/agent-operator/CmiiK8sOperator_test.go b/agent-operator/CmiiK8sOperator_test.go index 572ce3a..21c5644 100755 --- a/agent-operator/CmiiK8sOperator_test.go +++ b/agent-operator/CmiiK8sOperator_test.go @@ -150,53 +150,56 @@ func TestBackupAllCmiiDeploymentToList(t *testing.T) { func TestUpdateCmiiImageTagFromNameTagMap(t *testing.T) { backendMap := map[string]string{ - "cmii-admin-data": "5.8.0", - "cmii-admin-gateway": "5.8.0", - "cmii-admin-user": "5.8.0", - "cmii-open-gateway": "5.8.0", - "cmii-suav-supervision": "5.8.0", - "cmii-uav-airspace": "5.8.0", - "cmii-uav-alarm": "5.8.0", - "cmii-uav-brain": "5.8.0", - "cmii-uav-cloud-live": "5.8.0", - "cmii-uav-cms": "5.8.0", - "cmii-uav-data-post-process": "5.8.0", - "cmii-uav-developer": "5.8.0", - "cmii-uav-device": "5.8.0", - "cmii-uav-emergency": "5.8.0", - "cmii-uav-gateway": "5.8.0", - "cmii-uav-gis-server": "5.8.0", - "cmii-uav-industrial-portfolio": "5.8.0", - "cmii-uav-integration": "5.8.0", - "cmii-uav-logger": "5.8.0", - "cmii-uav-material-warehouse": "5.8.0", - "cmii-uav-mission": "5.8.0", - "cmii-uav-mqtthandler": "5.8.0", - "cmii-uav-notice": "5.8.0", - "cmii-uav-oauth": "5.8.0", - "cmii-uav-process": "5.8.0", - "cmii-uav-surveillance": "5.8.0", - "cmii-uav-threedsimulation": "5.8.0", - "cmii-uav-tower": "5.8.0", - "cmii-uav-user": "5.8.0", - "cmii-uav-waypoint": "5.8.0", - "cmii-uav-sense-adapter": "5.8.0", - "cmii-uav-multilink": "5.8.0", + "cmii-admin-data": "6.0.0", + "cmii-admin-gateway": "6.0.0", + "cmii-admin-user": "6.0.0", + "cmii-open-gateway": "6.0.0", + "cmii-suav-supervision": "6.0.0", + "cmii-uav-airspace": "6.0.0", + "cmii-uav-alarm": "6.0.0", + "cmii-uav-brain": "6.0.0", + "cmii-uav-cloud-live": "6.0.0", + "cmii-uav-cms": "6.0.0", + "cmii-uav-data-post-process": "6.0.0", + "cmii-uav-developer": "6.0.0", + "cmii-uav-device": "6.0.0", + "cmii-uav-emergency": "6.0.0", + "cmii-uav-gateway": "6.0.0", + "cmii-uav-gis-server": "6.0.0", + "cmii-uav-industrial-portfolio": "6.0.0", + "cmii-uav-integration": "6.0.0", + "cmii-uav-logger": "6.0.0", + "cmii-uav-material-warehouse": "6.0.0", + "cmii-uav-mission": "6.0.0", + "cmii-uav-mqtthandler": "6.0.0", + "cmii-uav-notice": "6.0.0", + "cmii-uav-oauth": "6.0.0", + "cmii-uav-process": "6.0.0", + "cmii-uav-surveillance": "6.0.0", + "cmii-uav-threedsimulation": "6.0.0", + "cmii-uav-tower": "6.0.0", + "cmii-uav-user": "6.0.0", + "cmii-uav-waypoint": "6.0.0", + "cmii-uav-sense-adapter": "6.0.0", + "cmii-uas-lifecycle": "6.0.0", + "cmii-uas-gateway": "6.0.0", } frontendMap := map[string]string{ - "cmii-suav-platform-supervision": "5.8.0", - "cmii-suav-platform-supervisionh5": "5.8.0", - "cmii-uav-platform": "5.8.0", - "cmii-uav-platform-media": "5.8.0", - "cmii-uav-platform-ai-brain": "5.8.0", - "cmii-uav-platform-cms-portal": "5.8.0", - "cmii-uav-platform-armypeople": "5.8.0", - "cmii-uav-platform-mws": "5.8.0", - "cmii-uav-platform-oms": "5.8.0", - "cmii-uav-platform-open": "5.8.0", - "cmii-uav-platform-securityh5": "5.8.0", - "cmii-uav-platform-share": "5.8.0", + "cmii-suav-platform-supervision": "6.0.0", + "cmii-suav-platform-supervisionh5": "6.0.0", + "cmii-uav-platform": "6.0.0", + "cmii-uav-platform-media": "6.0.0", + "cmii-uav-platform-ai-brain": "6.0.0", + "cmii-uav-platform-cms-portal": "6.0.0", + "cmii-uav-platform-armypeople": "6.0.0", + "cmii-uav-platform-mws": "6.0.0", + "cmii-uav-platform-oms": "6.0.0", + "cmii-uav-platform-open": "6.0.0", + "cmii-uav-platform-securityh5": "6.0.0", + "cmii-uav-platform-share": "6.0.0", + "cmii-uav-platform-uasms": "6.0.0", + "cmii-uav-platform-uas": "6.0.0", //"cmii-uav-platform-base": "5.7.0", //"cmii-uav-platform-detection": "5.7.0", //"cmii-uav-platform-emergency-rescue": "5.7.0", @@ -250,38 +253,31 @@ func TestRestartCmiiDeployment(t *testing.T) { func TestUpdateCmiiDeploymentImageTag(t *testing.T) { - // 计算20:00的时间 - now := time.Now() + //计算20:00的时间 - targetTime := time.Date(now.Year(), now.Month(), now.Day(), 17, 35, 00, 0, now.Location()) - - duration := time.Duration(0) - - if !now.After(targetTime) { - // 计算到20:00的剩余时间 - duration = targetTime.Sub(now) - } else { - // 如果当前时间已经过了20:00,那么就跳到下一天 - //targetTime = targetTime.Add(24 * time.Hour) - } - - fmt.Println(duration) - - // 等待到20:00 - time.Sleep(duration) + //now := time.Now() + // + //targetTime := time.Date(now.Year(), now.Month(), now.Day(), 17, 55, 00, 0, now.Location()) + // + //duration := time.Duration(0) + // + //if !now.After(targetTime) { + // // 计算到20:00的剩余时间 + // duration = targetTime.Sub(now) + //} else { + // // 如果当前时间已经过了20:00,那么就跳到下一天 + // //targetTime = targetTime.Add(24 * time.Hour) + //} + // + //fmt.Println(duration) + // + //// 等待到20:00 + //time.Sleep(duration) cmiiEnv := demo - //appName := "cmii-uav-platform"i - //newTag := "5.4.0-032601" appNameTagMap := map[string]string{ - //"cmii-uav-platform-dispatchh5": "5.6.0-062401", - //"cmii-uav-data-post-process": "5.6.0-062401", - //"cmii-uav-industrial-portfolio": "5.6.0-071801", - "cmii-uav-industrial-portfolio": "5.7.0-31369-yunnan-082104", - //"cmii-uav-brain": "5.5.0", - //"cmii-uav-platform": "5.6.0-071702", - //"cmii-uas-lifecycle": "5.6.0-30403-071802", + "cmii-uav-platform-pilot2-to-cloud": "6.0.0-092301", } for appName, newTag := range appNameTagMap { diff --git a/agent-operator/ImageSyncOperator_test.go b/agent-operator/ImageSyncOperator_test.go index 51cc5b7..f38cb8a 100755 --- a/agent-operator/ImageSyncOperator_test.go +++ b/agent-operator/ImageSyncOperator_test.go @@ -46,11 +46,12 @@ func TestLoadSplitDepGzipImageToTargetHarbor(t *testing.T) { } func TestPullFromEntityAndSyncConditionally(t *testing.T) { - // 创建一个模拟的sync对象,用于测试函数的行为。这里需要根据你的实际需求来设置mock数据和预期结果。 + + // 下载镜像的核心函数 sync := ImageSyncEntity{ DownloadCondition: &DownloadEntity{ ShouldDownloadImage: true, - ProjectName: "bjyd", + ProjectName: "xmyd_6.0.0", ProjectVersion: "", CmiiNameTagList: []string{ //"cmii-uav-mqtthandler:5.4.0-bjdyt-052102", diff --git a/agent-operator/log/cmii-update-log.txt b/agent-operator/log/cmii-update-log.txt index 87db02c..359f5e4 100755 --- a/agent-operator/log/cmii-update-log.txt +++ b/agent-operator/log/cmii-update-log.txt @@ -261,3 +261,19 @@ 2024-08-22-17-33-16 uavcloud-demo cmii-uav-platform-oms 5.7.0 5.8.0 2024-08-22-17-33-18 uavcloud-demo cmii-uav-platform-securityh5 5.7.0 5.8.0 2024-08-22-17-33-19 uavcloud-demo cmii-suav-platform-supervision 5.7.0 5.8.0 +2024-08-29-09-35-00 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082702 5.7.0-31369-yunnan-082901 +2024-08-29-10-04-24 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082901 5.7.0-31369-yunnan-082903 +2024-08-29-11-30-21 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082903 5.7.0-31369-yunnan-082904 +2024-08-29-15-06-26 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082904 5.7.0-31369-yunnan-082905 +2024-08-29-16-58-24 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082905 5.7.0-31369-yunnan-082906 +2024-08-29-17-30-45 uavcloud-demo cmii-uas-lifecycle 5.8.0 5.7.0-082901 +2024-08-30-11-03-12 uavcloud-demo cmii-uas-lifecycle 5.7.0-082902 5.7.0-snapshot +2024-08-30-14-57-00 uavcloud-demo cmii-uas-lifecycle 5.7.0-snapshot 5.7.0-083001 +2024-09-02-17-02-21 uavcloud-demo cmii-uav-platform 5.8.0 5.8.0-0902 +2024-09-02-18-30-00 uavcloud-demo cmii-uas-lifecycle 5.7.0-090202 5.7.0-090201 +2024-09-03-09-21-43 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-082906 5.7.0-31369-yunnan-090301 +2024-09-03-15-18-12 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-090301 5.7.0-31369-yunnan-090302 +2024-09-03-17-22-08 uavcloud-demo cmii-uas-lifecycle 5.7.0-090201 5.7.0-090301 +2024-09-03-17-23-44 uavcloud-demo cmii-uav-platform 5.8.0-0902 5.8.0-090301 +2024-09-04-09-43-45 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-090302 5.7.0-31369-yunnan-090401 +2024-09-05-13-52-57 uavcloud-demo cmii-uav-industrial-portfolio 5.7.0-31369-yunnan-090401 5.7.0-31369-yunnan-090501 diff --git a/server/src/main/java/io/wdd/func/auto/beans/BaseFunctionEnum.java b/server/src/main/java/io/wdd/func/auto/beans/BaseFunctionEnum.java index b2eade2..f25dac8 100755 --- a/server/src/main/java/io/wdd/func/auto/beans/BaseFunctionEnum.java +++ b/server/src/main/java/io/wdd/func/auto/beans/BaseFunctionEnum.java @@ -46,6 +46,11 @@ public enum BaseFunctionEnum { "安装Docker, 默认安装20.10.15版本" ), + INSTALL_DOCKER_OFFLINE( + "installDockerByOffline", + "安装Docker, 默认安装20.10.15版本" + ), + INSTALL_DOCKER_COMPOSE( "installDockerCompose", "安装Docker Compose, 默认为2.18.0版本" diff --git a/server/src/main/java/io/wdd/rpc/init/AcceptAgentInitInfo.java b/server/src/main/java/io/wdd/rpc/init/AcceptAgentInitInfo.java index 31fd828..29122ee 100755 --- a/server/src/main/java/io/wdd/rpc/init/AcceptAgentInitInfo.java +++ b/server/src/main/java/io/wdd/rpc/init/AcceptAgentInitInfo.java @@ -71,6 +71,8 @@ public class AcceptAgentInitInfo { 16); put("Jinrongjie", 17); + put("Jiaxing", + 18); }}; diff --git a/server/src/test/java/io/wdd/server/func/TestBaseFuncScheduler.java b/server/src/test/java/io/wdd/server/func/TestBaseFuncScheduler.java index 451e8ff..706ce5a 100755 --- a/server/src/test/java/io/wdd/server/func/TestBaseFuncScheduler.java +++ b/server/src/test/java/io/wdd/server/func/TestBaseFuncScheduler.java @@ -54,7 +54,9 @@ public class TestBaseFuncScheduler { // Long projectServerId = 1788026824445317122L;// 新疆移动 // Long projectServerId = 1791639665955184642L;// 深圳公安 // Long projectServerId = 1795703135172485122L;// 北京通感 - Long projectServerId = 1826162388894871554L; // 江苏南通二级平台 8-21 +// Long projectServerId = 1826162388894871554L; // 江苏南通二级平台 8-21 +// Long projectServerId = 1829348851302887425L; // 云南二级平台 08-30 + Long projectServerId = 1838118730059444225L; //江西通感二级平台 9-23 // Long projectServerId = 1773619219367120898L; // 内网35-71项目 @@ -68,7 +70,9 @@ public class TestBaseFuncScheduler { // String masterNodeServerName = "Chengdu-amd64-14"; // 新疆移动 // String masterNodeServerName = "Local-amd64-251"; // 新疆移动 // String masterNodeServerName = "Chengdu-amd64-200"; // 北京通感 - String masterNodeServerName = "Jinrongjie-amd64-056"; // 江苏南通二级平台 +// String masterNodeServerName = "Jinrongjie-amd64-056"; // 江苏南通二级平台 +// String masterNodeServerName = "Shanghai-amd64-014"; // 云南二级平台 + String masterNodeServerName = "Jiaxing-amd64-135"; // 江西通感二级平台 9-23 // String masterNodeServerName = "Ziyang-amd64-61"; // 资阳公安 ProjectServerVO projectServerVO = coreProjectServerService.projectServerOne(projectServerId); @@ -89,9 +93,9 @@ public class TestBaseFuncScheduler { List masterNodeProcedure = List.of( -// BaseFunctionEnum.DISABLE_SWAP, -// BaseFunctionEnum.DISABLE_SELINUX, -// BaseFunctionEnum.MODIFY_SYSCONFIG, + BaseFunctionEnum.DISABLE_SWAP, + BaseFunctionEnum.DISABLE_SELINUX, + BaseFunctionEnum.MODIFY_SYSCONFIG, BaseFunctionEnum.SHUTDOWN_FIREWALL, BaseFunctionEnum.INSTALL_DOCKER, BaseFunctionEnum.INSTALL_DEFAULT_SSH_KEY, @@ -128,7 +132,7 @@ public class TestBaseFuncScheduler { throw new RuntimeException(e); } -// baseFuncScheduler.runProcedure(projectDeployContext); + baseFuncScheduler.runProcedure(projectDeployContext); // 只能支持 带端口的HarborHost 默认为8033Chengdu-amd64-110 // harborFuncScheduler.runProcedure(projectDeployContext); @@ -165,7 +169,7 @@ public class TestBaseFuncScheduler { projectDeployContext.setMasterNodeBaseProcedure(masterNodeProcedure); projectDeployContext.setAgentNodeBaseProcedure(agentNodeProcedure); - baseFuncScheduler.runProcedure(projectDeployContext); +// baseFuncScheduler.runProcedure(projectDeployContext); } } diff --git a/server/src/test/java/io/wdd/server/func/TestImageSyncScheduler.java b/server/src/test/java/io/wdd/server/func/TestImageSyncScheduler.java index 8846994..159ad0e 100755 --- a/server/src/test/java/io/wdd/server/func/TestImageSyncScheduler.java +++ b/server/src/test/java/io/wdd/server/func/TestImageSyncScheduler.java @@ -42,7 +42,7 @@ public class TestImageSyncScheduler { )); ArrayList ImageFullNameList = new ArrayList<>(List.of( - "harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.7.0-31369-yunnan-082301" + "harbor.cdcyy.com.cn/cmii/cmii-uav-integration:5.7.0-32580-0923" )); Boolean downloadAndCompressOnly = false; @@ -52,6 +52,7 @@ public class TestImageSyncScheduler { // String projectNamespace = "jlyd"; // 吉林移动 // String projectNamespace = "jxyd"; // 吉林移动 String projectNamespace = "xmyd"; // 厦门移动 +// String projectNamespace = "ynejpt"; // 云南二级平台 // String innerWorkerAgentName = "Chengdu-amd64-65-lapwdd"; //wdd String innerWorkerAgentName = "Chengdu-amd64-071-ed6e2b7f"; //prod @@ -101,7 +102,7 @@ public class TestImageSyncScheduler { )); ArrayList ImageFullNameList = new ArrayList<>(List.of( - "harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.3.0-cqly-042901" + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.8.0-jlyd-091301" )); Boolean downloadAndCompressOnly = true; diff --git a/setting-aliyun.xml b/setting-aliyun.xml index c1654fe..a74d4d9 100755 --- a/setting-aliyun.xml +++ b/setting-aliyun.xml @@ -50,7 +50,7 @@ under the License. | The path to the local repository maven will use to store artifacts. | | Default: ${user.home}/.m2/repository --> - +