From c5780f90d7b1965f677fc77e7f205cab5e231777 Mon Sep 17 00:00:00 2001 From: zeaslity Date: Fri, 21 Feb 2025 14:00:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E9=87=8F=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 26-开发高可用集群/批量命令.sh | 2 +- 34-202408-重庆二级平台/一键更新Tag脚本.sh | 69 + 42-202411-山东二级平台/2025-0217-关闭备份 | 3 + .../傅军的项目/cmii-uavms-platform-manager.yaml | 8 +- 50-202412-云南二级新/离线更新tag脚本.sh | 68 + 53-202501-江西扩容/1-磁盘.sh | 40 + 53-202501-江西扩容/ImageSyncDLTU.sh | 168 + 53-202501-江西扩容/all-deployment-jxyd.yaml | 6288 +++++++++++++++ 53-202501-江西扩容/cluster.yml | 209 + 53-202501-江西扩容/批量任务.sh | 40 + 54-202501-深圳规自-ARM/2-imageDownSync.sh | 147 + 54-202501-深圳规自-ARM/ImageSyncDLTU.sh | 168 + 54-202501-深圳规自-ARM/disk.sh | 49 + 54-202501-深圳规自-ARM/harbor.yml | 49 + .../kubernetes-images-2.5.7-1.20.4.txt | 63 + .../rke-cluster-template.yaml | 213 + 54-202501-深圳规自-ARM/sshd_配置修改.sh | 9 + 54-202501-深圳规自-ARM/信息备份.tx | 16 + 54-202501-深圳规自-ARM/批量执行脚本.sh | 31 + 54-202501-深圳规自-ARM/离线资料下载.txt | 29 + .../部署yaml/k8s-backend.yaml | 6762 +++++++++++++++++ .../部署yaml/k8s-configmap.yaml | 602 ++ .../部署yaml/k8s-dashboard.yaml | 309 + 54-202501-深圳规自-ARM/部署yaml/k8s-emqx.yaml | 277 + .../部署yaml/k8s-frontend.yaml | 2873 +++++++ .../部署yaml/k8s-ingress.yaml | 730 ++ .../部署yaml/k8s-mongo.yaml | 77 + .../部署yaml/k8s-mysql.yaml | 410 + .../部署yaml/k8s-nacos.yaml | 130 + .../部署yaml/k8s-nfs-test.yaml | 38 + 54-202501-深圳规自-ARM/部署yaml/k8s-nfs.yaml | 114 + 54-202501-深圳规自-ARM/部署yaml/k8s-pvc.yaml | 76 + .../部署yaml/k8s-rabbitmq.yaml | 329 + .../部署yaml/k8s-redis.yaml | 591 ++ 54-202501-深圳规自-ARM/部署yaml/k8s-srs.yaml | 496 ++ 55-202501-DEMO迁移/0-批量命令 | 24 + 55-202501-DEMO迁移/harbor-secret.yaml | 9 + 55-202501-DEMO迁移/k8s-redis-uas.yaml | 585 ++ 55-202501-DEMO迁移/新增的项目.yaml | 180 + 55-202501-DEMO迁移/部署yaml/k8s-backend.yaml | 6672 ++++++++++++++++ .../部署yaml/k8s-configmap.yaml | 574 ++ .../部署yaml/k8s-dashboard.yaml | 309 + 55-202501-DEMO迁移/部署yaml/k8s-emqx.yaml | 276 + 55-202501-DEMO迁移/部署yaml/k8s-frontend.yaml | 2784 +++++++ 55-202501-DEMO迁移/部署yaml/k8s-ingress.yaml | 720 ++ 55-202501-DEMO迁移/部署yaml/k8s-mongo.yaml | 78 + 55-202501-DEMO迁移/部署yaml/k8s-mysql.yaml | 410 + 55-202501-DEMO迁移/部署yaml/k8s-nacos.yaml | 130 + 55-202501-DEMO迁移/部署yaml/k8s-nfs-test.yaml | 38 + 55-202501-DEMO迁移/部署yaml/k8s-nfs.yaml | 114 + 55-202501-DEMO迁移/部署yaml/k8s-pvc.yaml | 76 + 55-202501-DEMO迁移/部署yaml/k8s-rabbitmq.yaml | 328 + .../部署yaml/k8s-redis-uas.yaml | 585 ++ 55-202501-DEMO迁移/部署yaml/k8s-redis.yaml | 585 ++ 55-202501-DEMO迁移/部署yaml/k8s-srs.yaml | 496 ++ .../all-deployment-jxyd-old.yaml | 6288 +++++++++++++++ 56-202501-江西升级/k8s-backend.yaml | 6672 ++++++++++++++++ 56-202501-江西升级/k8s-emqx.yaml | 276 + 56-202501-江西升级/k8s-srs.yaml | 496 ++ 56-202501-江西升级/江西移动升级.zip | Bin 0 -> 43204 bytes .../OctopusAgent运行/bastion模式运行基础环境.sh | 20 +- 998-常用脚本/OctopusAgent运行/同步资料.sh | 25 +- 998-常用脚本/备份脚本/备份命名空间.sh | 4 +- 998-常用脚本/容器镜像ARM/ARM-Redis-EMQX.sh | 5 + 998-常用脚本/容器镜像ARM/ARM版本的镜像仓库.sh | 40 +- .../容器镜像ARM/docker-run-redis.yaml | 0 ...ployment.yaml => quary-deployment-deprecated.yaml} | 0 .../故障恢复脚本/重启cmii的前端后端Pod.sh | 4 +- 998-常用脚本/更新脚本/一键更新Tag脚本.sh | 4 +- 998-常用脚本/部署脚本/install_minio.sh | 12 +- .../nginx暴露/真实nginx-reverse-proxy.conf | 10 +- 998-常用脚本/部署脚本/z_执行apply命令.sh | 11 +- 998-常用脚本/部署脚本/为node打标签.sh | 9 +- 998-常用脚本/部署脚本/清理rke集群的安装.sh | 6 + .../镜像同步/2-imageDownSync-ARM64.sh | 154 + 998-常用脚本/镜像同步/2-imageDownSync.sh | 9 +- 998-常用脚本/镜像同步/imageSyncDLTU.ps1 | 6 +- .../镜像同步/kubernetes-images-2.5.7-1.20.4.txt | 63 + .../镜像同步/middle-image-arm64-250218.txt | 19 + 998-常用脚本/镜像同步/离线更新tag脚本.sh | 4 +- 999-数据库脚本/z_database_execute.sh | 12 +- 999-数据库脚本/数据库同步脚本.sh | 3 + 999-数据库脚本/版本升级数据库脚本.sh | 8 +- 999-部署模板/ts2mp4.yaml | 165 + 999-部署模板/关键参数说明.txt | 4 + 85 files changed, 50718 insertions(+), 67 deletions(-) create mode 100644 34-202408-重庆二级平台/一键更新Tag脚本.sh create mode 100644 42-202411-山东二级平台/2025-0217-关闭备份 create mode 100644 50-202412-云南二级新/离线更新tag脚本.sh create mode 100644 53-202501-江西扩容/1-磁盘.sh create mode 100644 53-202501-江西扩容/ImageSyncDLTU.sh create mode 100644 53-202501-江西扩容/all-deployment-jxyd.yaml create mode 100644 53-202501-江西扩容/cluster.yml create mode 100644 53-202501-江西扩容/批量任务.sh create mode 100644 54-202501-深圳规自-ARM/2-imageDownSync.sh create mode 100644 54-202501-深圳规自-ARM/ImageSyncDLTU.sh create mode 100644 54-202501-深圳规自-ARM/disk.sh create mode 100644 54-202501-深圳规自-ARM/harbor.yml create mode 100644 54-202501-深圳规自-ARM/kubernetes-images-2.5.7-1.20.4.txt create mode 100644 54-202501-深圳规自-ARM/rke-cluster-template.yaml create mode 100644 54-202501-深圳规自-ARM/sshd_配置修改.sh create mode 100644 54-202501-深圳规自-ARM/信息备份.tx create mode 100644 54-202501-深圳规自-ARM/批量执行脚本.sh create mode 100644 54-202501-深圳规自-ARM/离线资料下载.txt create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-backend.yaml create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-configmap.yaml create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-dashboard.yaml create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-emqx.yaml create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-frontend.yaml create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-ingress.yaml create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-mongo.yaml create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-mysql.yaml create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-nacos.yaml create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-nfs-test.yaml create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-nfs.yaml create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-pvc.yaml create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-rabbitmq.yaml create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-redis.yaml create mode 100644 54-202501-深圳规自-ARM/部署yaml/k8s-srs.yaml create mode 100644 55-202501-DEMO迁移/0-批量命令 create mode 100644 55-202501-DEMO迁移/harbor-secret.yaml create mode 100644 55-202501-DEMO迁移/k8s-redis-uas.yaml create mode 100644 55-202501-DEMO迁移/新增的项目.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-backend.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-configmap.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-dashboard.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-emqx.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-frontend.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-ingress.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-mongo.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-mysql.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-nacos.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-nfs-test.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-nfs.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-pvc.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-rabbitmq.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-redis-uas.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-redis.yaml create mode 100644 55-202501-DEMO迁移/部署yaml/k8s-srs.yaml create mode 100644 56-202501-江西升级/all-deployment-jxyd-old.yaml create mode 100644 56-202501-江西升级/k8s-backend.yaml create mode 100644 56-202501-江西升级/k8s-emqx.yaml create mode 100644 56-202501-江西升级/k8s-srs.yaml create mode 100644 56-202501-江西升级/江西移动升级.zip create mode 100644 998-常用脚本/容器镜像ARM/ARM-Redis-EMQX.sh create mode 100644 998-常用脚本/容器镜像ARM/docker-run-redis.yaml rename 998-常用脚本/容器镜像ARM/{quary-deployment.yaml => quary-deployment-deprecated.yaml} (100%) create mode 100644 998-常用脚本/镜像同步/2-imageDownSync-ARM64.sh create mode 100644 998-常用脚本/镜像同步/kubernetes-images-2.5.7-1.20.4.txt create mode 100644 998-常用脚本/镜像同步/middle-image-arm64-250218.txt create mode 100644 999-部署模板/ts2mp4.yaml diff --git a/26-开发高可用集群/批量命令.sh b/26-开发高可用集群/批量命令.sh index b13da2b..92d2521 100644 --- a/26-开发高可用集群/批量命令.sh +++ b/26-开发高可用集群/批量命令.sh @@ -16,7 +16,7 @@ all_server_list=(dev-worker-01 dev-worker-02 dev-worker-03 dev-worker-05 dev-wor all_server_list=(192.168.35.105 192.168.35.114 192.168.35.115 192.168.35.55 192.168.35.86 192.168.35.89 192.168.35.93 192.168.35.95 192.168.35.96 192.168.35.101 192.168.35.103 192.168.35.104) for server in "${all_server_list[@]}";do echo "server is ${server}" - ssh root@"${server}" "echo root:V2ryStr@ngPss | sudo chpasswd" + ssh root@"${server}" "df -TH" done diff --git a/34-202408-重庆二级平台/一键更新Tag脚本.sh b/34-202408-重庆二级平台/一键更新Tag脚本.sh new file mode 100644 index 0000000..32fca80 --- /dev/null +++ b/34-202408-重庆二级平台/一键更新Tag脚本.sh @@ -0,0 +1,69 @@ +#!/bin/bash + +harbor_host=chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn +namespace=cqejpt +app_name="" +new_tag="" + +upload_image_to_harbor(){ + if [ "$app_name" == "" ]; then + echo "app name null exit!" + exit 233 + fi + + if ! docker load < "$1"; then + echo "docker load error !" + fi + docker tag "harbor.cdcyy.com.cn/cmii/$app_name:$new_tag" "$harbor_host/cmii/$app_name:$new_tag" + echo "" + echo "" + echo "upload_image_to_harbor - start to push to => $harbor_host/cmii/$app_name:$new_tag" +# docker login -u admin -p V2ryStr@ngPss $harbor_host + docker login --username=zgydtxjtcqyxgs18883257311 --password Dict@2024 chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn + docker push "$harbor_host/cmii/$app_name:$new_tag" + echo "" + echo "" + +} + +parse_args(){ + if [ "$1" == "" ]; then + echo "no zip file in error!" + exit 233 + fi + local image_name="$1" + + # cmii-uav-surveillance=5.2.0-27031-cqga=2024-03-04=573.tar.gz + app_name=$(echo $image_name | cut -d "=" -f1) + new_tag=$(echo $image_name | cut -d "=" -f2) +} + +update_image_tag(){ + if [ "$new_tag" == "" ]; then + echo "new tag error!" + exit 233 + fi + + local image_prefix=$(kubectl -n ${namespace} get deployment "${app_name}" -o=jsonpath='{.spec.template.spec.containers[*].image}' | cut -d":" -f1) + + echo "image grep is => ${image_prefix}" + + echo "start to update ${namespace} ${app_name} to ${new_tag} !" + echo "" + kubectl -n ${namespace} patch deployment "${app_name}" -p "{\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"name\":\"${app_name}\",\"image\": \"${harbor_host}/cmii/$app_name:${new_tag}\"}]}}}}" + echo "" + echo "start to wait for 3 seconds!" + sleep 3 + local image_new=$(kubectl -n ${namespace} get deployment "${app_name}" -o=jsonpath='{.spec.template.spec.containers[*].image}') + echo "" + echo "new image are => $image_new" + echo "" +} + +main(){ + parse_args "$1" + upload_image_to_harbor "$1" + update_image_tag +} + +main "$@" \ No newline at end of file diff --git a/42-202411-山东二级平台/2025-0217-关闭备份 b/42-202411-山东二级平台/2025-0217-关闭备份 new file mode 100644 index 0000000..bcb1a71 --- /dev/null +++ b/42-202411-山东二级平台/2025-0217-关闭备份 @@ -0,0 +1,3 @@ + + +山东移动-林燕 消息 \ No newline at end of file diff --git a/46-CMII三方业务/傅军的项目/cmii-uavms-platform-manager.yaml b/46-CMII三方业务/傅军的项目/cmii-uavms-platform-manager.yaml index 9b6b0da..a93ecbd 100644 --- a/46-CMII三方业务/傅军的项目/cmii-uavms-platform-manager.yaml +++ b/46-CMII三方业务/傅军的项目/cmii-uavms-platform-manager.yaml @@ -3,7 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: cmii-uavms-platform-manager - namespace: uavcloud-devoperation + namespace: uavcloud-devflight labels: cmii.type: frontend cmii.app: cmii-uavms-platform-manager @@ -32,7 +32,7 @@ spec: imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: uavcloud-devoperation + value: uavcloud-devflight - name: APPLICATION_NAME value: cmii-uavms-platform-manager ports: @@ -71,7 +71,7 @@ apiVersion: v1 kind: Service metadata: name: cmii-uavms-platform-manager - namespace: uavcloud-devoperation + namespace: uavcloud-devflight labels: cmii.type: frontend cmii.app: cmii-uavms-platform-manager @@ -92,7 +92,7 @@ kind: ConfigMap apiVersion: v1 metadata: name: tenant-prefix-uasmanager - namespace: uavcloud-devoperation + namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { diff --git a/50-202412-云南二级新/离线更新tag脚本.sh b/50-202412-云南二级新/离线更新tag脚本.sh new file mode 100644 index 0000000..196bf4e --- /dev/null +++ b/50-202412-云南二级新/离线更新tag脚本.sh @@ -0,0 +1,68 @@ +#!/bin/bash + +harbor_host=192.168.186.11:8033 +namespace=ynydapp +app_name="" +new_tag="" + +upload_image_to_harbor(){ + if [ "$app_name" == "" ]; then + echo "app name null exit!" + exit 233 + fi + + if ! docker load < "$1"; then + echo "docker load error !" + fi + docker tag "harbor.cdcyy.com.cn/cmii/$app_name:$new_tag" "$harbor_host/cmii/$app_name:$new_tag" + echo "" + echo "" + echo "upload_image_to_harbor - start to push to => $harbor_host/cmii/$app_name:$new_tag" + docker login -u admin -p V2ryStr@ngPss $harbor_host + docker push "$harbor_host/cmii/$app_name:$new_tag" + echo "" + echo "" + +} + +parse_args(){ + if [ "$1" == "" ]; then + echo "no zip file in error!" + exit 233 + fi + local image_name="$1" + + # cmii-uav-surveillance=5.2.0-27031-cqga=2024-03-04=573.tar.gz + app_name=$(echo $image_name | cut -d "=" -f1) + new_tag=$(echo $image_name | cut -d "=" -f2) +} + +update_image_tag(){ + if [ "$new_tag" == "" ]; then + echo "new tag error!" + exit 233 + fi + + local image_prefix=$(kubectl -n ${namespace} get deployment "${app_name}" -o=jsonpath='{.spec.template.spec.containers[*].image}' | cut -d":" -f1) + + echo "image grep is => ${image_prefix}" + + echo "start to update ${namespace} ${app_name} to ${new_tag} !" + echo "" + kubectl -n ${namespace} patch deployment "${app_name}" -p "{\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"name\":\"${app_name}\",\"image\": \"${harbor_host}/cmii/$app_name:${new_tag}\"}]}}}}" + echo "" + echo "start to wait for 3 seconds!" + sleep 3 + local image_new=$(kubectl -n ${namespace} get deployment "${app_name}" -o=jsonpath='{.spec.template.spec.containers[*].image}') + echo "" + echo "new image are => $image_new" + echo "" +} + +main(){ + parse_args "$1" + upload_image_to_harbor "$1" + update_image_tag +} + +main "$@" \ No newline at end of file diff --git a/53-202501-江西扩容/1-磁盘.sh b/53-202501-江西扩容/1-磁盘.sh new file mode 100644 index 0000000..eea02c1 --- /dev/null +++ b/53-202501-江西扩容/1-磁盘.sh @@ -0,0 +1,40 @@ +#! /bin/bash + +echo "" +echo "" +echo "" +echo "-----------------------------------------------------------------------" + +export VG_NAME=datavg + +echo "n +p + + + +t + +8e +w +" | fdisk /dev/vdb +partprobe +# 如果已经存在卷组,直接进行添加 +# vgextend rootvg /dev/vdb +vgcreate ${VG_NAME} /dev/vdb1 +export selfpesize=$(vgdisplay ${VG_NAME} | grep 'Total PE' | awk '{print $3}') +# 大小根据实际情况调整 +lvcreate -l ${selfpesize} -n lvdata ${VG_NAME} +mkfs.xfs /dev/mapper/${VG_NAME}-lvdata +# mkfs.ext4 /dev/mapper/${VG_NAME}-lvdata +mkdir -p /data +mkdir -p /var/lib/docker +#selffstab="/dev/mapper/${VG_NAME}-lvdata /var/lib/docker xfs defaults 0 0" +export selffstab="/dev/mapper/${VG_NAME}-lvdata /var/lib/docker xfs defaults 0 0" +echo "${selffstab}" >> /etc/fstab +mount -a + +echo "" +echo "" +echo "" +df -TH +echo "-----------------------------------------------------------------------" \ No newline at end of file diff --git a/53-202501-江西扩容/ImageSyncDLTU.sh b/53-202501-江西扩容/ImageSyncDLTU.sh new file mode 100644 index 0000000..59d4a16 --- /dev/null +++ b/53-202501-江西扩容/ImageSyncDLTU.sh @@ -0,0 +1,168 @@ +#!/bin/bash + +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/octopus-image" + +DockerRegisterDomain="10.20.1.130:8033" # 需要根据实际修改 +HarborAdminPass=V2ryStr@ngPss # 需要跟第一脚本中的密码保持一致 + +print_green() { + echo -e "\033[32m${1}\033[0m" + echo "" +} + +print_red() { + echo -e "\033[31m${1}\033[0m" + echo "" +} + +Download_Load_Tag_Upload() { + print_green "[DLTU] - start !" + while [[ $# -gt 0 ]]; do + case "$1" in + rke) + # print_green "download rke " + local_gzip_path="$local_gzip_path/rke" + mkdir -p ${local_gzip_path} + oss_prefix_url="$oss_prefix_url/rke/" + dltu + shift # past argument + ;; + middle) + local_gzip_path="$local_gzip_path/middle" + mkdir -p $local_gzip_path + oss_prefix_url="$oss_prefix_url/middle/" + dltu + shift # past argument + ;; + cmii) + local_gzip_path="$local_gzip_path/cmii" + mkdir -p $local_gzip_path + oss_prefix_url="$oss_prefix_url/6.2.0-demo/" + dltu + shift # past argument + ;; + *) + # unknown option + print_red "bad arguments" + ;; + esac + done + +} + +dltu() { + print_green "download all image name list and gzip file list!" + cd $local_gzip_path || exit + + rm $all_image_list_txt + rm $gzip_image_list_txt + + wget "$oss_prefix_url$all_image_list_txt" + wget "$oss_prefix_url$gzip_image_list_txt" + + docker login -u admin -p ${HarborAdminPass} ${DockerRegisterDomain} + echo "" + while IFS= read -r i; do + [ -z "${i}" ] && continue + echo "download gzip file =>: $oss_prefix_url${i}" + if wget "$oss_prefix_url${i}" >/dev/null 2>&1; then + echo "Gzip file download success : ${i}" + image_full_name=$(docker load -i ${i} | 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 + + else + print_red "Gzip file download FAILED : ${i}" + fi + echo "-------------------------------------------------" + done <"${gzip_image_list_txt}" + shift + +} + +Load_Tag_Upload(){ + print_green "[LTU] - start to load image from offline !" + + while [[ $# -gt 0 ]]; do + case "$1" in + rke) + # print_green "download rke " + local_gzip_path="$local_gzip_path/rke" + mkdir -p ${local_gzip_path} + oss_prefix_url="$oss_prefix_url/rke/" + ltu + shift # past argument + ;; + middle) + local_gzip_path="$local_gzip_path/middle" + mkdir -p $local_gzip_path + oss_prefix_url="$oss_prefix_url/middle/" + ltu + shift # past argument + ;; + cmii) + local_gzip_path="$local_gzip_path/6.1.1" + mkdir -p $local_gzip_path + oss_prefix_url="$oss_prefix_url/6.1.1/" + ltu + shift # past argument + ;; + *) + # unknown option + print_red "bad arguments" + ;; + esac + done + +} + +ltu(){ + 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}') + + docker login -u admin -p ${HarborAdminPass} ${DockerRegisterDomain} + + 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 +} + + +test(){ + app_name=$(echo "nginx:latest" | sed 's|.*/||g') + echo "extract short name is $app_name" +} + +# test +Download_Load_Tag_Upload "cmii" + +# Load_Tag_Upload "cmii" \ No newline at end of file diff --git a/53-202501-江西扩容/all-deployment-jxyd.yaml b/53-202501-江西扩容/all-deployment-jxyd.yaml new file mode 100644 index 0000000..70931ae --- /dev/null +++ b/53-202501-江西扩容/all-deployment-jxyd.yaml @@ -0,0 +1,6288 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-admin-data + cmii.modules: cmlc.loadm + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-admin-data + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 2 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-admin-data + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-admin-data + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-admin-data + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-admin-data:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-admin-data + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-admin-data + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-admin-gateway + cmii.modules: loadm + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-admin-gateway + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-admin-gateway + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-admin-gateway + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-admin-gateway + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-admin-gateway:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-admin-gateway + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-admin-gateway + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-admin-user + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-admin-user + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-admin-user + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-admin-user + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-admin-user + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-admin-user:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-admin-user + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-admin-user + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-open-gateway + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-open-gateway + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-open-gateway + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-open-gateway + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-open-gateway + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-open-gateway:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-open-gateway + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-open-gateway + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-suav-platform-supervision + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-suav-platform-supervision + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-suav-platform-supervision + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-suav-platform-supervision + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-suav-platform-supervision + image: 10.20.1.130:8033/cmii/cmii-suav-platform-supervision:4.1.6 + imagePullPolicy: Always + name: cmii-suav-platform-supervision + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefixcmii-suav-platform-supervision + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-suav-platform-supervisionh5 + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-suav-platform-supervisionh5 + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-suav-platform-supervisionh5 + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-suav-platform-supervisionh5 + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-suav-platform-supervisionh5 + image: 10.20.1.130:8033/cmii/cmii-suav-platform-supervisionh5:4.1.6 + imagePullPolicy: Always + name: cmii-suav-platform-supervisionh5 + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefixcmii-suav-platform-supervisionh5 + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-suav-supervision + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-suav-supervision + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-suav-supervision + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-suav-supervision + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-suav-supervision + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-suav-supervision:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-suav-supervision + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-suav-supervision + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-airspace + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-airspace + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-airspace + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-airspace + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-airspace + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-airspace:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-airspace + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-airspace + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-alarm + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-alarm + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-alarm + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-alarm + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-alarm + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-alarm:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-alarm + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-alarm + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-autowaypoint + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-autowaypoint + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-autowaypoint + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-autowaypoint + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-autowaypoint + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-autowaypoint:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-autowaypoint + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-autowaypoint + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-brain + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-brain + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-brain + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-brain + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-brain + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-brain:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-brain + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-brain + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-cloud-live + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-cloud-live + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-cloud-live + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-cloud-live + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-cloud-live + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-cloud-live:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-cloud-live + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-cloud-live + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-cms + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-cms + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-cms + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-cms + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-cms + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-cms:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-cms + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: {} + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-cms + - mountPath: /cmii/cache + name: data-cache-volume + subPath: zhbf/cmii-uav-cms + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc + - name: data-cache-volume + persistentVolumeClaim: + claimName: cmii-uav-cms-cache +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-data-post-process + cmii.modules: cmlc + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-data-post-process + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-data-post-process + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-data-post-process + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-data-post-process + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-data-post-process:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-data-post-process + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: {} + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-data-post-process + - mountPath: /cmii/cache + name: data-cache-volume + subPath: zhbf/cmii-uav-data-post-process + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc + - name: data-cache-volume + persistentVolumeClaim: + claimName: cmii-uav-data-post-process-cache +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-developer + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-developer + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-developer + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-developer + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-developer + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-developer:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-developer + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-developer + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-device + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-device + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 2 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-device + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-device + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-device + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-device:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-device + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-device + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-emergency + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-emergency + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-emergency + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-emergency + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-emergency + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-emergency:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-emergency + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-emergency + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-gateway + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-gateway + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-gateway + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-gateway + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-gateway + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-gateway:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-gateway + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-gateway + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-gis-server + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-gis-server + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-gis-server + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-gis-server + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-gis-server + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-gis-server:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-gis-server + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-gis-server + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-grid-datasource + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-grid-datasource + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-grid-datasource + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-grid-datasource + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-grid-datasource + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-grid-datasource:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-grid-datasource + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-grid-datasource + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-grid-engine + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-grid-engine + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-grid-engine + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-grid-engine + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-grid-engine + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-grid-engine:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-grid-engine + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-grid-engine + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-grid-manage + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-grid-manage + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-grid-manage + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-grid-manage + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-grid-manage + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-grid-manage:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-grid-manage + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-grid-manage + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-industrial-portfolio + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-industrial-portfolio + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-industrial-portfolio + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-industrial-portfolio + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-industrial-portfolio + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-industrial-portfolio:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-industrial-portfolio + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-industrial-portfolio + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-integration + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-integration + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-integration + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-integration + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-integration + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-integration:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-integration + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-integration + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-kpi-monitor + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-kpi-monitor + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-kpi-monitor + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-kpi-monitor + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-kpi-monitor + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-kpi-monitor:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-kpi-monitor + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-kpi-monitor + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-logger + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-logger + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-logger + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-logger + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-logger + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-logger:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-logger + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-logger + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-material-warehouse + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-material-warehouse + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-material-warehouse + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-material-warehouse + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-material-warehouse + - name: CUST_JAVA_OPTS + value: -Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true -Dthumbnailator.conserveMemoryWorkaround=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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-material-warehouse:4.1.6-jsha + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-material-warehouse + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: {} + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-material-warehouse + - mountPath: /cmii/cache + name: data-cache-volume + subPath: zhbf/cmii-uav-material-warehouse + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc + - name: data-cache-volume + persistentVolumeClaim: + claimName: cmii-uav-material-warehouse-cache +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-mission + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-mission + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-mission + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-mission + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-mission + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-mission:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-mission + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-mission + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-mqtthandler + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-mqtthandler + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 2 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-mqtthandler + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-mqtthandler + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-mqtthandler + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-mqtthandler:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-mqtthandler + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-mqtthandler + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-notice + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-notice + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-notice + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-notice + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-notice + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-notice:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-notice + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-notice + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-oauth + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-oauth + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-oauth + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-oauth + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-oauth + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-oauth:4.1.6-jxyd-0815 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-oauth + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-oauth + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform + image: 10.20.1.130:8033/cmii/cmii-uav-platform:4.1.6-060601 + imagePullPolicy: Always + name: cmii-uav-platform + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-platform + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-ai-brain + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-ai-brain + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-ai-brain + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-ai-brain + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-ai-brain + image: 10.20.1.130:8033/cmii/cmii-uav-platform-ai-brain:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-ai-brain + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-ai-brain + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-armypeople + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-armypeople + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-armypeople + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-armypeople + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-armypeople + image: 10.20.1.130:8033/cmii/cmii-uav-platform-armypeople:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-armypeople + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-armypeople + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-base + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-base + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-base + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-base + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-base + image: 10.20.1.130:8033/cmii/cmii-uav-platform-base:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-base + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-base + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-cms-portal + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-cms-portal + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-cms-portal + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-cms-portal + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-cms-portal + image: 10.20.1.130:8033/cmii/cmii-uav-platform-cms-portal:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-cms-portal + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-cms-portal + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-detection + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-detection + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-detection + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-detection + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-detection + image: 10.20.1.130:8033/cmii/cmii-uav-platform-detection:4.1.0 + imagePullPolicy: Always + name: cmii-uav-platform-detection + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-detection + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-emergency-rescue + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-emergency-rescue + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-emergency-rescue + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-emergency-rescue + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-emergency-rescue + image: 10.20.1.130:8033/cmii/cmii-uav-platform-emergency-rescue:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-emergency-rescue + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-emergency-rescue + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-logistics + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-logistics + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-logistics + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-logistics + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-logistics + image: 10.20.1.130:8033/cmii/cmii-uav-platform-logistics:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-logistics + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-logistics + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-media + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-media + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-media + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-media + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-media + image: 10.20.1.130:8033/cmii/cmii-uav-platform-media:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-media + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-media + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-multiterminal + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-multiterminal + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-multiterminal + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-multiterminal + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-multiterminal + image: 10.20.1.130:8033/cmii/cmii-uav-platform-multiterminal:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-multiterminal + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-multiterminal + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-mws + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-mws + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-mws + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-mws + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-mws + image: 10.20.1.130:8033/cmii/cmii-uav-platform-mws:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-mws + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-mws + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-oms + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-oms + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-oms + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-oms + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-oms + image: 10.20.1.130:8033/cmii/cmii-uav-platform-oms:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-oms + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-oms + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-open + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-open + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-open + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-open + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-open + image: 10.20.1.130:8033/cmii/cmii-uav-platform-open:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-open + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-open + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-security + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-security + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-security + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-security + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-security + image: 10.20.1.130:8033/cmii/cmii-uav-platform-security:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-security + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-security + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-securityh5 + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-securityh5 + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-securityh5 + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-securityh5 + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-securityh5 + image: 10.20.1.130:8033/cmii/cmii-uav-platform-securityh5:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-securityh5 + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-securityh5 + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-seniclive + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-seniclive + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-seniclive + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-seniclive + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-seniclive + image: 10.20.1.130:8033/cmii/cmii-uav-platform-seniclive:4.1.0 + imagePullPolicy: Always + name: cmii-uav-platform-seniclive + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-seniclive + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-share + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-share + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-share + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-share + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-share + image: 10.20.1.130:8033/cmii/cmii-uav-platform-share:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-share + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-share + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-splice + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-splice + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-splice + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-splice + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-splice + image: 10.20.1.130:8033/cmii/cmii-uav-platform-splice:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-splice + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-splice + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-visualization + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-visualization + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-visualization + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-visualization + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-visualization + image: 10.20.1.130:8033/cmii/cmii-uav-platform-visualization:4.1.0 + imagePullPolicy: Always + name: cmii-uav-platform-visualization + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-visualization + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-process + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-process + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-process + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-process + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-process + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-process:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-process + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-process + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-surveillance + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-surveillance + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 2 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-surveillance + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-surveillance + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-surveillance + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-surveillance:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-surveillance + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-surveillance + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-user + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-user + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-user + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-user + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-user + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-user:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-user + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-user + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-waypoint + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-waypoint + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-waypoint + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-waypoint + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-waypoint + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-waypoint:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-waypoint + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: 1 + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-waypoint + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/managed-by: Helm + cmii.app: live-engine + cmii.type: midware + helm.sh/chart: cmlc-live-live-op-2.0.0 + live-role: op-v2 + name: helm-live-op-v2 + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + live-role: op-v2 + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 25% + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + live-role: op-v2 + spec: + affinity: {} + containers: + - image: 10.20.1.130:8033/cmii/cmii-live-operator:v4.0.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: 8080 + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: operator + ports: + - containerPort: 8080 + name: operator + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: 8080 + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: 4800m + memory: 4Gi + requests: + cpu: 100m + memory: 256Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/bootstrap.yaml + name: srs-conf-file + subPath: bootstrap.yaml + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: live.op.conf + path: bootstrap.yaml + name: helm-live-op-cm-v2 + name: srs-conf-file diff --git a/53-202501-江西扩容/cluster.yml b/53-202501-江西扩容/cluster.yml new file mode 100644 index 0000000..774196f --- /dev/null +++ b/53-202501-江西扩容/cluster.yml @@ -0,0 +1,209 @@ +nodes: + - address: 10.20.1.130 + user: root + role: + - controlplane + - etcd + - worker + internal_address: 10.20.1.130 + labels: + ingress-deploy: true + - address: 10.20.1.133 + user: root + role: + - worker + internal_address: 10.20.1.133 + - address: 10.20.1.134 + user: root + role: + - worker + internal_address: 10.20.1.134 + labels: + mysql-deploy: true + - address: 10.20.1.141 + user: root + role: + - worker + internal_address: 10.20.1.141 + labels: + ingress-deploy: true + - address: 10.20.1.142 + user: root + role: + - worker + internal_address: 10.20.1.142 + labels: + ingress-deploy: true + - address: 10.20.1.144 + user: root + role: + - worker + internal_address: 10.20.1.144 + labels: + ingress-deploy: true + - address: 10.20.1.145 + user: root + role: + - worker + internal_address: 10.20.1.145 + labels: + ingress-deploy: true + + +authentication: + strategy: x509 + sans: + - "10.20.1.130" + +private_registries: + - url: 10.20.1.130:8033 # 私有镜像库地址 + user: admin + password: "V2ryStr@ngPss" + is_default: true + +############################################################################## + +# 默认值为false,如果设置为true,当发现不支持的Docker版本时,RKE不会报错 +ignore_docker_version: true + +# Set the name of the Kubernetes cluster +cluster_name: rke-cluster + +kubernetes_version: v1.20.4-rancher1-1 + +ssh_key_path: /root/.ssh/id_ed25519 +# ssh_key_path: /root/.ssh/id_rsa + +# Enable running cri-dockerd +# Up to Kubernetes 1.23, kubelet contained code called dockershim +# to support Docker runtime. The replacement is called cri-dockerd +# and should be enabled if you want to keep using Docker as your +# container runtime +# Only available to enable in Kubernetes 1.21 and higher +enable_cri_dockerd: true + +services: + etcd: + backup_config: + enabled: false + interval_hours: 72 + retention: 3 + safe_timestamp: false + timeout: 300 + creation: 12h + extra_args: + election-timeout: 5000 + heartbeat-interval: 500 + gid: 0 + retention: 72h + snapshot: false + uid: 0 + + kube-api: + # IP range for any services created on Kubernetes + # This must match the service_cluster_ip_range in kube-controller + service_cluster_ip_range: 172.24.0.0/16 + # Expose a different port range for NodePort services + service_node_port_range: 30000-40000 + always_pull_images: true + pod_security_policy: false + # Add additional arguments to the kubernetes API server + # This WILL OVERRIDE any existing defaults + extra_args: + # Enable audit log to stdout + audit-log-path: "-" + # Increase number of delete workers + delete-collection-workers: 3 + # Set the level of log output to warning-level + v: 1 + kube-controller: + # CIDR pool used to assign IP addresses to pods in the cluster + cluster_cidr: 172.28.0.0/16 + # IP range for any services created on Kubernetes + # This must match the service_cluster_ip_range in kube-api + service_cluster_ip_range: 172.24.0.0/16 + # Add additional arguments to the kubernetes API server + # This WILL OVERRIDE any existing defaults + extra_args: + # Set the level of log output to debug-level + v: 1 + # Enable RotateKubeletServerCertificate feature gate + feature-gates: RotateKubeletServerCertificate=true + # Enable TLS Certificates management + # https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/ + cluster-signing-cert-file: "/etc/kubernetes/ssl/kube-ca.pem" + cluster-signing-key-file: "/etc/kubernetes/ssl/kube-ca-key.pem" + kubelet: + # Base domain for the cluster + cluster_domain: cluster.local + # IP address for the DNS service endpoint + cluster_dns_server: 172.24.0.10 + # Fail if swap is on + fail_swap_on: false + # Set max pods to 250 instead of default 110 + extra_binds: + - "/data/minio-pv:/hostStorage" # 不要修改 为minio的pv添加 + extra_args: + max-pods: 122 + # Optionally define additional volume binds to a service + scheduler: + extra_args: + # Set the level of log output to warning-level + v: 0 + kubeproxy: + extra_args: + # Set the level of log output to warning-level + v: 1 + +authorization: + mode: rbac + +addon_job_timeout: 30 + +# Specify network plugin-in (canal, calico, flannel, weave, or none) +network: + options: + flannel_backend_type: vxlan + flannel_iface: eth0 + flannel_autoscaler_priority_class_name: system-cluster-critical # Available as of RKE v1.2.6+ + flannel_priority_class_name: system-cluster-critical # Available as of RKE v1.2.6+ + plugin: flannel + +# Specify DNS provider (coredns or kube-dns) +dns: + provider: coredns + nodelocal: {} + # Available as of v1.1.0 + update_strategy: + strategy: RollingUpdate + rollingUpdate: + maxUnavailable: 20% + maxSurge: 15% + linear_autoscaler_params: + cores_per_replica: 0.34 + nodes_per_replica: 4 + prevent_single_point_failure: true + min: 2 + max: 3 + +# Specify monitoring provider (metrics-server) +monitoring: + provider: metrics-server + # Available as of v1.1.0 + update_strategy: + strategy: RollingUpdate + rollingUpdate: + maxUnavailable: 8 + +ingress: + provider: nginx + default_backend: true + http_port: 0 + https_port: 0 + extra_envs: + - name: TZ + value: Asia/Shanghai + node_selector: + ingress-deploy: true + options: + use-forwarded-headers: "true" \ No newline at end of file diff --git a/53-202501-江西扩容/批量任务.sh b/53-202501-江西扩容/批量任务.sh new file mode 100644 index 0000000..d3ec167 --- /dev/null +++ b/53-202501-江西扩容/批量任务.sh @@ -0,0 +1,40 @@ + +rm octopus-agent_linux_amd64 +wget http://42.192.52.227:9000/octopus/octopus-agent_linux_amd64 + +host_list=(10.129.80.217) +host_list=(10.20.1.133 10.20.1.134) +host_list=(10.20.1.141 10.20.1.142 10.20.1.144 10.20.1.145) + +for server in "${host_list[@]}";do + echo "current ip is $server" +# scp /home/app/octopus-agent_linux_amd64 app@${server}:/home/app/octopus-agent_linux_amd64 +# scp /root/wdd/disk.sh root@${server}:/root/wdd/ +# ssh root@${server} "bash /root/wdd/disk.sh && lsblk" +# scp /root/wdd/docker-amd64-20.10.15.tgz root@${server}:/root/wdd/docker-amd64-20.10.15.tgz +# scp /root/wdd/docker-compose-linux-x86_64-v2.18.0 root@${server}:/root/wdd/ +# ssh root@${server} "printf 'firewall\n' | octopus-agent --mode=bastion" +# ssh root@${server} "printf 'sysconfig\n' | octopus-agent --mode=bastion" +# ssh root@${server} "printf 'swap\n' | octopus-agent --mode=bastion" +# ssh root@${server} "printf 'selinux\n' | octopus-agent --mode=bastion" +# ssh root@${server} "printf 'docker\n' | octopus-agent --mode=bastion" +# ssh root@${server} "printf 'dockercompose\n' | octopus-agent --mode=bastion" +# scp /etc/docker/daemon.json root@${server}:/etc/docker/daemon.json +# ssh root@${server} "systemctl restart docker" +# ssh root@${server} "docker info" + ssh root@${server} "yum install -y nfs-utils && systemctl enable nfs-client" + +done + + +rm -f /usr/local/bin/octopus-agent +mv -f /home/app/octopus-agent_linux_amd64 /usr/local/bin/octopus-agent +chmod +x /usr/local/bin/octopus-agent + +printf 'sshkey\n' | octopus-agent --mode=bastion +printf 'sshconfig\n' | octopus-agent --mode=bastion + + +# 修改可以使用root登录 +cp /etc/ssh/sshd_config /etc/ssh/sshd_config_back +sed -i \ No newline at end of file diff --git a/54-202501-深圳规自-ARM/2-imageDownSync.sh b/54-202501-深圳规自-ARM/2-imageDownSync.sh new file mode 100644 index 0000000..c5fdd81 --- /dev/null +++ b/54-202501-深圳规自-ARM/2-imageDownSync.sh @@ -0,0 +1,147 @@ +#!/usr/bin/env bash + +### 需要修改以下的内容 ### +#### 需要修改以下的内容 ### +#### 需要修改以下的内容 ### + +cmlc_app_image_list="cmlc-app-images-4.1.6.txt" # 需要修改版本 +rancher_image_list="kubernetes-images-2.5.7-1.20.4.txt" # 一般不需要修改 +middleware_image_list="middleware-images.txt" # 一般不需要修改 +#DockerRegisterDomain="20.47.129.116:8033" # 需要根据实际修改 +DockerRegisterDomain="172.31.2.7:8033/admin" # 需要根据实际修改 +HarborAdminPass=V2ryStr@ngPss # 需要跟第一脚本中的密码保持一致 + +#### 需要修改以上的内容 ### +#### 需要修改以上的内容 ### +#### 需要修改以上的内容 ### + +downloadAllNeededImages() { + while [[ $# > 0 ]]; do + pulled="" + while IFS= read -r i; do + [ -z "${i}" ] && continue + echo "开始下载:${i}" + if docker pull "${i}" >/dev/null 2>&1; then + echo "Image pull success: ${i}" + pulled="${pulled} ${i}" + else + if docker inspect "${i}" >/dev/null 2>&1; then + pulled="${pulled} ${i}" + else + echo "Image pull failed: ${i}" + fi + fi + echo "-------------------------------------------------" + done <"${1}" + shift + done +} + +downloadAllNeededImagesAndCompress() { + while [[ $# > 0 ]]; do + pulled="" + while IFS= read -r i; do + [ -z "${i}" ] && continue + echo "开始下载:${i}" + if docker pull "${i}" >/dev/null 2>&1; then + echo "Image pull success: ${i}" + pulled="${pulled} ${i}" + else + if docker inspect "${i}" >/dev/null 2>&1; then + pulled="${pulled} ${i}" + else + echo "Image pull failed: ${i}" + fi + fi + echo "-------------------------------------------------" + done <"${1}" + compressPacName="$(echo ${1} | cut -d"." -f1).tar.gz" + + echo "Creating ${compressPacName} with $(echo ${pulled} | wc -w | tr -d '[:space:]') images" + docker save $(echo ${pulled}) | gzip --stdout > ${compressPacName} + + shift + done + + + echo "已经完成打包工作!" +} + +pushRKEImageToHarbor(){ + linux_images=() + while IFS= read -r i; do + [ -z "${i}" ] && continue + linux_images+=("${i}"); + done < "${rancher_image_list}" + + docker login -u admin -p ${HarborAdminPass} ${DockerRegisterDomain} + + for i in "${linux_images[@]}"; do + [ -z "${i}" ] && continue + case $i in + */*) + image_name="${DockerRegisterDomain}/${i}" + ;; + *) + image_name="${DockerRegisterDomain}/rancher/${i}" + ;; + esac + + echo "开始镜像至私有仓库推送:${image_name}" + docker tag "${i}" "${image_name}" + docker push "${image_name}" + echo "-------------------------------------------------" + done +} + +pushCMLCAPPImageToHarbor(){ + app_images=() + while IFS= read -r i; do + [ -z "${i}" ] && continue + app_images+=("${i}"); + done < "${cmlc_app_image_list}" + + docker login -u admin -p ${HarborAdminPass} ${DockerRegisterDomain} + for app in "${app_images[@]}"; do + [ -z "${app}" ] && continue + image_name="${DockerRegisterDomain}/$(echo ${app} | cut -d"/" -f2-8)" + echo "开始镜像至私有仓库推送:${image_name}" + docker tag "${app}" "${image_name}" + docker push "${image_name}" + echo "-------------------------------------------------" + done +} + +pushMiddlewareImageToHarbor(){ + middleware_image=() + while IFS= read -r i; do + [ -z "${i}" ] && continue + middleware_image+=("${i}"); + done < "${middleware_image_list}" + + docker login -u admin -p ${HarborAdminPass} ${DockerRegisterDomain} + for app in "${middleware_image[@]}"; do + [ -z "${app}" ] && continue + case ${app} in + */*/*) + image_name="${DockerRegisterDomain}/cmii/$(echo "${app}" | cut -d"/" -f3-8)" + ;; + */*) + image_name="${DockerRegisterDomain}/cmii/$(echo "${app}" | cut -d"/" -f2-8)" + ;; + esac + + echo "开始镜像至私有仓库推送:${image_name}" + docker tag "${app}" "${image_name}" + docker push "${image_name}" + echo "-------------------------------------------------" + done +} + + +#downloadAllNeededImagesAndCompress "${middleware_image_list}" +# downloadAllNeededImages "${rancher_image_list}" + +pushRKEImageToHarbor +#pushCMLCAPPImageToHarbor +#pushMiddlewareImageToHarbor diff --git a/54-202501-深圳规自-ARM/ImageSyncDLTU.sh b/54-202501-深圳规自-ARM/ImageSyncDLTU.sh new file mode 100644 index 0000000..c7d896a --- /dev/null +++ b/54-202501-深圳规自-ARM/ImageSyncDLTU.sh @@ -0,0 +1,168 @@ +#!/bin/bash + +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" + +DockerRegisterDomain="172.31.2.7:8033/admin" # 需要根据实际修改 +HarborAdminPass=V2ryStr@ngPss # 需要跟第一脚本中的密码保持一致 + +print_green() { + echo -e "\033[32m${1}\033[0m" + echo "" +} + +print_red() { + echo -e "\033[31m${1}\033[0m" + echo "" +} + +Download_Load_Tag_Upload() { + print_green "[DLTU] - start !" + while [[ $# -gt 0 ]]; do + case "$1" in + rke) + # print_green "download rke " + local_gzip_path="$local_gzip_path/rke" + mkdir -p ${local_gzip_path} + oss_prefix_url="$oss_prefix_url/rke/" + dltu + shift # past argument + ;; + middle) + local_gzip_path="$local_gzip_path/middle" + mkdir -p $local_gzip_path + oss_prefix_url="$oss_prefix_url/middle/" + dltu + shift # past argument + ;; + cmii) + local_gzip_path="$local_gzip_path/cmii" + mkdir -p $local_gzip_path + oss_prefix_url="$oss_prefix_url/ahejpt/" + dltu + shift # past argument + ;; + *) + # unknown option + print_red "bad arguments" + ;; + esac + done + +} + +dltu() { + print_green "download all image name list and gzip file list!" + cd $local_gzip_path || exit + + rm $all_image_list_txt + rm $gzip_image_list_txt + + wget "$oss_prefix_url$all_image_list_txt" + wget "$oss_prefix_url$gzip_image_list_txt" + + docker login -u admin -p ${HarborAdminPass} ${DockerRegisterDomain} + echo "" + while IFS= read -r i; do + [ -z "${i}" ] && continue + echo "download gzip file =>: $oss_prefix_url${i}" + if wget "$oss_prefix_url${i}" >/dev/null 2>&1; then + echo "Gzip file download success : ${i}" + image_full_name=$(docker load -i ${i} | 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 + + else + print_red "Gzip file download FAILED : ${i}" + fi + echo "-------------------------------------------------" + done <"${gzip_image_list_txt}" + shift + +} + +Load_Tag_Upload(){ + print_green "[LTU] - start to load image from offline !" + + while [[ $# -gt 0 ]]; do + case "$1" in + rke) + # print_green "download rke " + local_gzip_path="$local_gzip_path/rke" + mkdir -p ${local_gzip_path} + oss_prefix_url="$oss_prefix_url/rke/" + ltu + shift # past argument + ;; + middle) + local_gzip_path="$local_gzip_path/middle" + mkdir -p $local_gzip_path + oss_prefix_url="$oss_prefix_url/middle/" + ltu + shift # past argument + ;; + cmii) + local_gzip_path="$local_gzip_path/cmii" + mkdir -p $local_gzip_path + oss_prefix_url="$oss_prefix_url/cmii/" + ltu + shift # past argument + ;; + *) + # unknown option + print_red "bad arguments" + ;; + esac + done + +} + +ltu(){ + 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}') + + docker login -u admin -p ${HarborAdminPass} ${DockerRegisterDomain} + + 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 +} + + +test(){ + app_name=$(echo "nginx:latest" | sed 's|.*/||g') + echo "extract short name is $app_name" +} + +# test +#Download_Load_Tag_Upload "rke" + +Load_Tag_Upload "cmii" \ No newline at end of file diff --git a/54-202501-深圳规自-ARM/disk.sh b/54-202501-深圳规自-ARM/disk.sh new file mode 100644 index 0000000..afea4b9 --- /dev/null +++ b/54-202501-深圳规自-ARM/disk.sh @@ -0,0 +1,49 @@ +#! /bin/bash + +# 关闭虚拟缓存 +swapoff -a +cp -f /etc/fstab /etc/fstab_bak +cat /etc/fstab_bak | grep -v swap >/etc/fstab + + +yum install lvm2 -y +echo "" +echo "" +echo "" +echo "-----------------------------------------------------------------------" + +export VG_NAME=datavg + +echo "n +p + + + +t + +8e +w +" | fdisk /dev/vdb +partprobe +# 如果已经存在卷组,直接进行添加 +# vgextend rootvg /dev/bdb1 +vgcreate ${VG_NAME} /dev/vdb1 +export selfpesize=$(vgdisplay ${VG_NAME} | grep 'Total PE' | awk '{print $3}') +# 大小根据实际情况调整 +lvcreate -l ${selfpesize} -n lvdata ${VG_NAME} +mkfs.xfs /dev/mapper/${VG_NAME}-lvdata +# mkfs.ext4 /dev/mapper/${VG_NAME}-lvdata +mkdir -p /data +mkdir -p /var/lib/docker +#selffstab="/dev/mapper/${VG_NAME}-lvdata /var/lib/docker xfs defaults 0 0" +export selffstab="/dev/mapper/${VG_NAME}-lvdata /var/lib/docker xfs defaults 0 0" +echo "${selffstab}" >> /etc/fstab +mount -a + +echo "" +echo "" +echo "" +df -TH +echo "-----------------------------------------------------------------------" + +lsblk \ No newline at end of file diff --git a/54-202501-深圳规自-ARM/harbor.yml b/54-202501-深圳规自-ARM/harbor.yml new file mode 100644 index 0000000..91178ca --- /dev/null +++ b/54-202501-深圳规自-ARM/harbor.yml @@ -0,0 +1,49 @@ +hostname: 172.31.2.7 + +http: + port: 8033 + +harbor_admin_password: V2ryStr@ngPss + +database: + password: V2ryStr@ngPss + max_idle_conns: 50 + max_open_conns: 1000 + conn_max_lifetime: 3600 + conn_max_idle_time: 3600 + +data_volume: /var/lib/docker/harbor-data + +jobservice: + max_job_workers: 10 + job_loggers: + - STD_OUTPUT + - FILE + logger_sweeper_duration: 3 + +notification: + webhook_job_max_retry: 10 + webhook_job_http_client_timeout: 10 + + +log: + level: warning + local: + rotate_count: 50 + rotate_size: 200M + location: /var/log/harbor + +cache: + enabled: false + expire_hours: 24 + +_version: 2.9.0 + +proxy: + http_proxy: + https_proxy: + no_proxy: + components: + - core + - jobservice + - trivy \ No newline at end of file diff --git a/54-202501-深圳规自-ARM/kubernetes-images-2.5.7-1.20.4.txt b/54-202501-深圳规自-ARM/kubernetes-images-2.5.7-1.20.4.txt new file mode 100644 index 0000000..83fb4ad --- /dev/null +++ b/54-202501-深圳规自-ARM/kubernetes-images-2.5.7-1.20.4.txt @@ -0,0 +1,63 @@ +busybox +rancher/backup-restore-operator:v1.0.3 +rancher/calico-cni:v3.17.2 +rancher/calico-ctl:v3.17.2 +rancher/calico-kube-controllers:v3.17.2 + +rancher/calico-pod2daemon-flexvol:v3.17.2 +rancher/cis-operator:v1.0.3 +rancher/cluster-proportional-autoscaler:1.7.1 +rancher/coredns-coredns:1.8.0 +rancher/coreos-etcd:v3.4.14-rancher1 +rancher/coreos-kube-state-metrics:v1.9.7 +rancher/coreos-prometheus-config-reloader:v0.39.0 +rancher/coreos-prometheus-operator:v0.39.0 +rancher/externalip-webhook:v0.1.6 +rancher/flannel-cni:v0.3.0-rancher6 +rancher/coreos-flannel:v0.13.0-rancher1 +rancher/fleet-agent:v0.3.4 +rancher/fleet:v0.3.4 +rancher/fluentd:v0.1.24 +rancher/grafana-grafana:7.1.5 +rancher/hyperkube:v1.20.4-rancher1 +rancher/jimmidyson-configmap-reload:v0.3.0 +rancher/k8s-dns-dnsmasq-nanny:1.15.2 +rancher/k8s-dns-kube-dns:1.15.2 +rancher/k8s-dns-node-cache:1.15.13 +rancher/k8s-dns-sidecar:1.15.2 +rancher/klipper-lb:v0.1.2 +rancher/kube-api-auth:v0.1.4 +rancher/kubectl:v1.20.4 +rancher/kubernetes-external-dns:v0.7.3 +rancher/cluster-proportional-autoscaler:1.8.1 +rancher/library-busybox:1.31.1 +rancher/library-busybox:1.32.1 +rancher/library-nginx:1.19.2-alpine +rancher/library-traefik:1.7.19 +rancher/local-path-provisioner:v0.0.11 +rancher/local-path-provisioner:v0.0.14 +rancher/local-path-provisioner:v0.0.19 +rancher/log-aggregator:v0.1.7 +rancher/istio-kubectl:1.5.10 +rancher/metrics-server:v0.4.1 +rancher/configmap-reload:v0.3.0-rancher4 +rancher/nginx-ingress-controller-defaultbackend:1.5-rancher1 +rancher/nginx-ingress-controller:nginx-0.43.0-rancher1 +rancher/opa-gatekeeper:v3.1.0-beta.7 +rancher/openzipkin-zipkin:2.14.2 +rancher/pause:3.2 +rancher/plugins-docker:18.09 +rancher/prom-alertmanager:v0.21.0 +rancher/prom-node-exporter:v1.0.1 +rancher/prom-prometheus:v2.18.2 +rancher/prometheus-auth:v0.2.1 +rancher/rancher-agent:v2.5.7 +rancher/rancher-webhook:v0.1.0-beta9 +rancher/rancher:v2.5.7 +rancher/rke-tools:v0.1.72 +rancher/security-scan:v0.1.14 +rancher/security-scan:v0.2.2 +rancher/shell:v0.1.6 +rancher/sonobuoy-sonobuoy:v0.16.3 +rancher/system-upgrade-controller:v0.6.2 + diff --git a/54-202501-深圳规自-ARM/rke-cluster-template.yaml b/54-202501-深圳规自-ARM/rke-cluster-template.yaml new file mode 100644 index 0000000..6d084c5 --- /dev/null +++ b/54-202501-深圳规自-ARM/rke-cluster-template.yaml @@ -0,0 +1,213 @@ +nodes: + - address: 172.31.2.7 + user: root + role: + - controlplane + - etcd + - worker + internal_address: 172.31.2.7 + labels: + ingress-deploy: true + - address: 172.31.2.8 + user: root + role: + - worker + internal_address: 172.31.2.8 + labels: + ingress-deploy: true + - address: 172.31.2.9 + user: root + role: + - worker + internal_address: 172.31.2.9 + labels: + ingress-deploy: true + mysql-deploy: true + + +authentication: + strategy: x509 + sans: + - "172.31.2.7" + +private_registries: + - url: 172.31.2.7:8033/admin # 私有镜像库地址 + user: admin + password: "V2ryStr@ngPss" + is_default: true + +############################################################################## + +# 默认值为false,如果设置为true,当发现不支持的Docker版本时,RKE不会报错 +ignore_docker_version: true + +# Set the name of the Kubernetes cluster +cluster_name: rke-cluster + +kubernetes_version: v1.20.4-rancher1-1 + +ssh_key_path: /root/.ssh/id_ed25519 +#ssh_key_path: /root/.ssh/id_rsa + +# Enable running cri-dockerd +# Up to Kubernetes 1.23, kubelet contained code called dockershim +# to support Docker runtime. The replacement is called cri-dockerd +# and should be enabled if you want to keep using Docker as your +# container runtime +# Only available to enable in Kubernetes 1.21 and higher +enable_cri_dockerd: true + +services: + etcd: + backup_config: + enabled: false + interval_hours: 72 + retention: 3 + safe_timestamp: false + timeout: 300 + creation: 12h + extra_args: + election-timeout: 5000 + heartbeat-interval: 500 + gid: 0 + retention: 72h + snapshot: false + uid: 0 + + kube-api: + # IP range for any services created on Kubernetes + # This must match the service_cluster_ip_range in kube-controller + service_cluster_ip_range: 10.24.0.0/16 + # Expose a different port range for NodePort services + service_node_port_range: 30000-40000 + always_pull_images: true + pod_security_policy: false + # Add additional arguments to the kubernetes API server + # This WILL OVERRIDE any existing defaults + extra_args: + # Enable audit log to stdout + audit-log-path: "-" + # Increase number of delete workers + delete-collection-workers: 3 + # Set the level of log output to warning-level + v: 1 + kube-controller: + # CIDR pool used to assign IP addresses to pods in the cluster + cluster_cidr: 10.28.0.0/16 + # IP range for any services created on Kubernetes + # This must match the service_cluster_ip_range in kube-api + service_cluster_ip_range: 10.24.0.0/16 + # Add additional arguments to the kubernetes API server + # This WILL OVERRIDE any existing defaults + extra_args: + # Set the level of log output to debug-level + v: 1 + # Enable RotateKubeletServerCertificate feature gate + feature-gates: RotateKubeletServerCertificate=true + # Enable TLS Certificates management + # https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/ + cluster-signing-cert-file: "/etc/kubernetes/ssl/kube-ca.pem" + cluster-signing-key-file: "/etc/kubernetes/ssl/kube-ca-key.pem" + kubelet: + # Base domain for the cluster + cluster_domain: cluster.local + # IP address for the DNS service endpoint + cluster_dns_server: 10.24.0.10 + # Fail if swap is on + fail_swap_on: false + # Set max pods to 250 instead of default 110 + extra_binds: + - "/data/minio-pv:/hostStorage" # 不要修改 为minio的pv添加 + extra_args: + max-pods: 122 + # Optionally define additional volume binds to a service + scheduler: + extra_args: + # Set the level of log output to warning-level + v: 0 + kubeproxy: + extra_args: + # Set the level of log output to warning-level + v: 1 + +authorization: + mode: rbac + +addon_job_timeout: 30 + +# Specify network plugin-in (canal, calico, flannel, weave, or none) +network: + options: + flannel_backend_type: vxlan + flannel_iface: enp4s0 + flannel_autoscaler_priority_class_name: system-cluster-critical # Available as of RKE v1.2.6+ + flannel_priority_class_name: system-cluster-critical # Available as of RKE v1.2.6+ + plugin: flannel + +# Specify DNS provider (coredns or kube-dns) +dns: + provider: coredns + nodelocal: {} + # Available as of v1.1.0 + update_strategy: + strategy: RollingUpdate + rollingUpdate: + maxUnavailable: 20% + maxSurge: 15% + linear_autoscaler_params: + cores_per_replica: 0.34 + nodes_per_replica: 4 + prevent_single_point_failure: true + min: 2 + max: 3 + +# Specify monitoring provider (metrics-server) +monitoring: + provider: metrics-server + # Available as of v1.1.0 + update_strategy: + strategy: RollingUpdate + rollingUpdate: + maxUnavailable: 8 + +ingress: + provider: nginx + default_backend: true + http_port: 0 + https_port: 0 + extra_envs: + - name: TZ + value: Asia/Shanghai + node_selector: + ingress-deploy: true + options: + use-forwarded-headers: "true" + access-log-path: /var/log/nginx/access.log + client-body-timeout: '6000' + compute-full-forwarded-for: 'true' + enable-underscores-in-headers: 'true' + log-format-escape-json: 'true' + log-format-upstream: >- + { "msec": "$msec", "connection": "$connection", "connection_requests": + "$connection_requests", "pid": "$pid", "request_id": "$request_id", + "request_length": "$request_length", "remote_addr": "$remote_addr", + "remote_user": "$remote_user", "remote_port": "$remote_port", + "http_x_forwarded_for": "$http_x_forwarded_for", "time_local": + "$time_local", "time_iso8601": "$time_iso8601", "request": "$request", + "request_uri": "$request_uri", "args": "$args", "status": "$status", + "body_bytes_sent": "$body_bytes_sent", "bytes_sent": "$bytes_sent", + "http_referer": "$http_referer", "http_user_agent": "$http_user_agent", + "http_host": "$http_host", "server_name": "$server_name", "request_time": + "$request_time", "upstream": "$upstream_addr", "upstream_connect_time": + "$upstream_connect_time", "upstream_header_time": "$upstream_header_time", + "upstream_response_time": "$upstream_response_time", + "upstream_response_length": "$upstream_response_length", + "upstream_cache_status": "$upstream_cache_status", "ssl_protocol": + "$ssl_protocol", "ssl_cipher": "$ssl_cipher", "scheme": "$scheme", + "request_method": "$request_method", "server_protocol": "$server_protocol", + "pipe": "$pipe", "gzip_ratio": "$gzip_ratio", "http_cf_ray": "$http_cf_ray", + "geoip_country_code": "$geoip_country_code" } + proxy-body-size: 5120m + proxy-read-timeout: '6000' + proxy-send-timeout: '6000' + diff --git a/54-202501-深圳规自-ARM/sshd_配置修改.sh b/54-202501-深圳规自-ARM/sshd_配置修改.sh new file mode 100644 index 0000000..95f3c95 --- /dev/null +++ b/54-202501-深圳规自-ARM/sshd_配置修改.sh @@ -0,0 +1,9 @@ +#!/bin/bash + + +sed -i "s/AllowTcpForwarding no/AllowTcpForwarding yes/g" /etc/ssh/sshd_config +sed -i "s/AllowAgentForwarding no/AllowAgentForwarding yes/g" /etc/ssh/sshd_config +sed -i "s/StrictModes yes/StrictModes no/g" /etc/ssh/sshd_config +systemctl restart sshd + +hostnamectl set-hostname 172-31-2-8 \ No newline at end of file diff --git a/54-202501-深圳规自-ARM/信息备份.tx b/54-202501-深圳规自-ARM/信息备份.tx new file mode 100644 index 0000000..3e56b89 --- /dev/null +++ b/54-202501-深圳规自-ARM/信息备份.tx @@ -0,0 +1,16 @@ +https://172.31.2.7:39999 + +eyJhbGciOiJSUzI1NiIsImtpZCI6IkQ2SExTeWxObkxTMllFQ0Z5ZTMwakpaS01FbHFnSzc5RWY0cVJVVXNfOGcifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJrdWJlLXN5c3RlbSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJhZG1pbi11c2VyLXRva2VuLWxrNjRnIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQubmFtZSI6ImFkbWluLXVzZXIiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiJkZmM1YWE4NC05NWRlLTRjOTUtYmVmNi1jOWNlYjdjMzc3ZjQiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6a3ViZS1zeXN0ZW06YWRtaW4tdXNlciJ9.JOyeNRJHdOMeP1PRfi6x0LMfu6XiuSEIXTVRF0T2xNzv9thdEzjbFZA9j6GI4fWyKZb4IO0xABzjVbkYRW_KIUSosDT0QzngqIq6L1O3gGBgzDKlGpBNFvrbxZgwxcJir_piSP23uvOlMSW9uv4GMLEZixcwNmy_zVVwPbEtrBLSGWwZK9nfa2tYpWesUO70OdWXdP7lW6MRN4i_8RD37-85RY_YD_pYAYGiJtf9cIW6ao630a9RO7nuCDdUuNa9REjYUQqt9ksS_PL277k27e1UBV0yBxKYMxpwhqD4QshfXBMHw56K5F9syGdP7NosBmFmtcHCblEb5nNTHzatJw + +journalctl -u nfs-server -n 100 -f +journalctl -u nfs-idmapd.service -n 100 -f + +systemctl status nfs-server + +docker image ls | grep redis + +docker tag bitnami/redis:6.2.6-debian-10-r0 172.31.2.7:8033/admin/cmii/redis:6.2.6-debian-10-r0 + +docker push 172.31.2.7:8033/admin/cmii/redis:6.2.6-debian-10-r0 + +docker image inspect 172.31.2.7:8033/admin/cmii/rabbitmq:3.9.12-debian-10-r3 \ No newline at end of file diff --git a/54-202501-深圳规自-ARM/批量执行脚本.sh b/54-202501-深圳规自-ARM/批量执行脚本.sh new file mode 100644 index 0000000..41ef9be --- /dev/null +++ b/54-202501-深圳规自-ARM/批量执行脚本.sh @@ -0,0 +1,31 @@ + + + + +yum remove docker net-tools iputils bind-utils lsof curl wget vim mtr htop + +mv octopus-agent_linux_arm64 /usr/local/bin/octopus-agent +chmod +x /usr/local/bin/octopus-agent + +host_list=(172.31.2.7 172.31.2.8 172.31.2.9) + +host_list=(172.31.2.8 172.31.2.9) +for server in "${host_list[@]}";do + echo "current ip is $server" + # ssh root@${server} "printf 'firewall\n' | octopus-agent --mode=bastion" + # ssh root@${server} "printf 'sysconfig\n' | octopus-agent --mode=bastion" + # ssh root@${server} "printf 'swap\n' | octopus-agent --mode=bastion" + # ssh root@${server} "printf 'selinux\n' | octopus-agent --mode=bastion" + # ssh root@${server} "printf 'sshkey\n' | octopus-agent --mode=bastion" + # ssh root@${server} "printf 'docker\n' | octopus-agent --mode=bastion" + #ssh root@${server} "mkdir /root/wdd" + # scp /root/wdd/disk.sh root@${server}:/root/wdd/ + # ssh root@${server} "bash /root/wdd/disk.sh && lsblk" + # ssh root@${server} "yum install -y rpcbind net-tools iputils bind-utils lsof curl wget vim mtr htop docker docker-compose" + scp /etc/docker/daemon.json root@${server}:/etc/docker/ + ssh root@${server} "systemctl restart docker && sleep 3 && docker info" +done + +docker container stop $(docker ps -qa) +printf "y/n" | docker container prune +docker image rmi $(docker image ls -qa) --force \ No newline at end of file diff --git a/54-202501-深圳规自-ARM/离线资料下载.txt b/54-202501-深圳规自-ARM/离线资料下载.txt new file mode 100644 index 0000000..5210880 --- /dev/null +++ b/54-202501-深圳规自-ARM/离线资料下载.txt @@ -0,0 +1,29 @@ + + +https://oss.demo.uavcmlc.com/cmlc-installation/arm64/harbor-offline-installer-aarch64-v2.12.2.tgz + +https://oss.demo.uavcmlc.com/cmlc-installation/arm64/harbor-offline-installer-aarch64-v2.12.2.tgz + +https://oss.demo.uavcmlc.com/cmlc-installation/arm64/middleware-images.tar.gz +https://oss.demo.uavcmlc.com/cmlc-installation/arm64/middleware-images-arm64.tar.gz + + +https://oss.demo.uavcmlc.com/cmlc-installation/arm64/ts2mp4_docker_image_arm64_v1.0.0.tar.gz +https://oss.demo.uavcmlc.com/cmlc-installation/arm64/docker_release_ts2mp4_arm64.tar.gz +https://oss.demo.uavcmlc.com/cmlc-installation/arm64/go1.23.5.linux-arm64.tar.gz +https://oss.demo.uavcmlc.com/cmlc-installation/arm64/harbor-offline-installer-aarch64-v2.12.2.tgz +https://oss.demo.uavcmlc.com/cmlc-installation/arm64/mino-arm-RELEASE.2023-06-02T23-17-26Z.tar.gz + +https://oss.demo.uavcmlc.com/cmlc-installation/arm64/kubernetes-rke-tools.75.tar.gz + +https://oss.demo.uavcmlc.com/cmlc-installation/arm64/kubectl-1.20.4-arm64 +https://oss.demo.uavcmlc.com/cmlc-installation/arm64/rke_linux-arm64 + + +mc cp cmlc=cmii=cmii-uav-sense-adapter=6.2.0-szgz-arm.tar.gz demo/cmlc-installation/6.2.0-szgz-arm +mc cp cmlc=cmii=cmii-uav-advanced5g=6.2.0-szgz-arm.tar.gz demo/cmlc-installation/6.2.0-szgz-arm +mc cp cmlc=cmii=cmii-uav-mission=6.2.0-szgz-arm.tar.gz demo/cmlc-installation/6.2.0-szgz-arm + +demo/cmlc-installation/6.2.0-szgz-arm + +mc ls demo/cmlc-installation/arm64 \ No newline at end of file diff --git a/54-202501-深圳规自-ARM/部署yaml/k8s-backend.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-backend.yaml new file mode 100644 index 0000000..3a84dfb --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/k8s-backend.yaml @@ -0,0 +1,6762 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-clusters + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-clusters + image: 172.31.2.7:8033/admin/cmii/cmii-uav-clusters:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-clusters + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-clusters + namespace: szgz + 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.2.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-advanced5g + namespace: szgz + labels: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-advanced5g + image: 172.31.2.7:8033/admin/cmii/cmii-uav-advanced5g:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - name: APPLICATION_NAME + value: cmii-uav-advanced5g + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-advanced5g + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-advanced5g + namespace: szgz + labels: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-integration + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-integration + image: 172.31.2.7:8033/admin/cmii/cmii-uav-integration:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-integration + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-integration + namespace: szgz + 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.2.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-cms + namespace: szgz + 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: 6.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cms + image: 172.31.2.7:8033/admin/cmii/cmii-uav-cms:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: 6.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-cms + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cms + namespace: szgz + 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: 6.2.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-uavms-security-center + namespace: szgz + labels: + cmii.type: backend + cmii.app: cmii-uavms-security-center + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uavms-security-center + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uavms-security-center + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uavms-security-center + image: 172.31.2.7:8033/admin/cmii/cmii-uavms-security-center:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - name: APPLICATION_NAME + value: cmii-uavms-security-center + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uavms-security-center + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uavms-security-center + namespace: szgz + labels: + cmii.type: backend + cmii.app: cmii-uavms-security-center + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uavms-security-center + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-app-release + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-app-release + image: 172.31.2.7:8033/admin/cmii/cmii-app-release:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-app-release + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-app-release + namespace: szgz + 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.2.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-mqtthandler + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mqtthandler + image: 172.31.2.7:8033/admin/cmii/cmii-uav-mqtthandler:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-mqtthandler + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mqtthandler + namespace: szgz + 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.2.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-manage + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-manage + image: 172.31.2.7:8033/admin/cmii/cmii-uav-grid-manage:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-grid-manage + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-manage + namespace: szgz + 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.2.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-industrial-portfolio + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-industrial-portfolio + image: 172.31.2.7:8033/admin/cmii/cmii-uav-industrial-portfolio:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-industrial-portfolio + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-industrial-portfolio + namespace: szgz + 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.2.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-emergency + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-emergency + image: 172.31.2.7:8033/admin/cmii/cmii-uav-emergency:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-emergency + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-emergency + namespace: szgz + 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.2.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-user + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-user + image: 172.31.2.7:8033/admin/cmii/cmii-uav-user:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-user + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-user + namespace: szgz + 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.2.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-material-warehouse + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-material-warehouse + image: 172.31.2.7:8033/admin/cmii/cmii-uav-material-warehouse:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-material-warehouse + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-material-warehouse + namespace: szgz + 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.2.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: szgz + 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: 6.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-data + image: 172.31.2.7:8033/admin/cmii/cmii-admin-data:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: 6.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-admin-data + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-data + namespace: szgz + 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: 6.2.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-airspace + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-airspace + image: 172.31.2.7:8033/admin/cmii/cmii-uav-airspace:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-airspace + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-airspace + namespace: szgz + 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.2.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-gateway + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gateway + image: 172.31.2.7:8033/admin/cmii/cmii-uav-gateway:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-gateway + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gateway + namespace: szgz + 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.2.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-iot-dispatcher + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-iot-dispatcher + image: 172.31.2.7:8033/admin/cmii/cmii-uav-iot-dispatcher:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-iot-dispatcher + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-iot-dispatcher + namespace: szgz + 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.2.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-sense-adapter + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sense-adapter + image: 172.31.2.7:8033/admin/cmii/cmii-uav-sense-adapter:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-sense-adapter + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sense-adapter + namespace: szgz + 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.2.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-data-post-process + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-data-post-process + image: 172.31.2.7:8033/admin/cmii/cmii-uav-data-post-process:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-data-post-process + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-data-post-process + namespace: szgz + 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.2.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-kpi-monitor + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-kpi-monitor + image: 172.31.2.7:8033/admin/cmii/cmii-uav-kpi-monitor:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-kpi-monitor + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-kpi-monitor + namespace: szgz + 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.2.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-multilink + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-multilink + image: 172.31.2.7:8033/admin/cmii/cmii-uav-multilink:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-multilink + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-multilink + namespace: szgz + 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.2.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-depotautoreturn + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-depotautoreturn + image: 172.31.2.7:8033/admin/cmii/cmii-uav-depotautoreturn:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-depotautoreturn + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-depotautoreturn + namespace: szgz + 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.2.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-suav-supervision + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-supervision + image: 172.31.2.7:8033/admin/cmii/cmii-suav-supervision:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-suav-supervision + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-supervision + namespace: szgz + 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.2.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-grid-datasource + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-datasource + image: 172.31.2.7:8033/admin/cmii/cmii-uav-grid-datasource:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-grid-datasource + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-datasource + namespace: szgz + 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.2.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-notice + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-notice + image: 172.31.2.7:8033/admin/cmii/cmii-uav-notice:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-notice + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-notice + namespace: szgz + 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.2.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-oauth + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-oauth + image: 172.31.2.7:8033/admin/cmii/cmii-uav-oauth:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-oauth + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-oauth + namespace: szgz + 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.2.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-gateway + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-gateway + image: 172.31.2.7:8033/admin/cmii/cmii-admin-gateway:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-admin-gateway + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-gateway + namespace: szgz + 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.2.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-uas-gateway + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-gateway + image: 172.31.2.7:8033/admin/cmii/cmii-uas-gateway:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uas-gateway + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-gateway + namespace: szgz + 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.2.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-logger + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-logger + image: 172.31.2.7:8033/admin/cmii/cmii-uav-logger:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-logger + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-logger + namespace: szgz + 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.2.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: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-user + image: 172.31.2.7:8033/admin/cmii/cmii-admin-user:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-admin-user + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-user + namespace: szgz + 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.2.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: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-process + image: 172.31.2.7:8033/admin/cmii/cmii-uav-process:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-process + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-process + namespace: szgz + 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.2.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-developer + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-developer + image: 172.31.2.7:8033/admin/cmii/cmii-uav-developer:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-developer + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-developer + namespace: szgz + 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.2.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-sky-converge + namespace: szgz + labels: + cmii.type: backend + cmii.app: cmii-sky-converge + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-sky-converge + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-sky-converge + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-sky-converge + image: 172.31.2.7:8033/admin/cmii/cmii-sky-converge:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - name: APPLICATION_NAME + value: cmii-sky-converge + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-sky-converge + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-sky-converge + namespace: szgz + labels: + cmii.type: backend + cmii.app: cmii-sky-converge + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-sky-converge + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-engine + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-engine + image: 172.31.2.7:8033/admin/cmii/cmii-uav-grid-engine:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-grid-engine + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-engine + namespace: szgz + 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.2.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-bridge + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-bridge + image: 172.31.2.7:8033/admin/cmii/cmii-uav-bridge:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-bridge + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-bridge + namespace: szgz + 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.2.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-surveillance + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-surveillance + image: 172.31.2.7:8033/admin/cmii/cmii-uav-surveillance:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-surveillance + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-surveillance + namespace: szgz + 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.2.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: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-waypoint + image: 172.31.2.7:8033/admin/cmii/cmii-uav-waypoint:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-waypoint + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-waypoint + namespace: szgz + 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.2.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: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-lifecycle + image: 172.31.2.7:8033/admin/cmii/cmii-uas-lifecycle:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uas-lifecycle + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-lifecycle + namespace: szgz + 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.2.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: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-device + image: 172.31.2.7:8033/admin/cmii/cmii-uav-device:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-device + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-device + namespace: szgz + 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.2.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-fwdd + namespace: szgz + labels: + cmii.type: backend + cmii.app: cmii-uav-fwdd + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-fwdd + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-fwdd + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-fwdd + image: 172.31.2.7:8033/admin/cmii/cmii-uav-fwdd:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - name: APPLICATION_NAME + value: cmii-uav-fwdd + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-fwdd + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-fwdd + namespace: szgz + labels: + cmii.type: backend + cmii.app: cmii-uav-fwdd + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-fwdd + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gis-server + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gis-server + image: 172.31.2.7:8033/admin/cmii/cmii-uav-gis-server:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-gis-server + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gis-server + namespace: szgz + 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.2.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-tower + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-tower + image: 172.31.2.7:8033/admin/cmii/cmii-uav-tower:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-tower + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-tower + namespace: szgz + 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.2.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-alarm + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-alarm + image: 172.31.2.7:8033/admin/cmii/cmii-uav-alarm:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-alarm + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-alarm + namespace: szgz + 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.2.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-cloud-live + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cloud-live + image: 172.31.2.7:8033/admin/cmii/cmii-uav-cloud-live:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-cloud-live + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cloud-live + namespace: szgz + 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.2.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-open-gateway + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-open-gateway + image: 172.31.2.7:8033/admin/cmii/cmii-open-gateway:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-open-gateway + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-open-gateway + namespace: szgz + 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.2.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-brain + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-brain + image: 172.31.2.7:8033/admin/cmii/cmii-uav-brain:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-brain + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-brain + namespace: szgz + 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.2.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-mission + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mission + image: 172.31.2.7:8033/admin/cmii/cmii-uav-mission:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-mission + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mission + namespace: szgz + 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.2.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-sync + namespace: szgz + 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.2.0 +spec: + replicas: 0 + 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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sync + image: 172.31.2.7:8033/admin/cmii/cmii-uav-sync:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-sync + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sync + namespace: szgz + 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.2.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-threedsimulation + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-threedsimulation + image: 172.31.2.7:8033/admin/cmii/cmii-uav-threedsimulation:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-threedsimulation + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-threedsimulation + namespace: szgz + 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.2.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-autowaypoint + namespace: szgz + 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.2.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: + - szgz + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-autowaypoint + image: 172.31.2.7:8033/admin/cmii/cmii-uav-autowaypoint:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: szgz/cmii-uav-autowaypoint + volumes: + - name: nfs-backend-log-volume + emptyDir: {} +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-autowaypoint + namespace: szgz + 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.2.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 diff --git a/54-202501-深圳规自-ARM/部署yaml/k8s-configmap.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-configmap.yaml new file mode 100644 index 0000000..b98dbfd --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/k8s-configmap.yaml @@ -0,0 +1,602 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-securityh5 + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "securityh5", + AppClientId: "APP_N3ImO0Ubfu9peRHD" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-threedsimulation + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "threedsimulation", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-jiangsuwenlv + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "jiangsuwenlv", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uasms + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "uasms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-classification + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "classification", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-ai-brain + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "ai-brain", + AppClientId: "APP_rafnuCAmBESIVYMH" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-cmsportal + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "cmsportal", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-detection + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "detection", + AppClientId: "APP_FDHW2VLVDWPnnOCy" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-logistics + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "logistics", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-traffic + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "traffic", + AppClientId: "APP_Jc8i2wOQ1t73QEJS" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qinghaitourism + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "qinghaitourism", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-eventsh5 + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "eventsh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-mianyangbackend + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "mianyangbackend", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-armypeople + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "armypeople", + AppClientId: "APP_UIegse6Lfou9pO1U" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-media + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "media", + AppClientId: "APP_4AU8lbifESQO4FD6" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-multiterminal + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "multiterminal", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-open + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "open", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dispatchh5 + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "dispatchh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-secenter + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "secenter", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pangu + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-oms + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "oms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-seniclive + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "seniclive", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-scanner + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "scanner", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-renyike + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "renyike", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-emergency + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "emergency", + AppClientId: "APP_aGsTAY1uMZrpKdfk" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pilot2cloud + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "pilot2cloud", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-blockchain + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "blockchain", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uavmsmanager + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "uavmsmanager", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervisionh5 + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "supervisionh5", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-base + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "base", + AppClientId: "APP_9LY41OaKSqk2btY0" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-mws + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "mws", + AppClientId: "APP_uKniXPELlRERBBwK" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uas + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "uas", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervision + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "supervision", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-security + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "security", + AppClientId: "APP_JUSEMc7afyWXxvE7" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-splice + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "splice", + AppClientId: "APP_zE0M3sTRXrCIJS8Y" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hyper + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "hyper", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-smsecret + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "smsecret", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dikongzhixingh5 + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "dikongzhixingh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-share + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "share", + AppClientId: "APP_4lVSVI0ZGxTssir8" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qingdao + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "qingdao", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hljtt + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "hljtt", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-visualization + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "visualization", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-smauth + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "smauth", + AppClientId: "empty" + } diff --git a/54-202501-深圳规自-ARM/部署yaml/k8s-dashboard.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-dashboard.yaml new file mode 100644 index 0000000..a8c4bd5 --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/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: 172.31.2.7:8033/admin/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: 172.31.2.7:8033/admin/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/54-202501-深圳规自-ARM/部署yaml/k8s-emqx.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-emqx.yaml new file mode 100644 index 0000000..2f55a18 --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/k8s-emqx.yaml @@ -0,0 +1,277 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-emqxs + namespace: szgz +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-emqxs-env + namespace: szgz + 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: 6.2.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: "szgz" + 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: szgz + 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: 6.2.0 +data: + emqx_auth_mnesia.conf: |- + auth.mnesia.password_hash = sha256 + + # clientid 认证数据 + # auth.client.1.clientid = admin + # auth.client.1.password = odD8#Ve7.B + # auth.client.2.clientid = cmlc + # auth.client.2.password = odD8#Ve7.B + + ## 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: szgz + 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: 6.2.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: 6.2.0 + spec: + affinity: {} + imagePullSecrets: + - name: harborsecret + serviceAccountName: helm-emqxs + containers: + - name: helm-emqxs + image: 172.31.2.7:8033/admin/cmii/emqx:4.4.19 + 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 + emptyDir: {} + # 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: szgz +rules: + - apiGroups: + - "" + resources: + - endpoints + verbs: + - get + - watch + - list +--- +kind: RoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: helm-emqxs + namespace: szgz +subjects: + - kind: ServiceAccount + name: helm-emqxs + namespace: szgz +roleRef: + kind: Role + name: helm-emqxs + apiGroup: rbac.authorization.k8s.io +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-emqxs + namespace: szgz + 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: 6.2.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: szgz + 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: 6.2.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/54-202501-深圳规自-ARM/部署yaml/k8s-frontend.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-frontend.yaml new file mode 100644 index 0000000..4412311 --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/k8s-frontend.yaml @@ -0,0 +1,2873 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: nginx-cm + namespace: szgz + 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-hljtt + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-hljtt:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-uavms-platform-manager + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-manager + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-manager + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-manager + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uavms-platform-manager + image: 172.31.2.7:8033/admin/cmii/cmii-uavms-platform-manager:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - name: APPLICATION_NAME + value: cmii-uavms-platform-manager + 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-uavmsmanager + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uavms-platform-manager + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-manager + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uavms-platform-manager + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-oms + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-oms:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-logistics + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-logistics:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-ai-brain + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-ai-brain:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-pilot2-to-cloud + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-pilot2-to-cloud + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-pilot2-to-cloud + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-pilot2-to-cloud + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-pilot2-to-cloud + image: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-pilot2-to-cloud:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - name: APPLICATION_NAME + value: cmii-uav-platform-pilot2-to-cloud + 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-pilot2cloud + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-pilot2-to-cloud + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-pilot2-to-cloud + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + 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-media + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-media:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-emergency-rescue + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-emergency-rescue:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-share + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-share:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-qingdao + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-qingdao:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-uasms + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-uasms:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-visualization + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-visualization:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-base + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-base:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-security + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-security:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-splice + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-splice:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-detection + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-detection:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-mws + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-mws:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-seniclive + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-seniclive:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-suav-platform-supervisionh5 + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-suav-platform-supervisionh5:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-uavms-platform-security-center + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-security-center + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-security-center + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-security-center + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uavms-platform-security-center + image: 172.31.2.7:8033/admin/cmii/cmii-uavms-platform-security-center:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - name: APPLICATION_NAME + value: cmii-uavms-platform-security-center + 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-secenter + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uavms-platform-security-center + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-security-center + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uavms-platform-security-center + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-qinghaitourism:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-dispatchh5 + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-dispatchh5:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-uas + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-uas:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-jiangsuwenlv:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-securityh5:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-multiterminal + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-multiterminal:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-supervision + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-suav-platform-supervision:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-armypeople + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-armypeople:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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 + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-open + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-open:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-cms-portal + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-cms-portal:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-threedsimulation + namespace: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: 172.31.2.7:8033/admin/cmii/cmii-uav-platform-threedsimulation:6.2.0-szgz-arm + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: szgz + - 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: szgz + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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 diff --git a/54-202501-深圳规自-ARM/部署yaml/k8s-ingress.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-ingress.yaml new file mode 100644 index 0000000..4d3693b --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/k8s-ingress.yaml @@ -0,0 +1,730 @@ +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: frontend-applications-ingress + namespace: szgz + labels: + type: frontend + octopus.control: all-ingress-config-wdd + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 6.2.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 ^(/blockchain)$ $1/ redirect; + rewrite ^(/classification)$ $1/ redirect; + rewrite ^(/cmsportal)$ $1/ redirect; + rewrite ^(/detection)$ $1/ redirect; + rewrite ^(/dikongzhixingh5)$ $1/ redirect; + rewrite ^(/dispatchh5)$ $1/ redirect; + rewrite ^(/emergency)$ $1/ redirect; + rewrite ^(/eventsh5)$ $1/ redirect; + rewrite ^(/hljtt)$ $1/ redirect; + rewrite ^(/hyper)$ $1/ redirect; + rewrite ^(/jiangsuwenlv)$ $1/ redirect; + rewrite ^(/logistics)$ $1/ redirect; + rewrite ^(/media)$ $1/ redirect; + rewrite ^(/mianyangbackend)$ $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 ^(/renyike)$ $1/ redirect; + rewrite ^(/scanner)$ $1/ redirect; + rewrite ^(/security)$ $1/ redirect; + rewrite ^(/securityh5)$ $1/ redirect; + rewrite ^(/seniclive)$ $1/ redirect; + rewrite ^(/share)$ $1/ redirect; + rewrite ^(/smauth)$ $1/ redirect; + rewrite ^(/smsecret)$ $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; + rewrite ^(/uavmsmanager)$ $1/ redirect; + rewrite ^(/secenter)$ $1/ redirect; +spec: + rules: + - host: fake-domain.szgz.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: /blockchain/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-blockchain + servicePort: 9528 + - path: /classification/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-classification + 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: /dikongzhixingh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-dikongzhixingh5 + 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: /eventsh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-eventsh5 + 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: /mianyangbackend/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-mianyangbackend + 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: /renyike/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-renyike + servicePort: 9528 + - path: /scanner/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-scanner + 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: /smauth/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-smauth + servicePort: 9528 + - path: /smsecret/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-smsecret + 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 + - path: /uavmsmanager/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uavms-platform-manager + servicePort: 9528 + - path: /secenter/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uavms-platform-security-center + servicePort: 9528 +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: backend-applications-ingress + namespace: szgz + labels: + type: backend + octopus.control: all-ingress-config-wdd + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 6.2.0 + annotations: + kubernetes.io/ingress.class: "nginx" + nginx.ingress.kubernetes.io/enable-cors: "true" +spec: + rules: + - host: cmii-admin-data.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-data + servicePort: 8080 + - host: cmii-admin-gateway.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-gateway + servicePort: 8080 + - host: cmii-admin-user.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-user + servicePort: 8080 + - host: cmii-app-release.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-app-release + servicePort: 8080 + - host: cmii-open-gateway.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-open-gateway + servicePort: 8080 + - host: cmii-sky-converge.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-sky-converge + servicePort: 8080 + - host: cmii-suav-supervision.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-suav-supervision + servicePort: 8080 + - host: cmii-uas-gateway.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-gateway + servicePort: 8080 + - host: cmii-uas-lifecycle.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-lifecycle + servicePort: 8080 + - host: cmii-uav-advanced5g.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-advanced5g + servicePort: 8080 + - host: cmii-uav-airspace.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-airspace + servicePort: 8080 + - host: cmii-uav-alarm.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-alarm + servicePort: 8080 + - host: cmii-uav-autowaypoint.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-autowaypoint + servicePort: 8080 + - host: cmii-uav-brain.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-brain + servicePort: 8080 + - host: cmii-uav-bridge.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-bridge + servicePort: 8080 + - host: cmii-uav-cloud-live.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-cloud-live + servicePort: 8080 + - host: cmii-uav-clusters.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-clusters + servicePort: 8080 + - host: cmii-uav-cms.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-cms + servicePort: 8080 + - host: cmii-uav-data-post-process.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-data-post-process + servicePort: 8080 + - host: cmii-uav-depotautoreturn.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-depotautoreturn + servicePort: 8080 + - host: cmii-uav-developer.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-developer + servicePort: 8080 + - host: cmii-uav-device.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-device + servicePort: 8080 + - host: cmii-uav-emergency.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-emergency + servicePort: 8080 + - host: cmii-uav-fwdd.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-fwdd + servicePort: 8080 + - host: cmii-uav-gateway.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gateway + servicePort: 8080 + - host: cmii-uav-gis-server.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gis-server + servicePort: 8080 + - host: cmii-uav-grid-datasource.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-datasource + servicePort: 8080 + - host: cmii-uav-grid-engine.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-engine + servicePort: 8080 + - host: cmii-uav-grid-manage.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-manage + servicePort: 8080 + - host: cmii-uav-industrial-portfolio.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-industrial-portfolio + servicePort: 8080 + - host: cmii-uav-integration.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-integration + servicePort: 8080 + - host: cmii-uav-iot-dispatcher.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-iot-dispatcher + servicePort: 8080 + - host: cmii-uav-kpi-monitor.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-kpi-monitor + servicePort: 8080 + - host: cmii-uav-logger.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-logger + servicePort: 8080 + - host: cmii-uav-material-warehouse.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-material-warehouse + servicePort: 8080 + - host: cmii-uav-mission.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-mission + servicePort: 8080 + - host: cmii-uav-mqtthandler.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-mqtthandler + servicePort: 8080 + - host: cmii-uav-multilink.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-multilink + servicePort: 8080 + - host: cmii-uav-notice.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-notice + servicePort: 8080 + - host: cmii-uav-oauth.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-oauth + servicePort: 8080 + - host: cmii-uav-process.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-process + servicePort: 8080 + - host: cmii-uav-sense-adapter.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sense-adapter + servicePort: 8080 + - host: cmii-uav-surveillance.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-surveillance + servicePort: 8080 + - host: cmii-uav-sync.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sync + servicePort: 8080 + - host: cmii-uav-threedsimulation.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-threedsimulation + servicePort: 8080 + - host: cmii-uav-tower.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-tower + servicePort: 8080 + - host: cmii-uav-user.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-user + servicePort: 8080 + - host: cmii-uav-waypoint.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-waypoint + servicePort: 8080 + - host: cmii-uavms-security-center.uavcloud-szgz.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uavms-security-center + servicePort: 8080 +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: all-gateways-ingress + namespace: szgz + labels: + type: api-gateway + octopus.control: all-ingress-config-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 6.2.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 upgradePrefix $http_upgrade; + proxy_set_header Connection "upgradePrefix"; +spec: + rules: + - host: fake-domain.szgz.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/54-202501-深圳规自-ARM/部署yaml/k8s-mongo.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-mongo.yaml new file mode 100644 index 0000000..01352a6 --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/k8s-mongo.yaml @@ -0,0 +1,77 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mongo + namespace: szgz + 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: 6.2.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: szgz + 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: 6.2.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: 6.2.0 + annotations: + pod.alpha.kubernetes.io/initialized: "true" + spec: + imagePullSecrets: + - name: harborsecret + affinity: {} + containers: + - name: helm-mongo + image: 172.31.2.7:8033/admin/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 + emptyDir: {} +--- diff --git a/54-202501-深圳规自-ARM/部署yaml/k8s-mysql.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-mysql.yaml new file mode 100644 index 0000000..52b804a --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/k8s-mysql.yaml @@ -0,0 +1,410 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-mysql + namespace: szgz + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: szgz + app.kubernetes.io/managed-by: octopus + annotations: {} +secrets: + - name: helm-mysql +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-mysql + namespace: szgz + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: szgz + 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: szgz + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: szgz + 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: szgz + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: szgz + 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: szgz + labels: + app.kubernetes.io/component: primary + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/name: mysql-db + app.kubernetes.io/release: szgz + 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: szgz + cmii.app: mysql + cmii.type: middleware + type: ClusterIP +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mysql-headless + namespace: szgz + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: szgz + 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: szgz + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mysql + namespace: szgz + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: szgz + 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: szgz + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-mysql + namespace: szgz + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: szgz + 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: szgz + 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: szgz + 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: 172.31.2.7:8033/admin/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: 172.31.2.7:8033/admin/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/szgz/ diff --git a/54-202501-深圳规自-ARM/部署yaml/k8s-nacos.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-nacos.yaml new file mode 100644 index 0000000..e704ef3 --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/k8s-nacos.yaml @@ -0,0 +1,130 @@ +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-nacos-cm + namespace: szgz + labels: + cmii.app: helm-nacos + cmii.type: middleware + octopus.control: nacos-wdd + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/version: 6.2.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: szgz + labels: + cmii.app: helm-nacos + cmii.type: middleware + octopus.control: nacos-wdd + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/version: 6.2.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: szgz + labels: + cmii.app: helm-nacos + cmii.type: middleware + octopus.control: nacos-wdd + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/version: 6.2.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: 6.2.0 + annotations: + pod.alpha.kubernetes.io/initialized: "true" + spec: + imagePullSecrets: + - name: harborsecret + affinity: {} + containers: + - name: nacos-server + image: 172.31.2.7:8033/admin/cmii/nacos-server:v2.1.2-slim + 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/54-202501-深圳规自-ARM/部署yaml/k8s-nfs-test.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-nfs-test.yaml new file mode 100644 index 0000000..7c7f726 --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/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: 172.31.2.7:8033/admin/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/54-202501-深圳规自-ARM/部署yaml/k8s-nfs.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-nfs.yaml new file mode 100644 index 0000000..eec15fb --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/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: 172.31.2.7:8033/admin/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: 172.31.2.7 + - name: NFS_PATH + value: /var/lib/docker/nfs_data + volumes: + - name: nfs-client-root + nfs: + server: 172.31.2.7 + path: /var/lib/docker/nfs_data diff --git a/54-202501-深圳规自-ARM/部署yaml/k8s-pvc.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-pvc.yaml new file mode 100644 index 0000000..b53f995 --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/k8s-pvc.yaml @@ -0,0 +1,76 @@ +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: nfs-backend-log-pvc + namespace: szgz + 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: 6.2.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 100Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: helm-emqxs + namespace: szgz + labels: + cmii.type: middleware-base + cmii.app: helm-emqxs + helm.sh/chart: all-persistence-volume-claims-1.1.0 + app.kubernetes.io/version: 6.2.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 20Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: helm-mongo + namespace: szgz + labels: + cmii.type: middleware-base + cmii.app: helm-mongo + helm.sh/chart: all-persistence-volume-claims-1.1.0 + app.kubernetes.io/version: 6.2.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 30Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: helm-rabbitmq + namespace: szgz + labels: + cmii.type: middleware-base + cmii.app: helm-rabbitmq + helm.sh/chart: all-persistence-volume-claims-1.1.0 + app.kubernetes.io/version: 6.2.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 20Gi diff --git a/54-202501-深圳规自-ARM/部署yaml/k8s-rabbitmq.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-rabbitmq.yaml new file mode 100644 index 0000000..b3ec31d --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/k8s-rabbitmq.yaml @@ -0,0 +1,329 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-rabbitmq + namespace: szgz + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: szgz + app.kubernetes.io/managed-by: rabbitmq +automountServiceAccountToken: true +secrets: + - name: helm-rabbitmq +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-rabbitmq + namespace: szgz + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: szgz + 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: szgz + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: szgz + 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: szgz + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: szgz + 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: szgz + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: szgz + 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: szgz + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: szgz + 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: szgz + publishNotReadyAddresses: true +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-rabbitmq + namespace: szgz + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: szgz + 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: szgz +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-rabbitmq + namespace: szgz + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: szgz + 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: szgz + template: + metadata: + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: szgz + 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: 172.31.2.7:8033/admin/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: 172.31.2.7:8033/admin/cmii/rabbitmq:3.11.26-debian-11-r2 + 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 + emptyDir: {} + # persistentVolumeClaim: + # claimName: helm-rabbitmq diff --git a/54-202501-深圳规自-ARM/部署yaml/k8s-redis.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-redis.yaml new file mode 100644 index 0000000..3f1a18e --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/k8s-redis.yaml @@ -0,0 +1,591 @@ +--- +apiVersion: v1 +kind: ServiceAccount +automountServiceAccountToken: true +metadata: + name: helm-redis + namespace: szgz + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: szgz + app.kubernetes.io/managed-by: octopus +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-redis + namespace: szgz + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: szgz + app.kubernetes.io/managed-by: octopus +type: Opaque +data: + redis-password: "TWNhY2hlQDQ1MjI=" +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-redis-configuration + namespace: szgz + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: szgz + 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: szgz + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: szgz + 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: szgz + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: szgz + app.kubernetes.io/managed-by: octopus +data: + start-master.sh: | + #!/bin/bash + + # Set memory swappiness to 0 + echo never > /sys/fs/cgroup/memory/memory.swappiness + + [[ -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") + ARGS+=("--memory-swappiness" "0") # 添加这一行 + 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: szgz + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: szgz + 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: szgz +--- +# Source: outside-deploy/charts/redis-db/templates/master/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: helm-redis-master + namespace: szgz + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: szgz + 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: szgz + 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: szgz + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: szgz + 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: szgz + 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: szgz + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: szgz + 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: szgz + 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: szgz + 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: 172.31.2.7:8033/admin/cmii/redis:6.2.14-debian-11-r1 + imagePullPolicy: "Always" + securityContext: + runAsUser: 1001 + command: + - /bin/bash + args: + - -c + - /opt/bitnami/scripts/start-scripts/start-master.sh + env: + - name: BITNAMI_DEBUG + value: "true" + - name: REDIS_REPLICATION_MODE + value: master + - name: ALLOW_EMPTY_PASSWORD + value: "no" + - name: MEMORY-SWAPPINESS + 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: "2" + memory: 8Gi + 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: szgz + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: szgz + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/component: replica +spec: + replicas: 0 + selector: + matchLabels: + app.kubernetes.io/name: redis-db + app.kubernetes.io/release: szgz + 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: szgz + 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: 172.31.2.7:8033/admin/cmii/redis:6.2.14-debian-11-r1 + 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.szgz.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: "2" + memory: 8Gi + 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/54-202501-深圳规自-ARM/部署yaml/k8s-srs.yaml b/54-202501-深圳规自-ARM/部署yaml/k8s-srs.yaml new file mode 100644 index 0000000..5144b37 --- /dev/null +++ b/54-202501-深圳规自-ARM/部署yaml/k8s-srs.yaml @@ -0,0 +1,496 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: helm-live-srs-cm + namespace: szgz + 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://172.31.2.7:8088; + } + } +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srs-svc-exporter + namespace: szgz + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: rtmp + protocol: TCP + port: 31935 + targetPort: 31935 + 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: szgz + 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: szgz + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: rtmp + protocol: TCP + port: 31935 + targetPort: 31935 + selector: + srs-role: rtc + type: ClusterIP + sessionAffinity: None + +--- +kind: StatefulSet +apiVersion: apps/v1 +metadata: + name: helm-live-srs-rtc + namespace: szgz + 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: 172.31.2.7:8033/admin/cmii/srs:v5.0.195 + ports: + - name: srs-rtmp + containerPort: 31935 + 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: 172.31.2.7 + 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: szgz/helm-live/dvr + - name: srs-vol + mountPath: /home/hls + subPath: szgz/helm-live/hls + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + - name: oss-adaptor + image: 172.31.2.7:8033/admin/cmii/cmii-srs-oss-adaptor:v5.2.0-arm + env: + - name: OSS_ENDPOINT + value: 'http://172.31.2.9: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: szgz/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: szgz + 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: 172.31.2.7:8033/admin/cmii/cmii-live-operator:v5.2.0-arm + 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: szgz + 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: szgz + 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: szgz + 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: 6.2.0 + scanPackage: com.cmii.live.op + cloud: + nacos: + config: + username: nacos + password: KingKong@95461234 + server-addr: helm-nacos:8848 + extension-configs: + - data-id: cmii-live-operator.yml + group: 6.2.0 + refresh: true + shared-configs: + - data-id: cmii-backend-system.yml + group: 6.2.0 + refresh: true + discovery: + enabled: false + + live: + engine: + type: srs + endpoint: 'http://helm-live-srs-svc:1985' + proto: + rtmp: 'rtmp://172.31.2.7:31935' + rtsp: 'rtsp://172.31.2.7:30554' + srt: 'srt://172.31.2.7:30556' + flv: 'http://172.31.2.7:30500' + hls: 'http://172.31.2.7:30500' + rtc: 'webrtc://172.31.2.7:30080' + replay: 'https://172.31.2.7:30333' + minio: + endpoint: http://172.31.2.9:9000 + access-key: cmii + secret-key: B#923fC7mk + bucket: live-cluster-hls diff --git a/55-202501-DEMO迁移/0-批量命令 b/55-202501-DEMO迁移/0-批量命令 new file mode 100644 index 0000000..a7f38a3 --- /dev/null +++ b/55-202501-DEMO迁移/0-批量命令 @@ -0,0 +1,24 @@ +#!/bin/bash + + +kubectl scale deployment --all --replicas=0 -n uavcloud-dev +kubectl scale statefulset --all --replicas=0 -n uavcloud-dev + +kubectl scale deployment --all --replicas=0 -n uavcloud-devflight +kubectl scale statefulset --all --replicas=0 -n uavcloud-devflight + + +kubectl scale deployment --all --replicas=0 -n uavcloud-devoperation +kubectl scale statefulset --all --replicas=0 -n uavcloud-devoperation + +export name_space=uavcloud-devflight +export name_space=uavcloud-devoperation +export name_space=uavcloud-dev + +kubectl delete pods -n $name_space --field-selector status.phase!=Running --force + +kubectl get pods -n $name_space -o json | jq -r '.items[] | select(.status.containerStatuses[0].ready == false) | .metadata.name' | xargs -r kubectl delete pod -n $name_space --force + + + +/var/lib/docker/containers/8380daef87f894cdc0ba98f0b528c39945f6d5c603129fe68fd7f00132d89001/8380daef87f894cdc0ba98f0b528c39945f6d5c603129fe68fd7f00132d89001-json.log \ No newline at end of file diff --git a/55-202501-DEMO迁移/harbor-secret.yaml b/55-202501-DEMO迁移/harbor-secret.yaml new file mode 100644 index 0000000..7cbd608 --- /dev/null +++ b/55-202501-DEMO迁移/harbor-secret.yaml @@ -0,0 +1,9 @@ +kind: Secret +apiVersion: v1 +metadata: + name: harborsecret + namespace: uavcloud-demo +data: + .dockerconfigjson: >- + ewoJImF1dGhzIjogewoJCSJoYXJib3ItcWEuc3JlLmNkY3l5LmNuIjogewoJCQkiYXV0aCI6ICJjbUZrTURKZlpISnZibVU2UkhKdmJtVkFNVEl6TkE9PSIKCQl9LAogICAgICAgICAgICAgICAgImhhcmJvci5jZGN5eS5jb20uY24iOiB7CgkJCSJhdXRoIjogImNtRmtNREpmWkhKdmJtVTZSSEp2Ym1WQU1USXpOQT09IgoJCX0KCX0sCgkiSHR0cEhlYWRlcnMiOiB7CgkJIlVzZXItQWdlbnQiOiAiRG9ja2VyLUNsaWVudC8xOS4wMy45IChsaW51eCkiCgl9Cn0= +type: kubernetes.io/dockerconfigjson diff --git a/55-202501-DEMO迁移/k8s-redis-uas.yaml b/55-202501-DEMO迁移/k8s-redis-uas.yaml new file mode 100644 index 0000000..9da3bd8 --- /dev/null +++ b/55-202501-DEMO迁移/k8s-redis-uas.yaml @@ -0,0 +1,585 @@ +--- +apiVersion: v1 +kind: ServiceAccount +automountServiceAccountToken: true +metadata: + name: helm-redis-uas + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + app.kubernetes.io/managed-by: octopus +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-redis-uas + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + app.kubernetes.io/managed-by: octopus +type: Opaque +data: + redis-password: "TWNhY2hlQDQ1MjI=" +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-redis-uas-configuration + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-uas-health + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-uas-scripts + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-uas-headless + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo +--- +# Source: outside-deploy/charts/redis-db/templates/master/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: helm-redis-uas-master + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + 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-uas-replicas + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + app.kubernetes.io/component: replica +--- +# Source: outside-deploy/charts/redis-db/templates/master/statefulset.yaml +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-redis-uas-master + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + cmii.type: middleware + cmii.app: redis + app.kubernetes.io/component: master + serviceName: helm-redis-uas-headless + updateStrategy: + rollingUpdate: { } + type: RollingUpdate + template: + metadata: + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-uas + 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-uas + 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: 4Gi + requests: + cpu: "2" + memory: 4Gi + 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-uas-scripts + defaultMode: 0755 + - name: health + configMap: + name: helm-redis-uas-health + defaultMode: 0755 + - name: config + configMap: + name: helm-redis-uas-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-uas-replicas + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + app.kubernetes.io/component: replica + serviceName: helm-redis-uas-headless + updateStrategy: + rollingUpdate: { } + type: RollingUpdate + template: + metadata: + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-uas + 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-uas-master-0.helm-redis-uas-headless.uavcloud-demo.svc.cluster.local + - name: REDIS_MASTER_PORT_NUMBER + value: "6379" + - name: ALLOW_EMPTY_PASSWORD + value: "no" + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + name: helm-redis-uas + key: redis-password + - name: REDIS_MASTER_PASSWORD + valueFrom: + secretKeyRef: + name: helm-redis-uas + 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: 4Gi + requests: + cpu: "2" + memory: 4Gi + 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-uas-scripts + defaultMode: 0755 + - name: health + configMap: + name: helm-redis-uas-health + defaultMode: 0755 + - name: config + configMap: + name: helm-redis-uas-configuration + - name: redis-tmp-conf + emptyDir: { } + - name: redis-data + emptyDir: { } + diff --git a/55-202501-DEMO迁移/新增的项目.yaml b/55-202501-DEMO迁移/新增的项目.yaml new file mode 100644 index 0000000..d9a7b25 --- /dev/null +++ b/55-202501-DEMO迁移/新增的项目.yaml @@ -0,0 +1,180 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-mianyangh5 + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mianyangh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mianyangh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mianyangh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-mianyangh5 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mianyangh5:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-platform-mianyangh5 + 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-mianyangh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-mianyangh5 + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mianyangh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-mianyangh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-mianyangbackend + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mianyangbackend + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mianyangbackend + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mianyangbackend + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-mianyangbackend + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mianyangbackend:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-platform-mianyangbackend + 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-mianyangbackend + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-mianyangbackend + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mianyangbackend + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-mianyangbackend + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- \ No newline at end of file diff --git a/55-202501-DEMO迁移/部署yaml/k8s-backend.yaml b/55-202501-DEMO迁移/部署yaml/k8s-backend.yaml new file mode 100644 index 0000000..44f87c5 --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/k8s-backend.yaml @@ -0,0 +1,6672 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-gateway + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uas-gateway + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-industrial-portfolio + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-industrial-portfolio + image: harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-industrial-portfolio + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-airspace + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-airspace + image: harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-airspace + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-material-warehouse + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-material-warehouse + image: harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-material-warehouse + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-user + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-user + image: harbor.cdcyy.com.cn/cmii/cmii-uav-user:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-user + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-bridge + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-bridge + image: harbor.cdcyy.com.cn/cmii/cmii-uav-bridge:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-bridge + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-uavms-security-center + namespace: uavcloud-demo + labels: + cmii.type: backend + cmii.app: cmii-uavms-security-center + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uavms-security-center + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uavms-security-center + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uavms-security-center + image: harbor.cdcyy.com.cn/cmii/cmii-uavms-security-center:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uavms-security-center + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/cmii-uavms-security-center + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uavms-security-center + namespace: uavcloud-demo + labels: + cmii.type: backend + cmii.app: cmii-uavms-security-center + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uavms-security-center + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-device + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-device + image: harbor.cdcyy.com.cn/cmii/cmii-uav-device:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-device + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-multilink + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-multilink + image: harbor.cdcyy.com.cn/cmii/cmii-uav-multilink:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-multilink + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-supervision + image: harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-suav-supervision + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-developer + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-developer + image: harbor.cdcyy.com.cn/cmii/cmii-uav-developer:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-developer + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-mission + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mission + image: harbor.cdcyy.com.cn/cmii/cmii-uav-mission:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-mission + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-oauth + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-oauth + image: harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-oauth + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-autowaypoint + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-autowaypoint + image: harbor.cdcyy.com.cn/cmii/cmii-uav-autowaypoint:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-autowaypoint + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-cms + namespace: uavcloud-demo + 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: 6.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-cms:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-cms + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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: 6.2.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-waypoint + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-waypoint + image: harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-waypoint + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-grid-datasource + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-datasource + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-grid-datasource + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-sync + namespace: uavcloud-demo + 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.2.0 +spec: + replicas: 0 + 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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sync + image: harbor.cdcyy.com.cn/cmii/cmii-uav-sync:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-sync + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-process + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-process + image: harbor.cdcyy.com.cn/cmii/cmii-uav-process:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-process + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-surveillance + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-surveillance + image: harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:6.2.0-0113 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-surveillance + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-emergency + image: harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-emergency + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-cloud-live + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cloud-live + image: harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-cloud-live + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-sense-adapter + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sense-adapter + image: harbor.cdcyy.com.cn/cmii/cmii-uav-sense-adapter:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-sense-adapter + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-integration + namespace: uavcloud-demo + 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.2.0 +spec: + replicas: 1 + 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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-integration + image: harbor.cdcyy.com.cn/cmii/cmii-uav-integration:6.2.0-0127 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-integration + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-kpi-monitor + image: harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-kpi-monitor + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-threedsimulation + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-threedsimulation + image: harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-threedsimulation + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-grid-manage + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-manage + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-grid-manage + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-admin-data + namespace: uavcloud-demo + 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: 6.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-data + image: harbor.cdcyy.com.cn/cmii/cmii-admin-data:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-admin-data + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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: 6.2.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-data-post-process + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-data-post-process + image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-data-post-process + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-mqtthandler + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mqtthandler + image: harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-mqtthandler + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-tower + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-tower + image: harbor.cdcyy.com.cn/cmii/cmii-uav-tower:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-tower + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-admin-user + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-user + image: harbor.cdcyy.com.cn/cmii/cmii-admin-user:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-admin-user + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-app-release + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-app-release + image: harbor.cdcyy.com.cn/cmii/cmii-app-release:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-app-release + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-uav-gateway:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-gateway + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-alarm + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-alarm + image: harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-alarm + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-lifecycle + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-lifecycle + image: harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uas-lifecycle + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gis-server + image: harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-gis-server + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-fwdd + namespace: uavcloud-demo + labels: + cmii.type: backend + cmii.app: cmii-uav-fwdd + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-fwdd + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-fwdd + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-fwdd + image: harbor.cdcyy.com.cn/cmii/cmii-uav-fwdd:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-fwdd + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/cmii-uav-fwdd + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-fwdd + namespace: uavcloud-demo + labels: + cmii.type: backend + cmii.app: cmii-uav-fwdd + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-fwdd + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-logger + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-logger + image: harbor.cdcyy.com.cn/cmii/cmii-uav-logger:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-logger + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-depotautoreturn + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-depotautoreturn + image: harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-depotautoreturn + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-notice + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-notice + image: harbor.cdcyy.com.cn/cmii/cmii-uav-notice:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-notice + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-clusters + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-clusters + image: harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-clusters + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-admin-gateway + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-admin-gateway:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-admin-gateway + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-open-gateway + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-open-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-open-gateway:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-open-gateway + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-grid-engine + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-engine + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-grid-engine + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-advanced5g + namespace: uavcloud-demo + labels: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-advanced5g + image: harbor.cdcyy.com.cn/cmii/cmii-uav-advanced5g:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-advanced5g + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/cmii-uav-advanced5g + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-advanced5g + namespace: uavcloud-demo + labels: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-brain + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-brain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-brain:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-brain + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.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-iot-dispatcher + namespace: uavcloud-demo + 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.2.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.demo + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-iot-dispatcher + image: harbor.cdcyy.com.cn/cmii/cmii-uav-iot-dispatcher:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-iot-dispatcher + - name: CUST_JAVA_OPTS + value: "-Xms1500m -Xmx3500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 4Gi + cpu: "6" + requests: + memory: 1500Mi + cpu: "2" + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-demo/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-demo + 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.2.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-iot-dispatcher + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 diff --git a/55-202501-DEMO迁移/部署yaml/k8s-configmap.yaml b/55-202501-DEMO迁移/部署yaml/k8s-configmap.yaml new file mode 100644 index 0000000..bc596fe --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/k8s-configmap.yaml @@ -0,0 +1,574 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qinghaitourism + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "qinghaitourism", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dispatchh5 + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "dispatchh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-securityh5 + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "securityh5", + AppClientId: "APP_N3ImO0Ubfu9peRHD" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-threedsimulation + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "threedsimulation", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-smsecret + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "smsecret", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-classification + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "classification", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-seniclive + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "seniclive", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-share + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "share", + AppClientId: "APP_4lVSVI0ZGxTssir8" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-traffic + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "traffic", + AppClientId: "APP_Jc8i2wOQ1t73QEJS" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-visualization + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "visualization", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uasms + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "uasms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-secenter + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "secenter", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-logistics + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "logistics", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-mws + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "mws", + AppClientId: "APP_uKniXPELlRERBBwK" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-jiangsuwenlv + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "jiangsuwenlv", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervision + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "supervision", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-detection + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "detection", + AppClientId: "APP_FDHW2VLVDWPnnOCy" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-oms + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "oms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qingdao + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "qingdao", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-smauth + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "smauth", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-mianyangbackend + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "mianyangbackend", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dikongzhixingh5 + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "dikongzhixingh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-armypeople + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "armypeople", + AppClientId: "APP_UIegse6Lfou9pO1U" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-media + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "media", + AppClientId: "APP_4AU8lbifESQO4FD6" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uas + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "uas", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pangu + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-base + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "base", + AppClientId: "APP_9LY41OaKSqk2btY0" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-open + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "open", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-security + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "security", + AppClientId: "APP_JUSEMc7afyWXxvE7" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-blockchain + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "blockchain", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-eventsh5 + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "eventsh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervisionh5 + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "supervisionh5", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-cmsportal + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "cmsportal", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-multiterminal + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "multiterminal", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-splice + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "splice", + AppClientId: "APP_zE0M3sTRXrCIJS8Y" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hljtt + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "hljtt", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pilot2cloud + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "pilot2cloud", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hyper + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "hyper", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-scanner + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "scanner", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-ai-brain + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "ai-brain", + AppClientId: "APP_rafnuCAmBESIVYMH" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-emergency + namespace: uavcloud-demo +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "emergency", + AppClientId: "APP_aGsTAY1uMZrpKdfk" + } diff --git a/55-202501-DEMO迁移/部署yaml/k8s-dashboard.yaml b/55-202501-DEMO迁移/部署yaml/k8s-dashboard.yaml new file mode 100644 index 0000000..5131e2d --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/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: harbor.cdcyy.com.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: harbor.cdcyy.com.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/55-202501-DEMO迁移/部署yaml/k8s-emqx.yaml b/55-202501-DEMO迁移/部署yaml/k8s-emqx.yaml new file mode 100644 index 0000000..d97e7a7 --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/k8s-emqx.yaml @@ -0,0 +1,276 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-emqxs + namespace: uavcloud-demo +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-emqxs-env + namespace: uavcloud-demo + 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: 6.2.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-demo" + 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-demo + 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: 6.2.0 +data: + emqx_auth_mnesia.conf: |- + auth.mnesia.password_hash = sha256 + + # clientid 认证数据 + auth.client.1.clientid = admin + auth.client.1.password = odD8#Cr628 + auth.client.2.clientid = cmlc + auth.client.2.password = odD8#Cr628 + + ## username 认证数据 + auth.user.1.username = admin + auth.user.1.password = odD8#Cr628 + auth.user.2.username = cmlc + auth.user.2.password = odD8#Cr628 + + 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: uavcloud-demo + 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: 6.2.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: 6.2.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_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: uavcloud-demo +rules: + - apiGroups: + - "" + resources: + - endpoints + verbs: + - get + - watch + - list +--- +kind: RoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: helm-emqxs + namespace: uavcloud-demo +subjects: + - kind: ServiceAccount + name: helm-emqxs + namespace: uavcloud-demo +roleRef: + kind: Role + name: helm-emqxs + apiGroup: rbac.authorization.k8s.io +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-emqxs + namespace: uavcloud-demo + 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: 6.2.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: uavcloud-demo + 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: 6.2.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/55-202501-DEMO迁移/部署yaml/k8s-frontend.yaml b/55-202501-DEMO迁移/部署yaml/k8s-frontend.yaml new file mode 100644 index 0000000..f7369ef --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/k8s-frontend.yaml @@ -0,0 +1,2784 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: nginx-cm + namespace: uavcloud-demo + 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-open + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-media + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-dispatchh5 + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-dispatchh5:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-jiangsuwenlv + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-uavms-platform-security-center + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-security-center + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-security-center + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-security-center + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uavms-platform-security-center + image: harbor.cdcyy.com.cn/cmii/cmii-uavms-platform-security-center:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uavms-platform-security-center + 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-secenter + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uavms-platform-security-center + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-security-center + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uavms-platform-security-center + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-mws + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-supervisionh5 + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-oms + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-logistics + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-splice + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-multiterminal + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-supervision + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-pilot2-to-cloud + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-pilot2-to-cloud + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-pilot2-to-cloud + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-pilot2-to-cloud + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-pilot2-to-cloud + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-pilot2-to-cloud:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-platform-pilot2-to-cloud + 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-pilot2cloud + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-pilot2-to-cloud + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-pilot2-to-cloud + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-seniclive + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-emergency-rescue + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-base + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-securityh5 + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-uasms + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-visualization + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-threedsimulation + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-cms-portal + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-hljtt + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-detection + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-share + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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-qingdao + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.2.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.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - 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-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.2.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 diff --git a/55-202501-DEMO迁移/部署yaml/k8s-ingress.yaml b/55-202501-DEMO迁移/部署yaml/k8s-ingress.yaml new file mode 100644 index 0000000..ec4b676 --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/k8s-ingress.yaml @@ -0,0 +1,720 @@ +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: frontend-applications-ingress + namespace: uavcloud-demo + labels: + type: frontend + octopus.control: all-ingress-config-wdd + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 6.2.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 ^(/blockchain)$ $1/ redirect; + rewrite ^(/classification)$ $1/ redirect; + rewrite ^(/cmsportal)$ $1/ redirect; + rewrite ^(/detection)$ $1/ redirect; + rewrite ^(/dikongzhixingh5)$ $1/ redirect; + rewrite ^(/dispatchh5)$ $1/ redirect; + rewrite ^(/emergency)$ $1/ redirect; + rewrite ^(/eventsh5)$ $1/ redirect; + rewrite ^(/hljtt)$ $1/ redirect; + rewrite ^(/hyper)$ $1/ redirect; + rewrite ^(/jiangsuwenlv)$ $1/ redirect; + rewrite ^(/logistics)$ $1/ redirect; + rewrite ^(/media)$ $1/ redirect; + rewrite ^(/mianyangbackend)$ $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 ^(/scanner)$ $1/ redirect; + rewrite ^(/security)$ $1/ redirect; + rewrite ^(/securityh5)$ $1/ redirect; + rewrite ^(/seniclive)$ $1/ redirect; + rewrite ^(/share)$ $1/ redirect; + rewrite ^(/smauth)$ $1/ redirect; + rewrite ^(/smsecret)$ $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; + rewrite ^(/secenter)$ $1/ redirect; +spec: + rules: + - host: www.demo.uavcmlc.com + 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: /blockchain/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-blockchain + servicePort: 9528 + - path: /classification/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-classification + 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: /dikongzhixingh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-dikongzhixingh5 + 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: /eventsh5/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-eventsh5 + 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: /mianyangbackend/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-mianyangbackend + 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: /scanner/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-scanner + 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: /smauth/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-smauth + servicePort: 9528 + - path: /smsecret/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-smsecret + 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 + - path: /secenter/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uavms-platform-security-center + servicePort: 9528 +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: backend-applications-ingress + namespace: uavcloud-demo + labels: + type: backend + octopus.control: all-ingress-config-wdd + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 6.2.0 + annotations: + kubernetes.io/ingress.class: "nginx" + nginx.ingress.kubernetes.io/enable-cors: "true" +spec: + rules: + - host: cmii-admin-data.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-data + servicePort: 8080 + - host: cmii-admin-gateway.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-gateway + servicePort: 8080 + - host: cmii-admin-user.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-user + servicePort: 8080 + - host: cmii-app-release.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-app-release + servicePort: 8080 + - host: cmii-open-gateway.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-open-gateway + servicePort: 8080 + - host: cmii-suav-supervision.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-suav-supervision + servicePort: 8080 + - host: cmii-uas-gateway.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-gateway + servicePort: 8080 + - host: cmii-uas-lifecycle.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-lifecycle + servicePort: 8080 + - host: cmii-uav-advanced5g.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-advanced5g + servicePort: 8080 + - host: cmii-uav-airspace.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-airspace + servicePort: 8080 + - host: cmii-uav-alarm.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-alarm + servicePort: 8080 + - host: cmii-uav-autowaypoint.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-autowaypoint + servicePort: 8080 + - host: cmii-uav-brain.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-brain + servicePort: 8080 + - host: cmii-uav-bridge.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-bridge + servicePort: 8080 + - host: cmii-uav-cloud-live.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-cloud-live + servicePort: 8080 + - host: cmii-uav-clusters.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-clusters + servicePort: 8080 + - host: cmii-uav-cms.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-cms + servicePort: 8080 + - host: cmii-uav-data-post-process.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-data-post-process + servicePort: 8080 + - host: cmii-uav-depotautoreturn.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-depotautoreturn + servicePort: 8080 + - host: cmii-uav-developer.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-developer + servicePort: 8080 + - host: cmii-uav-device.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-device + servicePort: 8080 + - host: cmii-uav-emergency.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-emergency + servicePort: 8080 + - host: cmii-uav-fwdd.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-fwdd + servicePort: 8080 + - host: cmii-uav-gateway.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gateway + servicePort: 8080 + - host: cmii-uav-gis-server.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gis-server + servicePort: 8080 + - host: cmii-uav-grid-datasource.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-datasource + servicePort: 8080 + - host: cmii-uav-grid-engine.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-engine + servicePort: 8080 + - host: cmii-uav-grid-manage.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-manage + servicePort: 8080 + - host: cmii-uav-industrial-portfolio.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-industrial-portfolio + servicePort: 8080 + - host: cmii-uav-integration.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-integration + servicePort: 8080 + - host: cmii-uav-iot-dispatcher.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-iot-dispatcher + servicePort: 8080 + - host: cmii-uav-kpi-monitor.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-kpi-monitor + servicePort: 8080 + - host: cmii-uav-logger.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-logger + servicePort: 8080 + - host: cmii-uav-material-warehouse.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-material-warehouse + servicePort: 8080 + - host: cmii-uav-mission.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-mission + servicePort: 8080 + - host: cmii-uav-mqtthandler.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-mqtthandler + servicePort: 8080 + - host: cmii-uav-multilink.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-multilink + servicePort: 8080 + - host: cmii-uav-notice.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-notice + servicePort: 8080 + - host: cmii-uav-oauth.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-oauth + servicePort: 8080 + - host: cmii-uav-process.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-process + servicePort: 8080 + - host: cmii-uav-sense-adapter.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sense-adapter + servicePort: 8080 + - host: cmii-uav-surveillance.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-surveillance + servicePort: 8080 + - host: cmii-uav-sync.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sync + servicePort: 8080 + - host: cmii-uav-threedsimulation.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-threedsimulation + servicePort: 8080 + - host: cmii-uav-tower.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-tower + servicePort: 8080 + - host: cmii-uav-user.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-user + servicePort: 8080 + - host: cmii-uav-waypoint.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-waypoint + servicePort: 8080 + - host: cmii-uavms-security-center.uavcloud-demo.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uavms-security-center + servicePort: 8080 +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: all-gateways-ingress + namespace: uavcloud-demo + labels: + type: api-gateway + octopus.control: all-ingress-config-1.1.0 + app.kubernetes.io/managed-by: octopus-control + app.kubernetes.io/version: 6.2.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: www.demo.uavcmlc.com + 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 + - path: /uas/api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-gateway + servicePort: 8080 + - path: /iam/api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-gateway + servicePort: 8080 diff --git a/55-202501-DEMO迁移/部署yaml/k8s-mongo.yaml b/55-202501-DEMO迁移/部署yaml/k8s-mongo.yaml new file mode 100644 index 0000000..6c57dca --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/k8s-mongo.yaml @@ -0,0 +1,78 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mongo + namespace: uavcloud-demo + 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: 6.2.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: uavcloud-demo + 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: 6.2.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: 6.2.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: 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/55-202501-DEMO迁移/部署yaml/k8s-mysql.yaml b/55-202501-DEMO迁移/部署yaml/k8s-mysql.yaml new file mode 100644 index 0000000..d83bdc3 --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/k8s-mysql.yaml @@ -0,0 +1,410 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-mysql + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: uavcloud-demo + app.kubernetes.io/managed-by: octopus + annotations: {} +secrets: + - name: helm-mysql +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-mysql + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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: uavcloud-demo + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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: uavcloud-demo + labels: + app.kubernetes.io/component: primary + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/name: mysql-db + app.kubernetes.io/release: uavcloud-demo + 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-demo + cmii.app: mysql + cmii.type: middleware + type: ClusterIP +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mysql-headless + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mysql + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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: uavcloud-demo + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-mysql + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + 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-demo + 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-demo/ diff --git a/55-202501-DEMO迁移/部署yaml/k8s-nacos.yaml b/55-202501-DEMO迁移/部署yaml/k8s-nacos.yaml new file mode 100644 index 0000000..9e2c0c7 --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/k8s-nacos.yaml @@ -0,0 +1,130 @@ +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-nacos-cm + namespace: uavcloud-demo + labels: + cmii.app: helm-nacos + cmii.type: middleware + octopus.control: nacos-wdd + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/version: 6.2.0 +data: + mysql.db.name: "cmii_nacos_config" + mysql.db.host: "192.168.35.205" + mysql.port: "13306" + mysql.user: "k8s_admin" + mysql.password: "Uc@bkTCPuD4g" +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-nacos + namespace: uavcloud-demo + labels: + cmii.app: helm-nacos + cmii.type: middleware + octopus.control: nacos-wdd + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/version: 6.2.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: uavcloud-demo + labels: + cmii.app: helm-nacos + cmii.type: middleware + octopus.control: nacos-wdd + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/version: 6.2.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: 6.2.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/55-202501-DEMO迁移/部署yaml/k8s-nfs-test.yaml b/55-202501-DEMO迁移/部署yaml/k8s-nfs-test.yaml new file mode 100644 index 0000000..532b564 --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/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: harbor.cdcyy.com.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/55-202501-DEMO迁移/部署yaml/k8s-nfs.yaml b/55-202501-DEMO迁移/部署yaml/k8s-nfs.yaml new file mode 100644 index 0000000..5bd64a6 --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/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: harbor.cdcyy.com.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.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/55-202501-DEMO迁移/部署yaml/k8s-pvc.yaml b/55-202501-DEMO迁移/部署yaml/k8s-pvc.yaml new file mode 100644 index 0000000..8462ad8 --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/k8s-pvc.yaml @@ -0,0 +1,76 @@ +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: nfs-backend-log-pvc + namespace: uavcloud-demo + 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: 6.2.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 100Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: helm-emqxs + namespace: uavcloud-demo + labels: + cmii.type: middleware-base + cmii.app: helm-emqxs + helm.sh/chart: all-persistence-volume-claims-1.1.0 + app.kubernetes.io/version: 6.2.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 20Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: helm-mongo + namespace: uavcloud-demo + labels: + cmii.type: middleware-base + cmii.app: helm-mongo + helm.sh/chart: all-persistence-volume-claims-1.1.0 + app.kubernetes.io/version: 6.2.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 30Gi +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: helm-rabbitmq + namespace: uavcloud-demo + labels: + cmii.type: middleware-base + cmii.app: helm-rabbitmq + helm.sh/chart: all-persistence-volume-claims-1.1.0 + app.kubernetes.io/version: 6.2.0 +spec: + storageClassName: nfs-prod-distribute + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 20Gi diff --git a/55-202501-DEMO迁移/部署yaml/k8s-rabbitmq.yaml b/55-202501-DEMO迁移/部署yaml/k8s-rabbitmq.yaml new file mode 100644 index 0000000..cd23a7d --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/k8s-rabbitmq.yaml @@ -0,0 +1,328 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-rabbitmq + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: uavcloud-demo + app.kubernetes.io/managed-by: rabbitmq +automountServiceAccountToken: true +secrets: + - name: helm-rabbitmq +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-rabbitmq + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: uavcloud-demo + 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: uavcloud-demo + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: uavcloud-demo + app.kubernetes.io/managed-by: rabbitmq +data: + rabbitmq.conf: |- + ## Username and password + ## + default_user = admin + default_pass = sMSk81Plb1 + ## 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-demo + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: uavcloud-demo + 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-demo + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: uavcloud-demo + 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-demo + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: uavcloud-demo + 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-demo + publishNotReadyAddresses: true +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-rabbitmq + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: uavcloud-demo + 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: uavcloud-demo +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-rabbitmq + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: uavcloud-demo + 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-demo + template: + metadata: + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: uavcloud-demo + 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/55-202501-DEMO迁移/部署yaml/k8s-redis-uas.yaml b/55-202501-DEMO迁移/部署yaml/k8s-redis-uas.yaml new file mode 100644 index 0000000..a131089 --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/k8s-redis-uas.yaml @@ -0,0 +1,585 @@ +--- +apiVersion: v1 +kind: ServiceAccount +automountServiceAccountToken: true +metadata: + name: helm-redis-uas + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + app.kubernetes.io/managed-by: octopus +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-redis-uas + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + app.kubernetes.io/managed-by: octopus +type: Opaque +data: + redis-password: "TWNhY2hlQDQ1MjI=" +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-redis-uas-configuration + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-uas-health + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-uas-scripts + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-uas-headless + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo +--- +# Source: outside-deploy/charts/redis-db/templates/master/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: helm-redis-uas-master + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + 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-uas-replicas + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + app.kubernetes.io/component: replica +--- +# Source: outside-deploy/charts/redis-db/templates/master/statefulset.yaml +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-redis-uas-master + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + cmii.type: middleware + cmii.app: redis + app.kubernetes.io/component: master + serviceName: helm-redis-uas-headless + updateStrategy: + rollingUpdate: { } + type: RollingUpdate + template: + metadata: + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-uas + 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-uas + 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: 4Gi + requests: + cpu: "2" + memory: 4Gi + 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-uas-scripts + defaultMode: 0755 + - name: health + configMap: + name: helm-redis-uas-health + defaultMode: 0755 + - name: config + configMap: + name: helm-redis-uas-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-uas-replicas + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/component: replica +spec: + replicas: 0 + selector: + matchLabels: + app.kubernetes.io/name: redis-db + app.kubernetes.io/release: uavcloud-demo + app.kubernetes.io/component: replica + serviceName: helm-redis-uas-headless + updateStrategy: + rollingUpdate: { } + type: RollingUpdate + template: + metadata: + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-uas + 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-uas-master-0.helm-redis-uas-headless.uavcloud-demo.svc.cluster.local + - name: REDIS_MASTER_PORT_NUMBER + value: "6379" + - name: ALLOW_EMPTY_PASSWORD + value: "no" + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + name: helm-redis-uas + key: redis-password + - name: REDIS_MASTER_PASSWORD + valueFrom: + secretKeyRef: + name: helm-redis-uas + 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: 4Gi + requests: + cpu: "2" + memory: 4Gi + 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-uas-scripts + defaultMode: 0755 + - name: health + configMap: + name: helm-redis-uas-health + defaultMode: 0755 + - name: config + configMap: + name: helm-redis-uas-configuration + - name: redis-tmp-conf + emptyDir: { } + - name: redis-data + emptyDir: { } + diff --git a/55-202501-DEMO迁移/部署yaml/k8s-redis.yaml b/55-202501-DEMO迁移/部署yaml/k8s-redis.yaml new file mode 100644 index 0000000..91263ba --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/k8s-redis.yaml @@ -0,0 +1,585 @@ +--- +apiVersion: v1 +kind: ServiceAccount +automountServiceAccountToken: true +metadata: + name: helm-redis + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + app.kubernetes.io/managed-by: octopus +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-redis + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + app.kubernetes.io/managed-by: octopus +type: Opaque +data: + redis-password: "TWNhY2hlQDQ1MjI=" +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-redis-configuration + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo +--- +# Source: outside-deploy/charts/redis-db/templates/master/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: helm-redis-master + namespace: uavcloud-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + 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-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + 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-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + 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-demo + 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: "2" + memory: 8Gi + 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-demo + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: uavcloud-demo + 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-demo + 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-demo + 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-demo.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: "2" + memory: 8Gi + 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/55-202501-DEMO迁移/部署yaml/k8s-srs.yaml b/55-202501-DEMO迁移/部署yaml/k8s-srs.yaml new file mode 100644 index 0000000..6b9f2d9 --- /dev/null +++ b/55-202501-DEMO迁移/部署yaml/k8s-srs.yaml @@ -0,0 +1,496 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: helm-live-srs-cm + namespace: uavcloud-demo + 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://www.demo.uavcmlc.com; + } + } +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srs-svc-exporter + namespace: uavcloud-demo + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: rtmp + protocol: TCP + port: 31935 + targetPort: 31935 + 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: uavcloud-demo + 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-demo + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: rtmp + protocol: TCP + port: 31935 + targetPort: 31935 + selector: + srs-role: rtc + type: ClusterIP + sessionAffinity: None + +--- +kind: StatefulSet +apiVersion: apps/v1 +metadata: + name: helm-live-srs-rtc + namespace: uavcloud-demo + 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: 31935 + 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: www.demo.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-demo/helm-live/dvr + - name: srs-vol + mountPath: /home/hls + subPath: uavcloud-demo/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-skip-CHL + 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: uavcloud-demo/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-demo + 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-demo + 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-demo + 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-demo + 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: 6.2.0 + scanPackage: com.cmii.live.op + cloud: + nacos: + config: + username: nacos + password: KingKong@95461234 + server-addr: helm-nacos:8848 + extension-configs: + - data-id: cmii-live-operator.yml + group: 6.2.0 + refresh: true + shared-configs: + - data-id: cmii-backend-system.yml + group: 6.2.0 + refresh: true + discovery: + enabled: false + + live: + engine: + type: srs + endpoint: 'http://helm-live-srs-svc:1985' + proto: + rtmp: 'rtmp://www.demo.uavcmlc.com:31935' + rtsp: 'rtsp://www.demo.uavcmlc.com:30554' + srt: 'srt://www.demo.uavcmlc.com:30556' + flv: 'http://www.demo.uavcmlc.com:30500' + hls: 'http://www.demo.uavcmlc.com:30500' + rtc: 'webrtc://www.demo.uavcmlc.com:30080' + replay: 'https://www.demo.uavcmlc.com:30333' + minio: + endpoint: http://192.168.118.15:9000 + access-key: cmii + secret-key: B#923fC7mk + bucket: live-cluster-hls diff --git a/56-202501-江西升级/all-deployment-jxyd-old.yaml b/56-202501-江西升级/all-deployment-jxyd-old.yaml new file mode 100644 index 0000000..1df7696 --- /dev/null +++ b/56-202501-江西升级/all-deployment-jxyd-old.yaml @@ -0,0 +1,6288 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-admin-data + cmii.modules: cmlc.loadm + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-admin-data + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 2 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-admin-data + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-admin-data + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-admin-data + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-admin-data:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-admin-data + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-admin-data + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-admin-gateway + cmii.modules: loadm + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-admin-gateway + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-admin-gateway + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-admin-gateway + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-admin-gateway + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-admin-gateway:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-admin-gateway + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-admin-gateway + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-admin-user + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-admin-user + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-admin-user + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-admin-user + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-admin-user + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-admin-user:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-admin-user + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-admin-user + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-open-gateway + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-open-gateway + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-open-gateway + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-open-gateway + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-open-gateway + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-open-gateway:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-open-gateway + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-open-gateway + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-suav-platform-supervision + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-suav-platform-supervision + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-suav-platform-supervision + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-suav-platform-supervision + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-suav-platform-supervision + image: 10.20.1.130:8033/cmii/cmii-suav-platform-supervision:4.1.6 + imagePullPolicy: Always + name: cmii-suav-platform-supervision + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefixcmii-suav-platform-supervision + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-suav-platform-supervisionh5 + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-suav-platform-supervisionh5 + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-suav-platform-supervisionh5 + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-suav-platform-supervisionh5 + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-suav-platform-supervisionh5 + image: 10.20.1.130:8033/cmii/cmii-suav-platform-supervisionh5:4.1.6 + imagePullPolicy: Always + name: cmii-suav-platform-supervisionh5 + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefixcmii-suav-platform-supervisionh5 + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-suav-supervision + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-suav-supervision + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-suav-supervision + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-suav-supervision + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-suav-supervision + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-suav-supervision:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-suav-supervision + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-suav-supervision + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-airspace + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-airspace + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-airspace + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-airspace + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-airspace + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-airspace:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-airspace + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-airspace + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-alarm + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-alarm + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-alarm + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-alarm + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-alarm + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-alarm:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-alarm + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-alarm + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-autowaypoint + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-autowaypoint + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-autowaypoint + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-autowaypoint + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-autowaypoint + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-autowaypoint:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-autowaypoint + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-autowaypoint + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-brain + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-brain + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-brain + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-brain + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-brain + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-brain:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-brain + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-brain + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-cloud-live + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-cloud-live + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-cloud-live + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-cloud-live + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-cloud-live + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-cloud-live:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-cloud-live + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-cloud-live + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-cms + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-cms + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-cms + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-cms + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-cms + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-cms:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-cms + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: {} + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-cms + - mountPath: /cmii/cache + name: data-cache-volume + subPath: zhbf/cmii-uav-cms + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc + - name: data-cache-volume + persistentVolumeClaim: + claimName: cmii-uav-cms-cache +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-data-post-process + cmii.modules: cmlc + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-data-post-process + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-data-post-process + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-data-post-process + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-data-post-process + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-data-post-process:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-data-post-process + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: {} + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-data-post-process + - mountPath: /cmii/cache + name: data-cache-volume + subPath: zhbf/cmii-uav-data-post-process + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc + - name: data-cache-volume + persistentVolumeClaim: + claimName: cmii-uav-data-post-process-cache +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-developer + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-developer + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-developer + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-developer + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-developer + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-developer:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-developer + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-developer + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-device + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-device + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 2 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-device + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-device + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-device + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-device:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-device + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-device + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-emergency + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-emergency + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-emergency + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-emergency + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-emergency + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-emergency:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-emergency + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-emergency + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-gateway + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-gateway + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-gateway + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-gateway + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-gateway + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-gateway:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-gateway + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-gateway + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-gis-server + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-gis-server + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-gis-server + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-gis-server + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-gis-server + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-gis-server:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-gis-server + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-gis-server + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-grid-datasource + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-grid-datasource + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-grid-datasource + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-grid-datasource + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-grid-datasource + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-grid-datasource:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-grid-datasource + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-grid-datasource + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-grid-engine + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-grid-engine + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-grid-engine + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-grid-engine + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-grid-engine + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-grid-engine:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-grid-engine + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-grid-engine + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-grid-manage + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-grid-manage + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-grid-manage + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-grid-manage + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-grid-manage + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-grid-manage:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-grid-manage + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-grid-manage + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-industrial-portfolio + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-industrial-portfolio + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-industrial-portfolio + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-industrial-portfolio + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-industrial-portfolio + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-industrial-portfolio:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-industrial-portfolio + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-industrial-portfolio + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-integration + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-integration + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-integration + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-integration + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-integration + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-integration:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-integration + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-integration + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-kpi-monitor + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-kpi-monitor + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-kpi-monitor + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-kpi-monitor + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-kpi-monitor + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-kpi-monitor:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-kpi-monitor + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-kpi-monitor + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-logger + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-logger + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-logger + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-logger + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-logger + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-logger:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-logger + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-logger + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-material-warehouse + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-material-warehouse + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-material-warehouse + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-material-warehouse + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-material-warehouse + - name: CUST_JAVA_OPTS + value: -Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true -Dthumbnailator.conserveMemoryWorkaround=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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-material-warehouse:4.1.6-jsha + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-material-warehouse + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: {} + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-material-warehouse + - mountPath: /cmii/cache + name: data-cache-volume + subPath: zhbf/cmii-uav-material-warehouse + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc + - name: data-cache-volume + persistentVolumeClaim: + claimName: cmii-uav-material-warehouse-cache +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-mission + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-mission + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-mission + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-mission + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-mission + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-mission:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-mission + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-mission + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-mqtthandler + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-mqtthandler + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 2 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-mqtthandler + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-mqtthandler + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-mqtthandler + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-mqtthandler:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-mqtthandler + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-mqtthandler + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-notice + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-notice + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-notice + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-notice + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-notice + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-notice:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-notice + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-notice + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-oauth + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-oauth + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-oauth + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-oauth + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-oauth + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-oauth:4.1.6-jxyd-0815 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-oauth + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-oauth + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform + image: 10.20.1.130:8033/cmii/cmii-uav-platform:4.1.6-060601 + imagePullPolicy: Always + name: cmii-uav-platform + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-platform + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-ai-brain + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-ai-brain + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-ai-brain + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-ai-brain + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-ai-brain + image: 10.20.1.130:8033/cmii/cmii-uav-platform-ai-brain:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-ai-brain + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-ai-brain + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-armypeople + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-armypeople + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-armypeople + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-armypeople + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-armypeople + image: 10.20.1.130:8033/cmii/cmii-uav-platform-armypeople:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-armypeople + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-armypeople + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-base + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-base + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-base + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-base + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-base + image: 10.20.1.130:8033/cmii/cmii-uav-platform-base:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-base + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-base + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-cms-portal + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-cms-portal + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-cms-portal + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-cms-portal + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-cms-portal + image: 10.20.1.130:8033/cmii/cmii-uav-platform-cms-portal:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-cms-portal + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-cms-portal + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-detection + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-detection + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-detection + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-detection + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-detection + image: 10.20.1.130:8033/cmii/cmii-uav-platform-detection:4.1.0 + imagePullPolicy: Always + name: cmii-uav-platform-detection + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-detection + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-emergency-rescue + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-emergency-rescue + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 0 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-emergency-rescue + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-emergency-rescue + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-emergency-rescue + image: 10.20.1.130:8033/cmii/cmii-uav-platform-emergency-rescue:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-emergency-rescue + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-emergency-rescue + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-logistics + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-logistics + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-logistics + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-logistics + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-logistics + image: 10.20.1.130:8033/cmii/cmii-uav-platform-logistics:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-logistics + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-logistics + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-media + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-media + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-media + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-media + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-media + image: 10.20.1.130:8033/cmii/cmii-uav-platform-media:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-media + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-media + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-multiterminal + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-multiterminal + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-multiterminal + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-multiterminal + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-multiterminal + image: 10.20.1.130:8033/cmii/cmii-uav-platform-multiterminal:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-multiterminal + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-multiterminal + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-mws + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-mws + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-mws + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-mws + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-mws + image: 10.20.1.130:8033/cmii/cmii-uav-platform-mws:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-mws + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-mws + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-oms + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-oms + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-oms + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-oms + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-oms + image: 10.20.1.130:8033/cmii/cmii-uav-platform-oms:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-oms + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-oms + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-open + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-open + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-open + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-open + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-open + image: 10.20.1.130:8033/cmii/cmii-uav-platform-open:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-open + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-open + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-security + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-security + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-security + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-security + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-security + image: 10.20.1.130:8033/cmii/cmii-uav-platform-security:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-security + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-security + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-securityh5 + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-securityh5 + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-securityh5 + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-securityh5 + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-securityh5 + image: 10.20.1.130:8033/cmii/cmii-uav-platform-securityh5:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-securityh5 + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-securityh5 + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-seniclive + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-seniclive + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-seniclive + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-seniclive + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-seniclive + image: 10.20.1.130:8033/cmii/cmii-uav-platform-seniclive:4.1.0 + imagePullPolicy: Always + name: cmii-uav-platform-seniclive + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-seniclive + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-share + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-share + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-share + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-share + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-share + image: 10.20.1.130:8033/cmii/cmii-uav-platform-share:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-share + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-share + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-splice + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-splice + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-splice + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-splice + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-splice + image: 10.20.1.130:8033/cmii/cmii-uav-platform-splice:4.1.6 + imagePullPolicy: Always + name: cmii-uav-platform-splice + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-splice + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-platform-visualization + cmii.type: frontend + helm.sh/chart: frontend-app-1.2.2 + name: cmii-uav-platform-visualization + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-platform-visualization + cmii.type: frontend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-platform-visualization + cmii.type: frontend + spec: + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-platform-visualization + image: 10.20.1.130:8033/cmii/cmii-uav-platform-visualization:4.1.0 + imagePullPolicy: Always + name: cmii-uav-platform-visualization + ports: + - containerPort: 9528 + name: platform-9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /usr/local/nginx/conf/nginx.conf + name: nginx-conf + subPath: nginx.conf + - mountPath: /etc/nginx/conf.d/default.conf + name: default-nginx-conf + subPath: default.conf + - mountPath: /home/cmii-platform/dist/ingress-config.js + name: tenant-prefix + subPath: ingress-config.js + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: nginx.conf + path: nginx.conf + name: nginx-cm + name: nginx-conf + - configMap: + defaultMode: 420 + items: + - key: default.conf + path: default.conf + name: default-nginx-cm + name: default-nginx-conf + - configMap: + defaultMode: 420 + items: + - key: ingress-config.js + path: ingress-config.js + name: tenant-prefix-visualization + name: tenant-prefix +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-process + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-process + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-process + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-process + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-process + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-process:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-process + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-process + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-surveillance + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-surveillance + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 2 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-surveillance + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-surveillance + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-surveillance + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-surveillance:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-surveillance + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-surveillance + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-user + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-user + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-user + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-user + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-user + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-user:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-user + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-user + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/app-version: 4.1.6 + app.kubernetes.io/chart-version: 2.2.2 + app.kubernetes.io/managed-by: Helm + cmii.app: cmii-uav-waypoint + cmii.type: backend + helm.sh/chart: backend-app-1.1.0 + name: cmii-uav-waypoint + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + cmii.app: cmii-uav-waypoint + cmii.type: backend + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-waypoint + cmii.type: backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + containers: + - env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-waypoint + - 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 + - name: SYS_CONFIG_GROUP + - name: IMAGE_VERSION + value: 4.1.6 + - name: NACOS_USERNAME + value: developer + - name: NACOS_PASSWORD + value: N@cos14Good + image: 10.20.1.130:8033/cmii/cmii-uav-waypoint:4.1.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: cmii-uav-waypoint + ports: + - containerPort: 8080 + name: pod-port + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + startupProbe: + failureThreshold: 5 + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 3 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/logs + name: nfs-backend-log-volume + subPath: zhbf/cmii-uav-waypoint + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/managed-by: Helm + cmii.app: live-engine + cmii.type: midware + helm.sh/chart: cmlc-live-live-op-2.0.0 + live-role: op-v2 + name: helm-live-op-v2 + namespace: jxyd +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + live-role: op-v2 + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 25% + type: RollingUpdate + template: + metadata: + creationTimestamp: null + labels: + live-role: op-v2 + spec: + affinity: {} + containers: + - image: 10.20.1.130:8033/cmii/cmii-live-operator:v4.0.6 + imagePullPolicy: Always + livenessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: 8080 + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + name: operator + ports: + - containerPort: 8080 + name: operator + protocol: TCP + readinessProbe: + failureThreshold: 3 + httpGet: + path: /cmii/health + port: 8080 + scheme: HTTP + initialDelaySeconds: 60 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 5 + resources: + limits: + cpu: 4800m + memory: 4Gi + requests: + cpu: 100m + memory: 256Mi + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cmii/bootstrap.yaml + name: srs-conf-file + subPath: bootstrap.yaml + dnsPolicy: ClusterFirst + imagePullSecrets: + - name: harborsecret + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 + volumes: + - configMap: + defaultMode: 420 + items: + - key: live.op.conf + path: bootstrap.yaml + name: helm-live-op-cm-v2 + name: srs-conf-file diff --git a/56-202501-江西升级/k8s-backend.yaml b/56-202501-江西升级/k8s-backend.yaml new file mode 100644 index 0000000..054808e --- /dev/null +++ b/56-202501-江西升级/k8s-backend.yaml @@ -0,0 +1,6672 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-emergency + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-emergency + image: 10.20.1.130:8033/cmii/cmii-uav-emergency:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-emergency + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-gateway + image: 10.20.1.130:8033/cmii/cmii-uas-gateway:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uas-gateway + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-sync + namespace: jxyd + 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.2.0 +spec: + replicas: 0 + 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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sync + image: 10.20.1.130:8033/cmii/cmii-uav-sync:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-sync + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-brain + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-brain + image: 10.20.1.130:8033/cmii/cmii-uav-brain:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-brain + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-cloud-live + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cloud-live + image: 10.20.1.130:8033/cmii/cmii-uav-cloud-live:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-cloud-live + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-alarm + image: 10.20.1.130:8033/cmii/cmii-uav-alarm:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-alarm + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-waypoint + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-waypoint + image: 10.20.1.130:8033/cmii/cmii-uav-waypoint:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-waypoint + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-app-release + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-app-release + image: 10.20.1.130:8033/cmii/cmii-app-release:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-app-release + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-integration + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-integration + image: 10.20.1.130:8033/cmii/cmii-uav-integration:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-integration + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-sense-adapter + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sense-adapter + image: 10.20.1.130:8033/cmii/cmii-uav-sense-adapter:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-sense-adapter + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-user + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-user + image: 10.20.1.130:8033/cmii/cmii-admin-user:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-admin-user + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-gis-server + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gis-server + image: 10.20.1.130:8033/cmii/cmii-uav-gis-server:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-gis-server + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-device + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-device + image: 10.20.1.130:8033/cmii/cmii-uav-device:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-device + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-depotautoreturn + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-depotautoreturn + image: 10.20.1.130:8033/cmii/cmii-uav-depotautoreturn:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-depotautoreturn + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-uas-lifecycle + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-lifecycle + image: 10.20.1.130:8033/cmii/cmii-uas-lifecycle:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uas-lifecycle + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-admin-data + namespace: jxyd + 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: 6.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-data + image: 10.20.1.130:8033/cmii/cmii-admin-data:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-admin-data + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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: 6.2.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: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-engine + image: 10.20.1.130:8033/cmii/cmii-uav-grid-engine:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-grid-engine + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-fwdd + namespace: jxyd + labels: + cmii.type: backend + cmii.app: cmii-uav-fwdd + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-fwdd + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-fwdd + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-fwdd + image: 10.20.1.130:8033/cmii/cmii-uav-fwdd:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-fwdd + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/cmii-uav-fwdd + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-fwdd + namespace: jxyd + labels: + cmii.type: backend + cmii.app: cmii-uav-fwdd + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-fwdd + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-process + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-process + image: 10.20.1.130:8033/cmii/cmii-uav-process:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-process + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-admin-gateway + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-gateway + image: 10.20.1.130:8033/cmii/cmii-admin-gateway:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-admin-gateway + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-material-warehouse + image: 10.20.1.130:8033/cmii/cmii-uav-material-warehouse:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-material-warehouse + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-autowaypoint + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-autowaypoint + image: 10.20.1.130:8033/cmii/cmii-uav-autowaypoint:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-autowaypoint + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gateway + image: 10.20.1.130:8033/cmii/cmii-uav-gateway:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-gateway + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-surveillance + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-surveillance + image: 10.20.1.130:8033/cmii/cmii-uav-surveillance:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-surveillance + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-cms + namespace: jxyd + 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: 6.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cms + image: 10.20.1.130:8033/cmii/cmii-uav-cms:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-cms + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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: 6.2.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-user + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-user + image: 10.20.1.130:8033/cmii/cmii-uav-user:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-user + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-industrial-portfolio + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-industrial-portfolio + image: 10.20.1.130:8033/cmii/cmii-uav-industrial-portfolio:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-industrial-portfolio + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-tower + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-tower + image: 10.20.1.130:8033/cmii/cmii-uav-tower:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-tower + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-open-gateway + image: 10.20.1.130:8033/cmii/cmii-open-gateway:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-open-gateway + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-bridge + namespace: jxyd + 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.2.0 +spec: + replicas: 0 + 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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-bridge + image: 10.20.1.130:8033/cmii/cmii-uav-bridge:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-bridge + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-multilink + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-multilink + image: 10.20.1.130:8033/cmii/cmii-uav-multilink:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-multilink + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-iot-dispatcher + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-iot-dispatcher + image: 10.20.1.130:8033/cmii/cmii-uav-iot-dispatcher:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-threedsimulation + namespace: jxyd + 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.2.0 +spec: + replicas: 0 + 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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-threedsimulation + image: 10.20.1.130:8033/cmii/cmii-uav-threedsimulation:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-threedsimulation + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mission + image: 10.20.1.130:8033/cmii/cmii-uav-mission:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-mission + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-advanced5g + namespace: jxyd + labels: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-advanced5g + image: 10.20.1.130:8033/cmii/cmii-uav-advanced5g:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-advanced5g + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/cmii-uav-advanced5g + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-advanced5g + namespace: jxyd + labels: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-advanced5g + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-clusters + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-clusters + image: 10.20.1.130:8033/cmii/cmii-uav-clusters:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-clusters + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-grid-datasource + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-datasource + image: 10.20.1.130:8033/cmii/cmii-uav-grid-datasource:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-grid-datasource + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-airspace + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-airspace + image: 10.20.1.130:8033/cmii/cmii-uav-airspace:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-airspace + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-data-post-process + image: 10.20.1.130:8033/cmii/cmii-uav-data-post-process:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-data-post-process + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-supervision + image: 10.20.1.130:8033/cmii/cmii-suav-supervision:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-suav-supervision + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-kpi-monitor + image: 10.20.1.130:8033/cmii/cmii-uav-kpi-monitor:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-kpi-monitor + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-oauth + image: 10.20.1.130:8033/cmii/cmii-uav-oauth:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-oauth + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-developer + image: 10.20.1.130:8033/cmii/cmii-uav-developer:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-developer + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mqtthandler + image: 10.20.1.130:8033/cmii/cmii-uav-mqtthandler:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-mqtthandler + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-uavms-security-center + namespace: jxyd + labels: + cmii.type: backend + cmii.app: cmii-uavms-security-center + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uavms-security-center + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uavms-security-center + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uavms-security-center + image: 10.20.1.130:8033/cmii/cmii-uavms-security-center:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uavms-security-center + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/cmii-uavms-security-center + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uavms-security-center + namespace: jxyd + labels: + cmii.type: backend + cmii.app: cmii-uavms-security-center + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.2.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uavms-security-center + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-logger + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-logger + image: 10.20.1.130:8033/cmii/cmii-uav-logger:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-logger + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-notice + image: 10.20.1.130:8033/cmii/cmii-uav-notice:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-notice + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.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-grid-manage + namespace: jxyd + 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.2.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-manage + image: 10.20.1.130:8033/cmii/cmii-uav-grid-manage:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - name: APPLICATION_NAME + value: cmii-uav-grid-manage + - name: CUST_JAVA_OPTS + value: "-Xms500m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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.2.0 + - name: SYS_CONFIG_GROUP + value: 6.2.0 + - name: IMAGE_VERSION + value: 6.2.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + cpu: "6" + memory: 3Gi + requests: + cpu: "1" + memory: 500Mi + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: jxyd/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: jxyd + 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.2.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 diff --git a/56-202501-江西升级/k8s-emqx.yaml b/56-202501-江西升级/k8s-emqx.yaml new file mode 100644 index 0000000..36cfe4a --- /dev/null +++ b/56-202501-江西升级/k8s-emqx.yaml @@ -0,0 +1,276 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-emqxs + namespace: jxyd +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-emqxs-env + namespace: jxyd + 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: 6.2.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: "jxyd" + 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: jxyd + 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: 6.2.0 +data: + emqx_auth_mnesia.conf: |- + auth.mnesia.password_hash = sha256 + + # clientid 认证数据 + auth.client.1.clientid = admin + auth.client.1.password = odD8#Ve7.B + auth.client.2.clientid = cmlc + auth.client.2.password = odD8#Ve7.B + + ## 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: jxyd + 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: 6.2.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: 6.2.0 + spec: + affinity: {} + imagePullSecrets: + - name: harborsecret + serviceAccountName: helm-emqxs + containers: + - name: helm-emqxs + image: 10.20.1.130:8033/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_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: jxyd +rules: + - apiGroups: + - "" + resources: + - endpoints + verbs: + - get + - watch + - list +--- +kind: RoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: helm-emqxs + namespace: jxyd +subjects: + - kind: ServiceAccount + name: helm-emqxs + namespace: jxyd +roleRef: + kind: Role + name: helm-emqxs + apiGroup: rbac.authorization.k8s.io +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-emqxs + namespace: jxyd + 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: 6.2.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: jxyd + 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: 6.2.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/56-202501-江西升级/k8s-srs.yaml b/56-202501-江西升级/k8s-srs.yaml new file mode 100644 index 0000000..23b012e --- /dev/null +++ b/56-202501-江西升级/k8s-srs.yaml @@ -0,0 +1,496 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: helm-live-srs-cm + namespace: jxyd + 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.138.132.240:30800; + } + } +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srs-svc-exporter + namespace: jxyd + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: rtmp + protocol: TCP + port: 31935 + targetPort: 31935 + 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: 30557 + - name: api + protocol: TCP + port: 1985 + targetPort: 1985 + nodePort: 30556 + selector: + srs-role: rtc + type: NodePort + sessionAffinity: None + externalTrafficPolicy: Cluster + +--- +kind: Service +apiVersion: v1 +metadata: + name: helm-live-srs-svc + namespace: jxyd + 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: jxyd + labels: + octopus.control: wdd + app.kubernetes.io/managed-by: octopus +spec: + ports: + - name: rtmp + protocol: TCP + port: 31935 + targetPort: 31935 + selector: + srs-role: rtc + type: ClusterIP + sessionAffinity: None + +--- +kind: StatefulSet +apiVersion: apps/v1 +metadata: + name: helm-live-srs-rtc + namespace: jxyd + 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.20.1.130:8033/cmii/srs:v5.0.195 + ports: + - name: srs-rtmp + containerPort: 31935 + 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.138.132.240 + 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: jxyd/helm-live/dvr + - name: srs-vol + mountPath: /home/hls + subPath: jxyd/helm-live/hls + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + - name: oss-adaptor + image: 10.20.1.130:8033/cmii/cmii-srs-oss-adaptor:2023-SA-skip-CHL + env: + - name: OSS_ENDPOINT + value: 'http://10.20.1.132: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: jxyd/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: jxyd + 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.20.1.130: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: jxyd + 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: jxyd + 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: jxyd + 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: 6.2.0 + scanPackage: com.cmii.live.op + cloud: + nacos: + config: + username: nacos + password: KingKong@95461234 + server-addr: helm-nacos:8848 + extension-configs: + - data-id: cmii-live-operator.yml + group: 6.2.0 + refresh: true + shared-configs: + - data-id: cmii-backend-system.yml + group: 6.2.0 + refresh: true + discovery: + enabled: false + + live: + engine: + type: srs + endpoint: 'http://helm-live-srs-svc:1985' + proto: + rtmp: 'rtmp://36.138.132.240:31935' + rtsp: 'rtsp://36.138.132.240:30554' + srt: 'srt://36.138.132.240:30556' + flv: 'http://36.138.132.240:30500' + hls: 'http://36.138.132.240:30500' + rtc: 'webrtc://36.138.132.240:30556' + replay: 'https://36.138.132.240:30333' + minio: + endpoint: http://10.20.1.132:9000 + access-key: cmii + secret-key: B#923fC7mk + bucket: live-cluster-hls diff --git a/56-202501-江西升级/江西移动升级.zip b/56-202501-江西升级/江西移动升级.zip new file mode 100644 index 0000000000000000000000000000000000000000..00a256357cdc09149860d10ea63d7b4810b5705a GIT binary patch literal 43204 zcmZsiQ>-Y#x~->e+qP}nT+_B~+qR80ZQHhO+qi4*^Kx=?I;rk@sEkUbQ^`L@eWf4` z41xjx0097C@1Xbx;D0^H00aOh^?7F{y{BcJ$C2g7F=3}2W%MrY&;WoS{~7n+m#PXZ z066MmgBioW2K}!o{8tbH0s?^I{}UwqzXfeg-1MA`%uQ?z=$ss^|1bHNh5wP~{`bA= zwsJyN?_l`wsoeR^Z=B@}@rWZ#wZR}@#ZQDun%+T91bn#3RJKc5NZlw6vOP})Fw4_1 z0S3d?0}KMhj*f`I?PD6!k3OFCTQ9mv;Qv8L6D1@ULlTlZLquUDdKO#A z&=%>Uq2we@Jc}q{vY<>$;QtoJ`%ZcP;s3cC&PdA3;l|{AT|f2X#eAouHajRR94dCU zJL#0z#3xF)^$gbj@|KbEMn6yZD0ZfMI8E|Pqi;ePcNltpBayeplel8DBoXEh7LQ+jR z&G%6G^%P|!q6tjr7qzi#zQjXLslE8E-@Iw#QV#qC{KhEGwn`oNvfZ?vb1^55fypnw zF~vhjhDeKlk8gRwx#03+exYi)90fXiOXYZ#!}3({Xz&>Hgt_t0c%SU9Z>Vj$=1OIG zmUm(=8bPneV}ih80(&V)ML5xBNv^ae~@vOcl#M2?+a1TjoN>z zp_f&5Y0+Jmhp|5{3qRbGyWXZVl=XaEPi{f9HhUWPY8+-Dis+4wSZB8*+SO>@m7mV) z`^L5$x{8R&BX*!Rg{E(T>^iN9Z-DtdjqkmOdjG}iL%#l5yZDj(rY7?=(Ub^$ba>o$_=nM87fWX&K7HST=I;V zgo%qax6>x=L!u*+jn{W&A9WF49AH0R6mz{w`LGBG9y^^5JIh5vYv>QxeI%%VwO<)} z*eLY27r??4UZ20Yd>V*kdBMfa2bF)^puZhJ^;HtL;PRe9i)F2sPjzwX8<^tEYxyat zxZPA*tv-_nsS!x<%Sm*9^DTZKY%-h85!5@C^>BH-Y?Ig4937$uQ2je;Q};9LADc&mcz|f z4%51VpI!2PFFWyUOanGT5@^7hP_2vHc?@{eKNi){{TuheG-&9l09Cg+9FS@K-NvZoa(1iZ@o7h8f&b^1Z$%$)Hqo95LH=%Nv zm`iTZRK4)Ei>Er$FKbW{GKtN^h?Fr^mHJ>qeQdB)1pQJ<#PLd%m5EJDgyy6bqTO6x zmygM@)6v$(&d(BYj-Og^=6Qu;GYb^EYL`&~1@k7e(~#)`u%S4NpNkU6jSO zxj}OK|JQv4D z1c^yUxC8+-z&|c@LkuHT4e3Zn(2@Jo6_w8HO)gX)PWLni;)ZNwBqdQ}EwaQk9TX(r z8d+@h)o^wyc)Y5wHL1IQf$R7D@Z?(0CtKlHripjH3(?7Sp1{;i_p5lS>2klJ3qkck z!5$Xo{juBrWau86GfQu5dBffuPb#RPBhqr2s+h>JmKtG)WW=TLt6H@CrsP|eHsFBq zkdA%KgROS0L7DgqshuSxLfl{KGwf0i6~>paAnA|Gbj(J!n=uB{%K(%uM9hj3;=Z>w z>gB1an?0q?N@exl9Ro}Gap5UHI2?q)xvDtkqr%LD|)5za|hH_K~c z36ArxZ^~lXz(E5xwlrY;k-P1(XH0FoBknF^?p^0ZCRLnB(gW|4lNn!BZM?>jW%DGE(QZs z@g8j#3~X%kZEImQ`NVq!VqCSx!+?{Y3|{v9TnHRL-M%vpo5=Uw()9x2|9pf>8H3tK z!jzSOuz%G`Ax}$4BiN;Z|EIK?F(-*RqU&0$EeT)hA|ya5!Lx);C-$45Q!@>gyTlb5 z0$*Co$n!oXB5rJE3hG-nuw1q_CGvH7fS7xZhm1>@2gt`sL(f3as{wK$DdZ4&$~^$#^D_UKixq8_x?KipxBDYbycjdO3@x`K2E|$x?v$5f z7+4=^D@Lu~nGI3K3{^%Qx!+l}-^opb(NVQ+V3y=Vs=^R>gn)BVALq62K<;K``^`SAGmIEIl@%Z(r?uNB62S>9(b5Nh8#XjRiR&N)*?O{S3y z1D+I{1q)-{kco{1=Q73Ig7U^b>yCh$%oThnjI zGwSLy|3@iLQB8uxc;*7rTumu8<`?9dCL`cZX6L>YL67rQs`nw6Yxii1R621M5zp(@ zwV{irnoq-Eu+jbpM4iBGM4H=aFV`aS9w2KN1OCX74N9Gs>`;o*r)%3fN%`X-wT01I zcMM1laEasJ3LV;8#h@R1JroGBp^;3$#OB>ddN zOe2&3aZB^|qmGLd;DE7r^bQ{)B`ZRaura_pjub$hWW`;}wt@PpDV~0lfOTa<1|$d+ zQ=byr0Pg^3JR7Ix4zp0lBQIkssl)g*<{x@^xvDBDPDw z_JGl(z{0x-6i)s2KOWi}?Ljt(F9eO_7!CD9J<(gc90Nng-hlxc8|#Z@lErfqfiLFp zn(%Mn7jHV=V?(wPN5+avxm!&5>0qF_Yozs~u7gXHkW9{0ZqZ z_>VFBA@_LM6I6GVZc8B;;WOkc#PK5eS))r!>+&yK+3gZV-wGL`TY+CX+qt=mC2?l5 zn+!#Y>A)~vYLdFd3)goRNP+r(?g2Y?yO~1{6>y&H-;9JTaKwE_4}A!KBslrI^fXyG zElHxfCa>G&Yf0;jUka1u2t}VyvtYpl^Y;;_=DWHlUy%6mAw8aq>Ui#5j%L4u^aMc5 zwkFORx~_7R+cfB?l#tgC>wdN<8MM5>0i9Fq4Fza*1E!P!M39YxA3Gkag#oE>FuPo) zG%cK4HsCoP|E3@hTPP81gOn3>pM=G1aUfFbD$r#{1FE~rVWt)gsz`kR&8kf=adn6&4w zO|#!iX7FrXNf|N@d?YXsv}npf64KP}KKcQKft~({U=24EANKX8U}{^!5ipE?bRskb zdHha+8!55aJ2pR?R~?F8(jrND~dba$B;~v zlv{#CiNvd!cm#f9QEM%G(8^hQRJFV=VUhqF!iyJ64st&+sAVAK753*<#3g?t{9s^+ zY(~GT>F5^WYsvP7J+3ObK1Z^*-?gd6%^Y8R)|b&+Ws<}?-GsBeDrmLEnf+%kzIZY& z%h|YqW|xN@ib>{Y58b9`Ok4l2uU|=Co`|2vO*ULGuFdc;c z{%}6l2W|wyw|a3 zaqB!ZtXbDQ)f{dIv_m>Uktq{;1KB;LpmNya-+GG4g*OPjL%uKcZBupS&6IJF2chN? z-CHq!TyzhinkXeToLFsaaU2Y6iyn}r~}FgsT^4E;I-m5X{7JlIy#gD-FM2Q zm)!dzJO0XOwCq(Xtd25-lMaw(P3MCeD$}kZq?D~b{Wa4S-V>l#ROAqU29RM}u-a|l ze5I9;Lvt*a5U68-((Iy$NXxcG=YvxOsZjAA)eTg3--^fqFpTK_K~SOtgzc7)p!nxy zC1dxi;?;=siczWbN7kODd`_JhIg@7ZXTI@#YwWHSkx7%<{nJ5-e!EiMJnH|@nBFL5 zq^C%Vwgh9ODG4>udRBKo=GO{{qWtAuXS?D3Y-fg*C;=?Y*<=VU$*==_Yj%Q>-;{#at4;7uZyZ^U?waoKzYoz2nS$-2`04=v{`?8J>m-H z6Jg=h%^(T{&L++n;2hJ_8S&+KN3HCwrBP7HtMJ8Iw-ZBX$4k$bXFup;y0BHNtxcy* z4hU=S+sD(olNld(2thl6kj%w-H-hj(B-?>~fB|=}>!&SVbT;RETGH6V=fROCRG?s^ zz3{yQu1~BQgewo+jHYj?+>R1{wR@77wnXH4aNVx4f&Z~A`o>fum%}zJ(lAdN3rz_T#3t- zxOG&0#^R_ug#$CTn5I(C)JkA}ue9kW=pO?N)6FP)bAE(rB4*7NwOMZ8VCZOYY7Q|+ zx1~A(t*HR*{nCVuxGEH<9k9((b>Sy~=5W{BjCN=WsmM9i7}vgDEW65(uylEXxke7V#c;{}i5Fd=tTA4?|fUKcDj6&#i5qgB+7(hv}kGs8UuYf|WDvQT}Z%8yLN#Y>`$baVcHU>1X^`R@Wp9)QMa zG67q-cTEBwGoG>zCp~!xI~s8VX#um5&&>Lxg_6uSF&7TdumTlpyIy4ISDFx#GTuUb zPSi1qVWr%PNZdf{FQ`+_1;JuxPt?u&q*danovQCKkSm&RH3@4~p1qxa*5Qrw`~*Nb z{3*v%=$gXR?M+$)7P60=TCcxDE1FeJaNpcu^*+BMTCo%C3WCB3usyO<76 z@0L8u(8KH%s|D#4U00K;-`9*~SVtN26O2=Fa*DwPL_BgJ9V@6E(O4iEdMcme*l&iU z(Mx9mmrS2t9HBlc?PQCc`pOwuO<7^-e0E?Hw^$IEn&3scRU>>z&t0>EUsc-)jEe1t zDxRSD5NF=e2gx;ZS(<$pah+r$9G<95m&et-*w&WAe`Mt+v4!0pF?Jcf@Mg#?2o~V* zxaAc&{4;jWDa#hlH-{`&o&9=LjSr`8l&J-s=&@5cI|R?XBk{wRv`K#I4e6?4YjkSU zNL^$+5)t!JtJeNmdq2&ejq~$Z3f6@^n6?J+XSSImz8_JG2gf+=In5j6x`IdS1z`j@ z_!>wY9`@HEJ>H#v9z@XSLou9|Tx2M~6gRfGP=+yYqO?k;9o`^;!@9j6F?Kuw&Gwj2 zquQw68Q2}cXsm7)7=42+C4+{xk1TggY~jl%i>d)BN|6QOBR86kcD8VkIuurWLmaWX zp$-***t=+_mb63YUXtq7DRR75%jB8R_Vy%Hif|z*W}|i7NbQ?1w2w zfK+#@tqOs)0=6f_Zi6V~>(&%go#r0sU}Dej?g6rLVN3WhvsP2>95PXk z^jra%Y|SpC^(%4mdr;?kCI8KBh^wRF{>S$SobSOyD{qnZLxhz!Kn; zq)(Wue~z5&&jkplZ!U=0v6A5c*40>Jq!XM>W381)0IF4?f_hq6&m{<9Qw((RFg`dw z#M|V8&3++}gE$lc8}_jZfgF8z#^6K2P(noU2MhVqkxdz>@%l48ae+cI$hv&fVF=cF zuD~SA$h66?<3mo0wHsL}7eZZ;{Z|enZSMaKct!SJj-&bYM2IQIng(NGg zs!}piAS{0D{b(a|IX;%{6=Da{Mk{!ITDdsAIU)q(z={8Nu%j8J^To)}sGsV3a`_uh zSaer4JM(=$>&O4Su3pwt*NAw*c4tUjD!fSf3B-iNCzc4<3mM`>$!*dFUCO%*A-Do! zULu%klhxJ1MyjP}E4L2nufBn~>h|TGDE^KMMhz@0AU{foY1duT%uNA! z6HNgY{g!_^b%NYcwwo{5nbBDJ8+TnLVNtHAQg!*MRk^xHs#I`ed>L~ZXpA#h)m{E1 z0ikh32kQr8Vx>x3N6@rqT}h=6Q_~hJs~LItF7%lf2Q;pUxP6~3jmGj!`t|9rNjbAk zI{i9M8XhSPh6d#1VtQa)t`gUz_qIZT8df{yn{jRzFC=v+d<`)i zA>0iL)Z2dHIw_eE|4n8V6R5WSjU*eF7sf<2fb}+Z0WRU%c=?mI^HzHcfPLSZ587L> zq0)*uV|9%&qkLMtWOvJkO0Z`Qw*^heC*6IjQ3@^B!K%NsjitrS0bb%me{_qBOJFS_#Z@~%~a z{O`K(0yUA&2219Ss=Jy=oD6FYn19R{^#oEQ5krgPLhZwx!7gh zIW+X}hb)pKPgC~Y#tS#mX|5-Gt}UD$FzXbdkOEQA+{hA?KH9V5S=kHdtxYioNq2yl zK=ZtF!EOS)C5&Xbd=8wZq@x%|1OvJsKM34}n``T!XC!XLd@n$wFjYYyLT)vQNQ)j5 z@^_>5U&fAdxV=_)$Pb>xUqhm5NC4Gm@V-`7Iodw2*)8QiBPJ^E+nIdd8ymPZDbvNY z&4TSi_=KvZDq8|~OWRfe5iOJ_P$4y8lw?91kPhh7D6!4KR<$zu8Z(O)D=BQP_7#EL zoh)7ah7q^ogF_*29`oq5`PWalF3)^;zGZInzt90Ljhg9R+$S8sMLJU>ttG2!vV zdVP;$dQJ5S6W4)|zlFsT#ig|5zHzzw=sebX)<1``i2z)lSRm&z zvBkIu`>=XKAWCrEDt6l}L&QFvH^oeD_pl6WFi601IXnx{!Q+HQDFI<0UrNQuxmiiZD|NpZ;Z+v{X>@bS&Ye8`h6cyHywA?b zsXUXh@@3fazqa_7)$(0fTH;%`d_4^`8wyl9_oMa>O1)Fbt|PEMSzWf%TvktD&;WJw z%^(nZVK@Nw97hcCmJqdC{OFzPe|?8HstPoyGcVjwWKH7LWIbyanc+CJi6s?hNMI+i z{9sPe^m=sg-iHZX{%wT_9$QjYMt~@&$N-ka^fOQpZG;vtOCVaD>BFgjbfj69GwkLz zH^K&&f7wISWUZLrwr@GyUxH`&9{}b!=fcrr?Ad!8>d!W4-jx&Gzy|YoY4%Tamj}~| zHkAz=6FJIBp&tMgM(|1_OaqHA^LF0v166445_#MP>gUKoOuUzY9uq9*_XDp2`^4^V{v$ z{B3gN>VT4})=`Qbs;-qU z+;KyCW?RTvU(!hFi|;D%*yJcSZ&DcAu4lzE%<_ozk5PL8%2*nuw!%IixJU=mmkDw< zH|>0SG5d&gL?Ln~SssmVV%=Qh9i0td_5Mi39)h&IK_1%&qm~xdy^Jx_@lk-4G{5yTcWeXYmgd&RSka3!%GzFI zX7c2Do$9kb@EbljSTQs{PJvv9mR8i&?8H}i!Ao~tFMV2JcKYyjBVd)-o!|l!=_0{+ zf{4UQb|g9DqC=C3iONJC`-U@U>hRZ%Je|k79esm?U24BgT1I--zGsypKN=Lw!!rv~{4eenap52~Bu`+7< zo1*?7MtjliOgbA|P2YB|z@JLHYYX<oBIqMd<_xTl&yU)krf-o>wptt6iosffppvhfgr92jVCZ5I7AY#N6nPtnZyk=2 zjl>soK-)h8=?6um3sTs+;)@G@|AIIu2#6;OL+x;$b3j_qil)7FVPu9nJv95Y{0~46 zYaNGjM=y+msRVj>AF%lQ{p%?MkkANg*%atbiPFUOy+KU9+NmDu+Z)5*1M`#y*Z6^Q?wu(r$NHcIzzn%5K~cYf9sxJvdDe2BETvqS1?| zKNd~^yhH9>?P^qXg3uP8VRX_Y`$S182VbS7a#K~4MHeqRE;iT+bjSVX#@c|ZP*ld= zq5nKLolSRL{{)dDHRb7bAJ%bX8Plo%1>qTt6_{9^n$iX8;kQHeI3?pkFRa_1sVzy@ z1JyYyh{eeX6UqsmB;%2O2&0Yr1Yf$>w~-sA$fFeQ2o7^5BYoO^R~t`p!baAt>ZlB4 zn$a6}^x6DA{z}Bu{;2ywdAndr~BU@_gZC=yBaxgPvAHQuO)j((uJ00{q0V(v9se}a@g@m=az7?>|J&5C$CZ&~5f!-XzBi2vOu_$Mm zaZq=RUxjS7xgGd3y4A&zyb8F4Ub5%;a*RhVjs_`aYuBqrmWJV}{5P@~Eug>L)_O!J zZ%qJMpJ#haH~IqOzrRk1NmA1NSHufrk5tWId;v(U_O}oarbo zLx$?fLw;wqmbd7Xm%)}F$91f)ktIyzbQ&h2n+T9xO}8fy2E{&dZ;^1(sGFEUEg!Qz zy1DHN2YQ{wxL%2i5KI(njaB33Lh1M>*TvBVHvDCZkpPoC7tzaWFx$UJw+X*&5M6W7 zC7@&z=bUxgog$_lCw8JQi19|6OGALZ)QG}f@=qw#k-IYth_1LXHn&c~vOc+Rh9uNC zAe<1bZSw0$&XKWki#x197SSMPA!%YTs&ytd?R*iOZCX+UAWHUPMNra3XCSpa6eHRl z@oT;DeIW(4AXp*U*^#@)DQV-BgS#Q`=FZeG!z2y8p89FaMCf8ttRv$cMV-K_q9?Nh zA*OWXxjzqV8z`6ZkXIKN)X<#2bRBSs@0j3ZF&X7^KB57I#yVL6Z7G|We&-OHGoBTg zy&5uc{A?2R_(@HAOrifVm|_mCaNPzo=0PBZDdK7p-9hRLr|~bOq&)b@%iup#=5lNK zzRlG}x6$tspb>CBOCIzSugFs-nmL}lTdiU%)3TTz`iqxNy{n;)jxQ9^_lxIlJVEbi zHM)tbwt+KTZS$t;@yfe_v?wg!hv9bV?pETAZ?{G>ws11N@Pe$p`!S!0+7&-*Vi?Zg z;Oc~x5$EE0G{&&r<%kE49mR23Rb!xJD1=mfct_4KMH>-e*6#$xnQ;WKiHkX^nFw)p z7EY}pXvuaoD@WKTcNaRUJO+9%-{59z8?!qQeE`F>zyDeVMsar#FUBLRp+~GWmi9bS zUsIdDsI_$RM9}W_Omo;~q?pC+3W_)DQpY832+=VeGLg0CS&chp@S#w}h_fv2x@!{m zM4W_&PgQU_;`DrOL`(#BN*4IK({&fRIt}XQbpqo_?|QSOPClFac~xbH0SCtUqBZ%^ zbnGiIW_tN_@ETzeY%O_<*WZM_y2SCaaf@aiBzH&%SLp6aYB+@Qmnh>}Fti^xp}EZ1 zB5Tqyh73TNyr$f(R((5%vz~r%rT+i|Y681_aP@grv}@Dc=ofSV^EX5n{>01hlM&eX zK#NS#gHKHtTg0;5giS$Opt@7r>iTbQyAaclxb!e=usI?Ndb&TNY4VK`sR^(>{Fgi5 z%dmxX>bs?fNq!CwUjaIp6t^3KtJSNmH&xEGJQuJFq~$i_!3GE04WvY-fj;S=DJaI`aCXuc)22qj^ulTuCZ zIXRG^6M~SWJh@?sjFD6e8i#BqysHt+-^1J};LT*(1O}f=?F-vGy)4%~m~oo?AXpVR z0jK|=IaYVl^yv5UFQ}>0YsSFuoN;2mPJ7FfUK4VFI5U171AT{6*ZN+1ztUVFm#g%4 zWq#@fyW1|1z-f;z(s(ZB5<6T*J2y)H?s}Z=#k!@BIEq9Y^ z{nDcBf45NnO`04j^m^_g7pFV5TWQH3DfETaO;_VhvAG1%u(YBFjN`cPXh~7b>nGsIfG< zMv>lI&%$_UyJH4yh=GxH!#Z6?)Qf+nOJZ4)GNfrHA$)CHnhMTFhJGBNMB2yB)Vf;m zY+xE_WrPQ65S!)m-M?Y^%$_4h;@rU*#*5n@mztt0cRVQ!mOlLRE(vi|L8;#FS0XEy z;%YX3M2ji~bLN6A!FN}@ZDHobYpYp>}!2hDi#Y)sc5 z4H&pRGyj@_&H3S5C(Ys+Ds$CqgZjo+$fe?6(MO7#TswS zKIh3jv!H;t0kVHM zRd7qV=9`kX-Z|>Gnk7H#1REDcllPCnd5ZINN=5Ryjy6N0sI8f{A|9g{Y{90<0{cun zbtYCTo8m9ftL!W)nf~j{mm#uS4@1On;urkH=;Kh; zS)~n}B4*c=71i^C3M#`j9qjsHXk_I+($va>QW7fssnc8}-`p%oqJFkZmRh&|YBvu?0Yr-_-)*_gAgWUeV^w84sdx zG2DTYlw^~ubJORhVT>ar;Xz*b2TE?O|EnpdF34eCk?;C#w2wfJU-`842_3#JTnK)t z!a(UO{)Dx#Ea$9(&r6z~rcS#O05gd<|>q}MP;X7Gg`3$ zPAvW4H8zPo0zWS0uP#;Q6bC=am2j=RKS6RbK!vuE2#I*@z z;dV@TDS%J}hqa{ySr$dZcmY|RyZ*tHjb_yN(x|camVq^__fq-4^Qwr(lZ0fSy~n>frEi?C4PDPbwkA_e*G_L`*8)0uUuB}QpSAJ;0sQa1 zKS}*ZzaPQA+$nFhFBf~3`-}&eD+cq3pKvnTZ#zY;?lj~&dHKLwQ;G%ZLEWaz8OD>a z8;(IOTlu}D?BEpW+h-JU%dXoq)#2MHUWCoAUR1 z7}~V)Fx6Apr3Vs-Y90wGIIXPylsD7#vQl0McH50RUYEjhx`ot^_2?nCn`5M1;SM%> z{n^1JY*Xe^5H9X4;so&mbpI0cT>(~(LHlo##h^=tY$+T*?=`UAAB{QvMg{Pegck+Y z0{(Y-Bf3!5obf~2*Rr4hORW0DxKRgXqD&yIOI|i$G;$4aPaC*%M&wlXkV(Paq4mY7 ztPy8m+N2@WK|{&?Dy@qXRU2E7+(V#(rrQsV_PZuWKZzV~+n*H6j=J7=Q|&Edq5;k zQ)%&%f~J~uGzUDuN(yCvPI1-MY~*aEn;*#UNs?D+$FC<1#M@b{?Y&X`Ww3GZ87Q0akKpRC41OQ_f5vW!Ds+_}Vm#SFY4x z5DuGa54?hlS|Rf5Cu+l;%7x#61FJ(>a7KJh1rarAHO7(KS1C^1`%NZ42umZX8I%I2 z)XKN3ys7a3qY^s@<3A>;su(iU<%01hHQDH?rP1r5q`9;lcHE6?Y-NqiMjrH!*{1s= zs2#iQtp|nEq*-{d67eV&Jr}H$_P_^qQMC_%TVVjqCU#(L;K&j7P1P=zrYBfre|Y1D zjKyy3(wBr8HX<%Bj_5TOFpBL~dizqKPQfO;G~jUO@#gn@HM`Q=3Bc&`A*vo7F5C;_ z(+W&qo7*Hb!uppLMgjGX8Z|?{z6E(os)n;+k|=|piAVzFNGYURI6;&;3((%m&Ow$p zfliL*Ey_7@Mh%;7i! zU=x(VubRsY^JJ+GAynGf?i_zGwS{&Kpc5h%Bj5n2iHw{GpH@Aq zawc3aj*l&v9vB6y)S5P`=IK_Wqv=zSYo2BzSlAJQJzd(mbK&5VCQhFk^Nn(Ca>IM- z#tK6uEU%XJ>(-^UmZh#1fP!5Gh@R*hT-X7kYgEb(`j7)ax|R%d!c%|0?wkm6*s_BB z#(t$Q9tlZDG9kG={LbDdBvr@OP(rUg=LYpLLD7^C^+^Z;>entfC%$bSkmVRy*eRMA z)ye|Lor5lr=V+#W-OBXCXgm^t+SDf0Ga1rVxB>NHs{ta(Q6-NO8 zK!!Ekdsvn&*RUyhunqfL88~#%v{8~u(o+NU9o%i%10xVS#z48x3(r!LH|)2@?lwo= zo`)T-@HYFQi@8rJN%@s?aL4f6a8;ec1oM8|xiKR5>dkfjBcpoU@Wg-N9fXY?4r+DY zs@OcW==lcpI^o3;VpM%~)y?pWZpD{|SI4Zy^Uflq9JSFr9hiwrewam@qAAb&Bb!MK z#B8lK6hxP_USkaAty8M!Bwi$Ge*j#v9wQ0shis^6!>ZpW6Gy1NS9}* z`8-LIagWT-8bNUTxGq}VP`A;6AuXdDlucCZ7Mz;dPJw(nydNWdk9lQLBJa$!!Mq|^ z72ejwX$hSM#dMp`9Hfkm!s0|Y{V8h+S-bB2AF=K;e4EswfI4E`9Et!sD*W+^NxG9D zKIRtaA-^TQe&f+ov~xiF{$4}iVhoT%Y$W;&wj3TR(}lFiqSQGhF)Qwq5^n$5?j9lVpBv5dwWydLP=2!e9>xMR*m?u{0qcG! zIqe%W&{S#2XhJ$zd7I&AL8tx3ox*%;^AJmAY~015gP*FS&zn7N0Bqy!rY7{>Q6Vr_ z>54)^B7j7hl)Zs_Ij4gJlVJ9xT!o#O4hgeQeM_I$lh>jJSev6Ar)_WL?b0ER>5;aW$et);%hNu3sh(SY2Or zafRI=UJQ?!=0)$CZ@>h!i&U4NO$V!h}ei~eSENETF zUH_v6mhhZSFsh4MEd;Zoy zsE2BCz7x7b$2ez`t`~^?&+8}%O z)BTb-=-hQN^q_Dn9^@V*ZPgbXJM#gZ45~)l@$dcFIl3BiWi?(V9(reS88f-=|4z}D zcZ0)GwSfx%@lbw6+XMYE#_bbB0vFc^hu}j8P=f*zvpXN(`V5u*#$lgBQ?F8FHU~U_ zinJyN?ao3s;l_oy34^k#zGo?w4ztlwayK&70%=tI94x6~&*2&vijAJT4iW|WQl zzl`=K{NSg2f{@jIz4j0fUe7kw-;L!O_&%zV(PmGKDYwnOQzjqnn8ts4WH$IRpZC)Y z!8BhSf6+6Hl}JLYr`R$OR?zQq{dQOj;YS}rFa)rDb$jY4{Q9tZq+~|dWWAKJ4moz< z0^9sG7%l3LkW&G{HQn{v1#!fO5r%(h~@X zbpHB^cYz=RdXM(T#osUOgU{WeWPo$9_b?!zb5u|B09q`@YQe(u(bVct+h9{7D{WK@ zxm0fw8ULQiC+CM@T`#p(vA@K?g=tmTF*hHW`ZjMP#cRXcLVC;K zh7p%eW_09@(-ZA^hteb6>~Wj2Uwje6TD{`F&i6(Y2vu0% z;8O;`XH-n>ALGyc_rR0)&i*K9Clj>m*|4QDMiJb{7ba61yJ&^el738;AK`KOqp=dj zyhML+d8kNe-K$26lmK2oNK+o;dn$o$4+j|36jt$g-^STCMEfj^ z`w5A8B(Kw<&5P~uC7Ja*rkEiUNRMWYPvCr<*e~IQKKb(|Yu~_zitdZ1O;u$lr5bAT zM}>u!&Y09!A=K-1gHR(}aAgx5IU!M@s6H`(nY`>zagB~R5Dn6`^{Sig`EdKfPN0eV z5Xd^T6dfjNysE%Su(2sOTU|b4`{i`OC8Q5{NjlkL1-X}70}ZfDdEYn4)DTBF2z zY((0yJ0Au6;>k&K`})F3`6Y>O5>0t`QXNp(#itw+Z&`z#j|@UTev8qQ_s9 z-Hh_V*2xf^u*rH0oZ$?^SZx0eugKTYPOKf-D>cjzSq;n4b1Ac4zUflx0&!zy#M=K} zOR_}SnW5$R+W3691Px#8M}5`R8HLj)iO+@E?~UE2wz2J}FZhbRpEPi>mdNo8AP-S! z#O{{j7vnaZFS0&ToBaE#<>;ctLoR5H^v1B3ldUhKC|D6>RzaWt5n-d3Jb9!r8OB&PuP>s%cRuM z*H1|y#n1v~;pH#mE^|j)BYUVnm%}?$Q+WXBWT<;k(8OAbzN>Q1RvZjbw3P{`A=H^3 zW3*!5?dYZ3$zOn8i`>^3oT~FH@jcoUeg3TXbQ+ZZ8dkuYhtuNct_(!L=sMFEmw(D61ut*+S+jFpWb;+frmG!( zniPPH;2#HQ#{7JXB%f4Om3!SHlW zhE_GUI71-PDc|7L-Q-?e)L2n0k&fnteLy0rB)Umyb}6wcO8g8)IjH&<%7!gj=o6bc zf5jJ;V%ELg!$)R)LMQg264yH_7mXcZS%te&;$EXRyZ))`08Rn_kL{wGpHSvUKh+W* zp>M&u!1DM#l>%`+l#RX99uZmGT1Zcu)kC;rcyv<+(S0aX3wIfT&R@|MuUBYj^8026HUm+ zYAzx7;4+udCoRZDw#EKEkCI-uzWM8J=2$LrlHrRt8SMjoh-^Siw4r?TIYJl35eVl9 zq2C%cz+Q}}OCl|Kz~w~bc{U1ouU8Dx=$v~1S|L%!9HJv*0RCaMsPTRu`f7hxS{;l4 zZGFAkTmUsgd;pCqYQnHHB{BJ1QPxj>crt~{wWq3*vc?*8cvg-3>_#sN;2j#qy4o@% zB@ln4g;}?Sn=SBF1e%%qhmao|1nFN%pUVm}7DZINPNsVMLoLUvszY!JuWf&j0}Umv zcz};JDt+d~?>f=Cila6!Tnijl6R;XckpZI5z*Y|XWT1zy?&cbJ|4NH7WJflb_xf1m zgoiA%@J3+F0X<5gEN%P=k}N;deg}H8U;!08?N&78LTaZvOm)+c9a9J7on~~8dqXF* z0)v0BXjXr+SB2^lAI2y2-o^_}rC}lJA5AoLK_w<88&k`CSp33rO>*e!|3}w7HrLu{ zYXXjK+qP|+E4Gsr+xCiWTPwD0+qUhb^X|P*pVM94RrAA~&kvYY&lvZ84Q2h{@G~H34lL zVAW)Gy-Mk0lWIvgRgWN2+!ZQO*oNrvPm;3BnB-%OhXu#}jUNT*X$%K1S4>*OjVS@@yc(B)c$<+IMVWp(o1hRES-yQWV`te6$SC20fT;tuUE zSLGxh!mnhl+ZIj|Vax;G4i38!LC389xLR*I7DxGAH&eDs@;6|O*!+Nebx z=euN42<<5;rWb6WD1GBfRq-BL?IPWahMJP?J4$;I7c@+}>IktFM3DxpQvvNNB9YpD zdUKoL*0y4SHO(eLC5abBWP!BK4Rv!)#jyPlK3Tt#P4C>TwrL>bJ4njobWK|Whu8!7 zuezsbhAhFl?b{P&LyA?q4Dwm1_o%U%jkRF>|wR-Bz1= zU)k668n7GRM@Xao+F}EPO~#aX$ngQ0hUNj-^IgvM9d8rHA`;5UpnsJF+nr&zw`jW< z^$(_wm3b`$rG{{_fLaoVSH3j5+k+y~glz$d4bZOjdK?&xr7JDMWM|4AR|7PnfM=y+ zNXTQkl49c?z)N4kZ5`9YOV-vEF~r*6$7m?ULQ0PZi!(zXF*epBTYl$N^7%C?)clpt z9ai0jyIxY6Q3(juw`qz;QvGmrS$)am05oCow34+J{l+QVkw?H84ir`heZo$%H` z_HqFTs`_)iB$P1jAn`72q=7;L*&2@Ll?mNT~0I~AMgI!l@e8+SO4WO|U%hgFg z1(PtSw02|G09l(Ng8L!SFjIrG>=HgK=~}h%4Z5tfv%xFiSyy(Y6HElFqC#0susAEo zZew$Ew{Ktn73*1+YcAeymLi~@z{c)ZamM)Qe@3M3sWy!~xtRTubOZiZ((+S{inW-GwoH~0*UA`uCh3Is|J9y^ zrLtq$+1G$7dM~;WsGzXv2;PVBs^RUerjs=bWovNK)d3(Df8t8ZRa1o)Vh=ogDY=n& zhY&sG*$fiHXo53mn!RK80GKrG?LZbo+!61OCbNo2d0EuyT@oe73^K8rVCY~EfR*St zym!ouNeTkY?j&srL75lCCrZCXOG;J0yhvGJ+Qw-19YH|U@-xe!Tx7Mh^lvc8|LGZ8 zKbT#9AwMoQBE%zk6TUe}jhG_7hM;FQWj(u3uPE&ED$75^z0zNlN3g@Vg+T>uKC>v3 zxdGNXXi#R23=gKK_#QScCml13t#1f(*c+Uo@sN<{>2^hxBIErG_^7Tc6Q8#-e6P8F ztq~4B?_O_)`gx}M@;gZA{4;@5)00mwaa|)8hc63sTsu>K=@lH8L5_#9Rs)i8eZ=bm zOzX(s^cLknUFsY*wad}_sBH+>`f`ac*?+M>|5Ddo>(}vy&+G29jfssp02lw~>o9+O zj1e=LuW$n5p{^pD&d(YK<6oxi2qpQw%S6_9!bM7Z2yGAG7I-$|du3m#Q5f@xazzKi|ATt1j z63er2=e38%gg%4>>3~naY}4U)IZ|5H-Y&eYO&4Mt7XUF4d^J9pYcbf?xTgJp(xL~# zO!hzhqyTXJ6hRr*Ky=`w`JFgtg~Nyz2R;4dK;mu!&xO}cB;2o;1i6y~;2X%2iK3lc z;Vo7}+qk$oG?}y}7{F7k9T~O)<>V^5-OFvZd3%(jQ`pG;s0(KCb)o5PgvQf`3T3i@ zGG2HI8rl6g1HWWhsrT4frBlbB; zfnZmkD`tIpQt8I3*DE8mF-`cPXfbHjXeD=0Y6mv zdrmYu;sI#0k*xMW0KHiB>AvnHu2>;L*KWL`u;*ow%UiRPFshBmPNn;rx$f0tb51mQw!(nJfX-IUdN?6U=^s1i@jX%h0Eom~w5g$O6uKd%wWK*89ZZS5du~U> zYE&0encsuZRbpvzr4WOaT5JFcQ}yfbUyQZhclKZOGey<~k9Kd>Duui3#m}-;+z1W=Z1CMG0wrP+7 z$kq3GdM0W8j8eTTQ{m-_@p1E;nXH7`a5XX6y31g&=Rc7;B=nOwj0p)%l!Th1(>a;| z1ke3Jj)Z-y_SrtGcWvh<-H^7|&B@$?esgwp^E*CGu+MNTDQNYXVSLpRdwj$^x+6@@ z)EB@Sf5@c`$$*ys7W2q%8TNK@7zOh2lwD8nqZL{HOFTv=KUKD$h@JdL8u6jP)(8;- zbg+|aNQ|l(dXb-aq@;^)^2;yCkdgo8DDhUUS%8YJ?9v#tl8}0^7HJCvqrTm|V1|mi zIn@50yG|{{rH|JwDH{g41FO^qt7B+{IhE{yK5oCjBa>9@5h8}|6d*lHadOGYz2~A~ zmeks&u)$q5O;9e0J!cH@`c?(|Fl#vd*rXvY?oN?rtB{cV89$E4q_;i|vR_^8_a3uGu=-Yc3- zc`9R*&fwD-#mi**jFpBwF-ld$f@%OQ2ea#kF!WGhv2A6VmtSChdjPD`~pe~(E%29#|46|Y6Yx~p6m{3u_D>DW1!>~A=fWJ?G z{3#UvG}1ST5O*{nZh?qER4ps$HHqz3Gn}v-uwNLo_-#MF!Xx3Q79iI^a#zGs-NP`D ziyo|`pOkHR_a8TlA2cgu=xgh!AwU~dUd`zLwV@g39s*>MSFb1nAu#xWf!%L zGFmsh;~S07?VK=E+2O0pgwNkRX0NrQ5`ihJ4uYH*JTvyD%V&wk#d>uS>G0^_nNnGo zNa?kMT=p`9Te;k&bKF4VP-et7WI~1slAIiOvv_raNlB2HZfWmi{a8|lIE0EojWEzxdqq{9jnsRkHc$UNkGz@RWvCvP&z^0CJ z@VT|(=xg9B>adVGWpOtYT7ZzkoAq{(^FFpT=X$-ODV_;JIkq*7Zd7EpDqvu}i_ycC z9y{_NH{I+AYol75&{z03iqaXHj6=;1exgKchf*+4*Y`g0-@mU8dq>E>@4q=hgb#^I zDVUFFrE1s+)=zHmnVq zb-&wIUmJ|C3p(+8*5~$$0%@)h?FXmzm&lM5<0OW|B^pglNIZy;7WOIwxmhasD`W5( z-4vdDp2Di8|1_en@y)Fwrb2^UB7UKWV;ZF-=CNsL_INNswHTTwDoglddowGNhI{cG zD@1W-W2>BD46XpI@eGL>FwwCA7c2I*rP<}hH=_P+jMsP6$BJV&q{=vt(aHa#tK4!r zjnPQWK19t*XOAKh0faL8Xs8AXA_UkdMb$= z@4Wls3>wt=1+^o*I$I6>b~Ju@=P9l0m*yTN4`EqBOsd+Ui6& z+o933WZ6w)?nwN0BK>h4x(wn#^Mdp>3)|UJ8Fi7jDQE~Gi=6X0fR~>B$~>Os#rzbm zj}0Lhq+f`evEeI}wJBH(n@${_Ey}hJ>1|WGKF@h$vfb46y!3**l(Z( zKEOO(sgdlSugXo=mj*M}S&NdO2S|#8J%l9nD+*4+q{g;vArK^Rti0&hcU$?KxAkW7 zUfh7lL;SwPue$IK^XFP4TyeKy5@1-5v4$WKpi9u!?zo@HZmL?9w$1VpcRTi^P^XPc zdoPz~Wn6j;-7`**aP8zDh}gCWn0G;g);}38hYq!-*QmSYB48u%F3$&?j4M1{O=pTt z%Ff6@!7xgF%D z5&+kQ0T%VTz8#rlKRWiehNP2wQT&99@)EFW6^7E2sG==xP!7Ol7lm5!fYF zaGzu}hJl|to-E}}TT9OH{T=GNX&afS^h2RU#emb4lpqjH>80`0UYf2F;0N&1)7xs# zo1C2gW#xQE#)aNbb2Wb8*!yPO=e`zyeY4I=9TkV}kKDA|^bEYV5%zRa&gG7eX=Q%8 zHc9Gi`GwqYF}Fmq2Jkq97QYQ)?>7OjnM=5+VSsGN)%pZE%xt1Xq?9Xx@RO@T2s1^@ zi1{*|=bI;M3S`}>^)}#iJ=wkXW`7P9vNV+U1jhRrYR-ocMPs9}*-~UB&h@%@+T?b) zLUUj=QwN!|KVt`#zmVo{&l9MKtdY`@>7vxqA+R*ht`SAa&hyXp9)|R+8AZDo)>9;E z1J<^Y0E|C)(GNMw0)^fq=+W2g>`9;^Ygk9#cuqh6s5imS-x#TLLq7}nh}_40v36ta z{c~D00Hi93o`5cMF3k0|4g>Y{RZQW70fJd)C;9MLKEzXs>&ayFA*qZCv4q0I9GSI* zL8~Dn-K{VAumVGJH^{O&Z$=E78JM3;f%5X>9`5BWPC6m%D>F2gQo01WkX$4k4(z-6 z*3#oh3pgADyENaJdP762N|d~ao(!LJ0;c3zz?7uJ=;v_>7r#^8x@)ZpJ; zNC1K0Wi(qa(l^qRw`|HP0Fjlb&~@}R+HR!9B_b<#OR6TKCxWF1whokFKv;Xs+rJFl z@HRo)JPL(4p!%jDNfRppJxo4P%&kgg5T|Z;=&6zGiE_;XO9(Le;-3mlPlc7q$niWL zOBB8{$N*7wV?UFoRZ=M90+8+2kr~1nm>B+OI?SP_ei;V|)7>`HVq9=)c)TIi#n{VL z#uzDmI6DQN4MF3Mu`l*da`QzLSSdk(N_(JwSc9`OWpk~$$P_#@o%nG`swHZ&CGgDI zinREyLN9kSW@jJCUweQ`YY2(N-hI{U#E4#7Nvp1hn>ud5pS7}RNC935_+E#nRd*H3 zM|wooQmT>o1H;vDQ3Qg@-sHr17eg`R!;8DHZX40L1IiF1h!5avI6WWUKv9k;-2x&i zkF5*T_>muopMa}~Yb#3b;1#{rw-Mkmh(?CG*sX!|z^+%ZrxJfEad><_IMNWF)O!W2 z2bR5KudrE3I&WiHTh{Uso$ZjqWlBpTZ)%u@A_&mYX67XP4_E2le%iQTwK|_>Vdxo` z#TZ(zr;JSW6AEN~E_7iX)Y<)&;#(E%foDA~*n1o$cGuQ*+7Egf7lTd#mVaz$&*$%x zPj@aHjHJBj_95Wad>ObPgY5l!<{e-C!5P_qZZ zb3cyF&JpxWp=!{KkLluDmsmH+6%|@2U1H05?@y(Dczs&&Aa%^)>MPxQ6Q$=N91ePm5Ex* z)a3toxZS0(y6Sx3HjKDsTEu0qll3t;-+~ehU0az;k;3FaWF?l=$mi>f!t4_l3f1_D zl^%xy6hp$wX<%Qr>U<9w5Uiz2AUFrTFS*#uJaC>jQTBk1pv6GU;3hb4MXGQ72rQ7)JSryxYz4oGP zeu#St0Ly>`+6aHfE6%lx{ekpuuS=&caL8m#+LZn!M{tOJp2XdL=xP}kJrYNMI&6MW zZ`M(+wc|5*dNHSC3Dk9jJ?XtIp)f_ zq|O~F|7;_3S`^bX%6L-Wx+#5IGY65ma<0P-esUXR?*qSGTyglvBF$-#C#5qoXzBH; zc{+pdsmN`#Pe!SdZ-cGadS0?{H-}SiXQdkfA>5sW9x6TTuIWn~B^E)Xn~9g_=da*Y z@TLf7|Nb~_auU+qNHYF`qQ@F*IL$oaVmpDuFfBbC@`@sNqEtAeX==un z%gk!&K(Irqg|%slxn#BY2Z%fxCI%7k2EZq(vbwWZT~HHKH{YK0q(~~JrhK*aOdIkF z64;HvC(Y`gCiXJ)rkmmLe9l(Q;L;iJ*1WpN(QhF-I0EiT$}<1BjG@ZJLqQ9_2+4Jf zy&HL$x|Xk19j%xkf`~bj!BMPw{-WdhS%F$`w+i-cEi{S)RFYRqSSTtYz=!YO&39nK z$`ancYWl%elpyj7Ht z(#Y$UL})y1RJ!fbbTbA|9~LodLHFfNj+l4;m=D0H}Y1k&Oo$ypn!>Mo#;>Fcn&5^?c zifcpke_4!sYevD%vs9^5WC5p@0jIx-QvXt=Uj6*|8^Ady!XU2wKp^G_p+=jWu?Sv? zfs^ysf>b3PP$%@qV!Xf*5eZ+#=u7ugOQHYt8zceZ2=Vl7DcFyF%2mL0gP119ofZCt zNwi%N{8sZ3y;>pb>cHu%sj!s@M7KqV7dF&pfrZYf%I)F^MenEU3hOGsT~Nx!Ak1LTQ@>2G9OYK;d>l8hGh|N&DZq@Vp&ce&o$yUYnD*G)26qV*X z$9*&2(2X;B^pC|7$9`TwU>7j4)`k^q_>{+?j;4@HbyYS7d|li35{qe2#7KUEyJb{_ z?LtKYZQ5r1Dh;GTV@om|H*20;mm!PBSp56{WEfdi|BGRyMXf*%QZj0L;j9i9fzKTp zu=r>!du#u^BBQ;Z6eGaZ6j|HDv4N*ee;nDJn-yPd`lT*|fM!T8|t!I>zh zOLw7S3I&(NB+63i>HcTS>r6h1ZDPPFxvak*?+JM-uO)#!obg6Q2lP`&iA4%dboAj zk(E1*&{`W}h$p3y12JU&$6!3JhcBPuqjGsKEN0U?Z3@O$ki(Ty-ou0w#^Bf~Q{#~N z@fUBhNKxsAmceXV&QKYoc!-x_&VQ0X%AwV2^d=%&xKem7j|Xmts|;Fr`MSYpfmDjx z9V>OIvQG&uxZkMLe5&Zfhzi7uU|Y~lhIfCF&Fke-{EXzAO&*(h9%+_MHFo&YK!WyP zQX9O9<|Kpg>Nk*IasG&ENqr|YUv{;%xjX?B3>XL}Lh=GojC4q8P`}s#4zPWx-Tez% z438nnyEr>T2`J<50Q+xf5w^(JO;)EPRHPD;CmRJNSRP^&aJ*`4e{KrbN~#7tO}6b9 zP&K;2o&#U+P@!P(S?F>@66obD-V~-Vzrs&5RG7?E9E5#f_Fu~46TrWf#n%6+EW-Z3 zl*NIDz(0CDMI9Lkd;chl`{q^L8gK#TvqD; zlUSsHV5cJrOo~xYM0eghg3YCR6cSL9Ci)Kz0Y8_xdz1U~!Xb03G36=2N$Y;>YlF1h}`&`K+GCvGX8hOxy92z(7#vwnBZl z0QHFr7b69~02Ru_RTE}wm=44^r03WaFcXo^l$hmT;5DNGzfOAmK#V>!vRUQ@H+Q#k$0G*uV964Ye9Fx}^atlfqVWI6j;c6=Y&+iL}2GGvZ`e*}-J z2Bsqx4H+GulOpKM&V;sf+GsQ-fLpjGa*+6A zQo}FBI5zCt8h&~G5Quw`ot5CFQJn8tej{~}sCmKl`V%K0=P+*wXQs~vP$1FPa0dW( zpYQ_@v*Jq{LC|sk!$1U^|26xka3Zf!tGQ{jY3kG7#VZ;OIGG$y?0;K^#D@Q|3? z{^N+|W(?BN(OzMrOwOu`Ys7DO?>|Y%Hza(W+DlsH3!Hfk-9T-?q4#r&;avbF;DVxc z+u_%6jGh0jJ}CIfWi%Fr~wvc!fDHhC$?3FZWKK50#QhoYrSPaKF8lUS`N9J z>Y|A+_OXDWOew~R?_P4Z=QvQ ztb~Pyzi5PRawO$26pUUD!6oT+jrxh^(wuNU6H-hn*n`$(pWk7F&_k#XLOV(i>{^6) z92JcVEMGSr<8w zhHKR=AdzW@jb5>F_6CO3vi}J{#+N_9;yxb@;N-+-o+81GAQG^SCUQ*wCCrObd$u?CW)kY zP*QZ^h(CG^(CBU{<*OZKo!UKz1IH;ekFTfaC$x%PVHs9#aDem$?9}ijyuhq9ZibtG zK6{bpU4SD7!6gfSp@~B`YFpq>_@oS0QXE85Q^*fgY+#750Ud2a1YUQ|Mcg0u1(*Z@ ztXRVB3Fz+`D@Srhbg|}3IHr{c%OBli-{hSJ17@mQ*vYXxY9b*hgP$_b5XHcY;YrCw z#|i820Y-~(HV|`1zZo~329&=w{UC$KEKNfl#j}mo?Tm&QV1_V9d2Yjr zx!oX}x{f_lZ(vSVC|APfaFagq$1cq5$6x~P9NfN^x~O%)_g7XkOQ+tKaf|KGMXz23 zVDByX?TT1Xz?!>K_?wxh3U6jJ=*_21|6iCPe4}Qlu6-wa9w-_PKE((Jrq#bO!(E~O z!VE_~>8)*W|LjE`4$^LzgntD2_v^a4!`OD-G2NuyFRCSZrE)U>C$p{|VDJky7B({S z;&oah=YWlNg&tVNOpyN>roPgb)Wd94fsvAg5~RFfi0zJ`kN_k14oF2$Ug+h$!Q0RJ zk6(z**>X@fKwo#aw{I__#%tE-HE+r$E_K4ZVRqn1W7jP+a<5?K`WS}|OBN1btfhfO zCn}J}S(gR~P@~F3>1}H{7blKL1zEwv@L->)=aL06eK$@9_KE-(NN7#d6-3RsH937b zksHRI<%i-2WPM_!P6eoIJM^@JSXm}TSd(Rub{zTu5I?E)J9g}MpL0B>hPm7r>3R7j zicOxp&9Ce&vmUBfJnRG0%UZ6wA)%B+-^rlA`3l$s3$`t7nrRy0v0P)%%lRka1x#Ln zFhyP34{P(T(o)C$PB0!Yg8~8M(M-}6lVYWE$Ae-rmh+Tkz)bO6P`5vKP|(ksI&)H_ z1R%bk8erL~h{rZr7%Y>HcVW*x zIcDH2xE=a&bJaU$Q?5?6#uW-@8N};2=^nc^7;2D`cNsxrc$xvq(NxizCenQ*6(w%| z)++fh>-pR#G^RrL2NiUT4W7)~j$6i@Ov*~d#z$orOjfok%|KUAzLRA0cI-S{Oa>C; zH+a_gCN-eFAFDjf>bvYNbeV&*U%`wVPo~%(Dz+ek97T2qrsK5KawcMKc9~Ia7$Y1% z#-ehLYFYIv-l-~`ASQS@a{xRXgmkry1JqgAZ2;6_WlC!-n=_BK4WWW6jk;;s$ZwUc zC$vl)^)ML{oXv=pxxwQFD5_a=)9os}lgR)+v$@w*P4S8K!4P0CgGdyepx%w*uy0~q zK@dFjsjweyuGJkX6LfD8ZFfDb=5 z;Pobb@>>2QS`~P%bF+Tbf3`w|ro=hPJ~gq}fjzsw`iL_%KnU8&BVPFCh0}ne`=C@( zQwpE4Kx4AC4dybV7$b+m3#x6I)T1Q=7A=DOlVeBFBZVhXI zb`K2YEke=R3-=4{wD1vDV#BIXIzw!}9csFKBe9HU1^_&Ut3kMwM_&N@N+A?%9CTpv z(JXN7Z2of|g>b!@l$Ve1)L>PRhgp3LMQNm99JTaRI|X}SpQ`-Or2?d zcm(pH3Qofx`u%d!E(PPAh>VXe&u=+N2*_WA)KMjHClce=(d52)OPjL1u9uEay|Dw= zt%Ej6Eg$2C&=!*CHb?7!VS)FV19GEAIZSOhK`>?~l2hg`N?6zBRw51aWS{<{m~W@p zK{7xlZcb#4+AXmZ>3135-JKP$)&*gEt|VWfNgOl6@U_qoK^&r>RD3}KnY6=<3lvY9 z?Jm&l!p0J7EG}~>C6a4O3$b%CEi5cK4WDK_mhS`IJrfYI&_TYZGGb-AB0;f4-33?9wrNH>qrVhaY=_`{TLn3LUS zr!=`Rk9o?RUC`98VA>ATHM0z6f-tlv_G<$<3SuL7J`KH@h-`hUoV_zOJH3xrR`qTU zfUH6k3<0NtxQ_HPYXJ$r=VoPAd2aAuusjfiCFOTD#LtoMqr1k*FW~g0%$^Z-rt}RG zr_siQU}|G#2NbL$v|Eq<5c2UvV?fRHWCE~J^l=v*jz%2~EzbL6=yk!RUpDd|9O1v_ zYs5-5TR^7dgDIUG<2Rq6(ZVz;AzlYM^td+zT&_vX#8F>(o7hv$dA!-iSM?huKY2W+ zjfgQ6I)S_~r#T&Yx$HFgB`2zl_B%ge-;7GsgoN+y5^(|6_J`?SZ-47@56G9&O2OAL z!cIp$XB7=zo&6R67Mhy6jSoy;@FUn(2LABF2)`2RoG* zavTM+iGHx0Ay)V3wXDI-H1#lea#&wp#radg52~dUqd#7^SU9-5?f2M9mazlfD-g1E>}_*xQ0tB6@vx z+M#=Zff0J0vAtqSXkucGms^~)aL-!ju1xmlmQ@>dJYs}E!8^`jqRyr*2814aqHENlbHT5G91K?g0Y+k{TsLl$wLg{ z=^!`w;?s5LjTrm9N~alFugQ184%4%_Xx$`hNZ2hcABn~S)A5ES&pQTe{x<n%Q{S+&K^sb|X`PGf8FPxo6fLLc3d z#E?m*QJ{>I2*wj=HGuBiT*j4k!UxbPU{xyE;ADj(*k@d;+wWc&E?g#Jd3v*vvv`DL z?Ex55LZmRHenSG5h9uk4k57xfFFywZREKY(Q ze89vNNew-_0JRIL4|NzWFPh)>GW3(ExPf-8s&N(G^*yI0xU`C+fb&IZvBR)8tl1~3jBMbz_^Qm7M~kvw6*umdrjxJah*)0jiYfrM~u zPW59+sUnE5VyMu9+ci&25ShVxsRn2ahl8TIJ+A`gm7S8yPT{BJd>?{uv*X;J7uCK1 z6{Nu-40Gu^r0f9zlsJI_{`+tv+y8aAk>LM-xY5bL(8}chcekIC?l)fY zYA9o?wOyB`f6uVe4>?1|8Qb9$-|ei(46)ZHoEH@rpQ$=ymH9^(*@*sLHOK}rMbw7@ z*^k;}4B;@akBo{{FTawj778h7t@8a$J6y9zUnA(0|gJ` z@Ic^%o2)N17z5oJ5>%6)_mb&l9Qymyo}lp1N7-R|RKK=)sQ0z(PG631`O5lcySu~X z?`A+tQ!R?FoCL|fcBanot`IC;b**Za!N1+9`0^I$HaadZSTB{lnhiS z5x&9KD0v|sAr@;-7E~scFf>XudSmNwm7t0KuhGgxJbvMwu1=5ByVr_ueSlR4TDyCB zU#Ilbw!6b3YMmTCB+=77^yJO&kBt&R;Qrw5tZt~V>-)qFN4lj=xEk+IRsy?i#m{o>`#DY@^QtU&xxH4n+ zdVgYww+->`fr0~oq|XxJsqS-hFk$+oMiz&M@pa!)X=}XL}eXmf+dz{b3)&409Pf-c)!N(2XAMd_@t9c5Up*i&DC0D z#rG?uzBr|a2PIBvQ*ld{iRcM%M(S1EZwtf3;jbNs#>i3E8xYU0A+koj=A;zIwR#*k z7tAlXnUh`Hvjb&hvJs|C8TwS}`AQrLaAmOi$NIQm0STazl}w6{yBTvEjF}01{Ul&> zSy0;tRoEddTc9&%*dD+m&;y*UF+|C2PwOVZv)Sm+O-TiWV%{yqbTqyJl2^zbNjW=u z+HET#{5vHwyXHdfd@ol7$WTE*z52PI2{UOfH`C-N-#dEN+ryp~l+q$m$g6~;MaWYL z0D+<~J`*6A&by#!><5q`SjmR=au@9OiX-=J4|ha4065oObp73w${Jah2YmY1VVMXf z{)jW7SHSp z6S|mrGy;FXlPTc&Ic>OcLL}kfr3Z;8GfTL-EBIFOjv*0Mv&iwprsw|#&+5L20I)?_ ztJXA3l~sy)H*JOqGItkl`4)V>wYZRCwNDc9jy*mtnKhkmoD94v_`i`NO;*~*>(cRL z=+W6Aj=r$*VgM+?Fx0TIyYv{4_`(3<(~U#+rh)TzNS1Zwo;mJn`)I85&V{M=ho!N(qzH9< zsdzGmusQA5LHnhB|~sKXYb zVR{;V=M<-0T$74|=<$~E7`T~3=y@oa>DMt&XqkS7bH6m5U zaO=OAD;D@|IyFnj?Ck3;CQBB1FC!nsQoIccZF^4jkA%8OdvCGvuaX*5WzgNLA6L34 zM#6c-_4yANJbf%866sKcNoM<^Bk)&7cc(CDde?yZJA#%Fz`^*_4M}+NXeIEy$7r-U zfZv=t+{=m|L!u^va-weXz>CYCX9M0IZcJ0cLW{#qY69uH#ll*!K?`TFrJGNYOK9@# zmzY(`98nk+DyT_#iv2jb!=5;ahIh^Y4}ViE18e~`x;;lTbwkT-cXm8@Du6;}}c^=_9;^6vQZ3)}bpXHi!D(APWz_on7? zYwZEx)t(8o6#6>5Ebye0fE=)5`IXdvZ(C&UTTP;wmxk{%D$S@X_n;S>ugC`@kGvz_ zW-;aNEFi%Cpe@EJ0gRoqgwlag2I`mYu88ApG8ea#2snXc959Q?-3vtqW?*BS-O~`2 zMM>(dFm-2+vQhuY#KFNWc~J$9$K;<`yiCFK+eaV#@K@blt<`U_(JjD(l45WGP@p5D z!~z2oOBLL8a4&HF0zH7dmEw!f=k-=SJ7ji3!EY=yb?IH@%UyQzrvL31#x+l`t= zB1j$>mdt{@rmqUpi$a)0s6LhW5#xFjVz{)Ln&yH=Um6--4T++XpQ`v9jc4Ij#>;1H z&ntX{uLh}JsE5Hhrh1~6Poe2Ps42OM_tT&+;gBbWKy4hdauYqs%r^rtR{59^ZX{z% zHBn!v^Gg==C+(V^Mmpb6Gexc`||F4_Aa!?}Td@pXBI<-=YnH2sY*7#*BC z{6jF%nKk1Kg$JXJy&@o7dFq`z2Xv&C)v96MU%E(tYjI{vlZ8;~9q3dvpErNaJv*T- z-q`^RK?0}ka*#v|P9jr~9B(&bXO}v=7Qe}4wvY%Bu0?Qe0ntwGRI?jMpj3pHO>^-o zK?%5EKr(RJ(N)odpt4%lo(7?KB8~R2{IP5;+%EBNb{sQT;(A?&+nb%eC#*OJ`4D{` zdmqqr$iq=tUWILAbI6-(&&u-0!ULBx4|+4w!>ur;M^9dIvM=#OE~KOn`}k$gkg{x8 zSzJSppwgsPZ_Z>zL3_K>TcXcvIO_TC-=WNBWByG{Js=n#L6A(r7bIUYvT1BF-ke)` zbFo4`s-u%=br~Go(&zz=lrCUp&JO?r0p-$@GSvIy5@r0J8XG!}u#d0#ln6(L9xVn_ zwi0^?rZ;4={-BKM74#Ix6e((AN&BIGK@=9#Gx^yvf3=B@^YiU=5L5`vAlL+8XG*J{ zH)6I|W?B&pEwWRk<3L=so~c;^gva@ThHcmS1$xEl1MW#b`uvF_bn|oD%zf#VvaEQ1~Lh)jb0kuuL28KgX7~ zv6MsD6Vq<@jvNh5Oz`?#`$D2gp!Kh99VbWYXo_;o$1TqSy$|)r0BPk+Y?aDzhGhSs zQfvst5B{=*>{R0z)h~Lw+OesLo!k}Qkp}Q$Y`~d)flb2op#2gm>&YpF=5)4@FzXll z{X#V#WAvHr6BKjXBM>ooS>d)jv{<3fQd9Zaey#;su5-DB~5OWZ%U^tJxb;DMgGn7u1}x&8p4gZae9 zD@>fb2@kg2m}x&Oh%X6)fEUcBtL#K{VGK05|GIakV}}<6q`msy+4AM6p+8K-qK&?O zyox~Z`*Es<=?<%>UvK>8#&z>t9Jh1gT2g+QsGx5DtYuVsZ8$uR;@aADo_Gegs{z0i ztN}43SOxVJh04ZuUmhPkXNaf(8 zd-f9)_Qu`Vlzft;(jQVrOM~J*q<%WSv!xG-&C~FaHnqcs~|ZtqPR4W`}&$j zl2AZv5<64=UH9%Q#NlHZy*4V0ec$S{TK+f%D_Vddea0~eFW;C@A*;6DbUT64j`wj) zErNdz9;Ku*uvg%Z%T})=6x^hvBJG zjl;l2PHtEgvFQTOv@G^mVi-zu2MNN;ztW$2T4!3*J0e382}}-KY*!0BHGKw%NQpjZ zON7Bv;@?-Ib?HN)9lzO0++{NLgo)A7m!@rgpSznp*buT8@M%*X_}M1_#|vm-5&&kn zDcvCAgNSPx-)zbntlK24_4m3Y2p9Mxgb2qDreuOUI{%o`b=cs>mD|h>3uxSF@vLso zRHS4A_i?cm;M-+-Q{I6N5n9uK)`3}T3=Ur^&G;US5^gqbD`rxIAdt{x1sda3qOW@> zD!RP5G#gmjb`2FqG`bP?_X&f?65!^SOD1SdR}Y5!5(kxkK@~tb;ot;f&q$b8?n|ex z)Mn26cvsR~P(+-5!-)OD|LafO5RB_?j1#fzL#-^PYzHlX4`|? z!QI{6f(1x$Ke%gfcMl%ig1fsD91a9`3+^7=gZm?|>c0AYx98$mq`9b1UMTJwA4(2B)l>DunGbA@&3VP$d>6gM5(N|7 zLRzN&R_EG45o$x3{4)KSv~fn@S#c?t`sA#h;vD`tAc6=_uD>9SA!0Qa-?ubkl>i!f z)?BIL&KHtPBeEUf#cTR!W`T*@2I1EC1hdjC$Fs0v#y7hH??&SmVea`mWJ&J`KIF*W zq(mVRv;S!kGy0!D>At_HFv}B6Y>5AqC&+zE;Uiy$AD^wi_!Uz+$f;%2ANLLR_S=UR z19e4TYua4Ez`}?ST<6^J4!MJu&=f0av9F`U)X9We1C44)#OLc1HT{d*Pqnm0 zd9tr~i3KDBRc|QZ@ zl+C;LHLREaFy7n%4w+RuICo}&OabhTXhCKkNhej?XHJfH=H-y%R_#yu2|y-1$#xKi zXO2>-G3I8AG4F(6>7&T&_utUUX?@k;&@TfHce%MMZAd6cY)4QZ(8Plr#&A!_qaO1+ zv)!gYywZ8dOi|s}CWcWR*SPjGVDL2eh|`!v8uk=TPD_k}rdq?%h463jq1G8)t;#** zil%vLKQ?H86~-YvJhm*>t7pY&ya2jb)%@u?_!5|vdJS^93oQdDd`mi_{_JWek+nR> z_tOn#4ZRZdnX&cB$}3u`vr3KZ_eU$MKX5p=aZDN^57=(QXFM3337o< zr5T{C+|&`(HHiWS)>R~Hr2z2m5C7WNf@_g{)g7T$`Z$of|}a+yQg z;2pJgVh=4#HHxq}Rb`1gx-P6?5_$%yrl%DQk;0TvbTNo!i8-j?Hg0T?6dNX;Q8?zK zbNLc~V0eJaOmKncO}7wn70<5^E*IC|lFe+}gk01eE|FULy&gygIEvh>HjonOj?yhWa^L=BG?L%&%My{~gk8GA+tc(b z%+P}ZEE4f**>*!kmmQz?@>N>t4_(5?-0AhL1tmnnD2e&;DVKW(nZc{0@ z&nGu#$Xy2Nvzf@jTga{@NU3_R&uRTNhvNOg!8#&|(FjTqnsP5x_{~lQ&3_c~fm)Q- z-#}7Z&s==$kpAut=o4@8@f}!dj=e$943z#xya8iCy{@C@> zFb_uAgsD-@*V7@Lqqe;A)#4ybmTi?Zr!j6ypiUF2b ze|iVDaZzF+b}{`(akri&V+>ljIyFA>V^CbQQD>3|T~*Ux`*V1|*Ho>dw@9DfYi8o% zMO)~ssrlHh&g&K3L0Idz-fMdSeezPoxKOj+vS{iK)F@;v)Y>9W{O)y8zD1F%(1tQ_ zrc*i%8RmxMc6GrItZ%Q#_4>#qnznc32;Oc7K9kyh}omk5UuStvdc*97tH zqlDnm$MOt?4mGkA`=!O_oS_94(eQ-8Zzn zCLD6-F_}<`v{U?2>7HD+&{G^zpbL@&%z}f)-cH*E@PeX|>vuNs6`A@sG-g|w2B2aD zmg_T>j7-Ve`)N(cfjU9zeg!IdD40&BmWog^W49k}kK-AbfmQ@IcWnm?N1kk5rHT>z z^IFIaC5>tNhR6wO)$@JjvV^0hNS&<*HVfO6bvTyv)`=s+gRdrk%Km^3Z;xgno0L1| zH>?E@huYgXRdmx;i#b!xi3A>IjoflS=_te3udR+RBWYc$Rn@nTR=7?pj;CvIl0&+w zHK-X9~#n}i@u&$!E4haNet75u94kW zZ*&&FV13S}9l0b5g+g_-XvhE{*5|Rl^QzhE#$}vkQXFntTt&oDcIQPTr0hb1%zs>8 zbIV|9ki|wrakRBl{UkWuk;aea7&U}m&^U3oed3ueF9ssN8QMc><=mIgCoutA1iBwc zXcWyu5(QL7>h%g>WDFSQnVq^&>|{1jPd9OG?c~#hd#Z?;1Q*6mOD}%OD0r!yljh-{ zHkP%()Cz%v#eUm*k;Q)(%TC=Cp-^6%?K7Nh&6=jWbR$E%0or`w!SUgY`cN~+|2E^h zt8RD;DzMO@^*FJEd%!$!Y$18;J=QjAfPLEptE+(%+?7VH^&#!h4CJl87z# z(^qRzIisI7JBCKdOKn`-l9;+IM2!(r94!d9$(PC3+%tGOfgqVFtcjA#IjqSjtk@3? z-UT!^-1maf(laC=pJ^P)N?f-7eahu$sAY6n|GAUTjsAtiG0=tP!YvRHZUe`k+S@uu zKhdQ;3sckYjh}{($(SC+eYn<@20>L&f{@>3jdzTd1tUE}-Z-M>LRl z!FYH1iJT=XNjau5&gyut#h`0`%d0K6hDw71@gvP}q%?^eBt)Prn!S4G>{@^Hi9L@9 z*=bT4er;!i`@%-W3NqG2QA4$M*jOb0Q$faJ&xw5Y#7E#)w|QJ4rkBDE6wwa@2EZ2X z4_O7>Dhs)dEyqkc`K89^b1^j3hWt&k?!v*I7nX)P~3SHej zOtw%o^lW2FXI5Pn+LmmR11L0%Qf#i;bg@Z3hSVv1J>uLS>(44py*08_L(Hrpx9v2_ z+qTs?*wmw%DYd`X`^F`mmS+kW)N7nws7sLo!nHXUZO{}vrLy)=v)gyhu%Ova?)A2f z;}g`5!t+fRUqtK76DD64%n{|393+VrGRxRYhtxCU`2gpXs;IfSq7w zfo@G5`E+$&Mm?}f)PHKbv-gq%o{0%Lj@g;Vv#ezBtiEc?DQWw-V|r4y_?709W}@|{ zqabask6M{RTx)_h8jdXI7BhDKP6u^JUM)zWfj;xdi^7T?t*Q1TEJv3b*>ggu-l?Mu z+ctfhv6Tgj5k+NSCUQBh^StBb){x(@X1tm2oh)%Ef>$~5I!5dmTAynD3ltzk?z^@8 zJtiw_r7&<=uB;@FdgVi>tN;g`W{IIT4E@$@TesP`bvwo04?w(ZWL{v<&m7dAgJct} zh&kRQgcVg6Htun=z-)O)bXVI^j+>D>CM>i`&hAe(oMoOyWSIz0CRY0Rz|i!`aLb3E za--#^2oqd1ba8YJXo-y@gF1m&{q(?=<-+WhB6)0DrRt2D)Ns6ScevJfZiz(#BR%N6 z&FtjG9_^*?lBER3Pd%I$BdD2B7gg3@{&82~46W%_>qOB=9d}Z|>AwjiQ9yAqP%&Pg|jrbbXyp&1^X9rHFtYY ztJ^5!ECA3Eh~kf8+v2KOWQ}zwU{JAI@Y@%;q5h&`pI}&<;U}~5-VAKf*yR^TA9&7$ zeibQ>bQ@$xqnJ>TdNP`2e|Tjd2&tBz>$d~EzCh6h->R#!C!1}FxDi)xqQBGp)YSb6 z!dRmS^{;yrD$0B%^<4dru8pNr=`lR7>t<1Qd3$RK@MkZD1_FAL;AW5j0fk;Wt_Q9V z%R=ssKJnZkFN%w4s(G(&ygA?Wbb&%MRPojyWTJTt1PyAlP6~sh>9jHcqT|JeM(8Cb=YyOp9UzQOk%)o+&dTAnM@mp^? z_7IRQLNPD(tQ*bUukCVjtr&IW8o~8U?cZJ;u+H&uL{yy@dOyKby$*{WPg7w{LBS60PgyM4lV33Q1>gwpaCYjNB5U zw0IJ0r#k=cG%eW>e<&N8hM!iN*vt$@aU((#@2bJ%LiH#dY&C zwmsOvKbsL0$Qw;M_Fd5q%x%max*;B;!xL9m6P6`NwB*a>6ur73a~KD+ILX}_WUsT) zYOavJG+9^i�BD5o&TupK5G%jjf5u!_#zxoQZ+ zg*23CxvoQ?KbGtJtZ^=74@{pxIbhI92IkXV><|0OJJV*rWugQ)Ya_{C$wU)!8?a?g zWFK_gse*VnB7DBzDK6l1cs>b+bNhwV@VZhxV^P480?lHv-~?l+bJ5&_A3|diY%}5m zkDNDQ0dsF9e7-ge-^i0eAv@>U4Fz4n2dpt1?&I$BF1EZ6(;!0bSkqKaIeKJ5X^hWH zv}*%P)TKQg+uVvr1(c^+6YKt^K&VWyiYF#CEbLUof*QFbs(8AqWbXjTpH(?+g`f9xO2n)OuMG|IFlF(Sqwzfo z5bkW(-gpz+;faPE{y^85Y-pt#A&1^^ViW20U;Cs9qZzA^LeaLHmR8N*U}mZ6G^4$J z6l0pm9xw<6^tMe!i)aCFeB2Lqq;;7c1Ox zCyi7&e(VPaX{4l5Wv?|mfj-@pg^tnE(g32EY;QtQN#w7T77sZAT4v3vGeXiI(@lZ{ z<+uU!jw<0nJz`QP*tzbB=KkzNV;82Z4UWlZv^ zB(308ghGA;+yy^%3H>tE+qt=@ts=@DW^v|qjph{G2WZ@?&A8&)=_yItqJxeneYFN0 zW<-?CCLnPR+k5aeRHb}4t1LJ%v#PuPI8!RU@3vAA`+`n%Wl?H-D+8uK$+}%f?KZ?D zQ;0@#MM$*jW-6V_7UJ0Wmf!=yWdEX#2fYHUZ=>YMU?rN!_aM0bjWtp9m9=N7H)SHjjyBudq3xHjD6pUQ2N z2a;gUBM!@r%Dp?Mo1xAG^(yi2*g3C9OObYeR?+H$_KQfvDZ|X#)awf^iqhJX_R?ss zMF;8zEtnxZ&8-M470KOEWf4SuyJVYxO&V$+Tz)k2KYZT?OmAaTU)5L9XDK^$W!+Xw zwhP*^wHJ};KfXcC>$VXGfy|)Q#mEn#1O@xokZ<<6JidJu)b?$5XovYZwMi8C!_FZZ zlWUHrs0ms%QlxK?7lfOelbLYrEHtYWJ$2?@TEQidTe(gfYAPm8B9Ae~=?hM=x?^s2 z5O?j2AMIigDzZuv_TufIxt5|_;~4a|<_K&WmeOja4l_bM{=sI*B%%5JsUkAzB$pkq z&Zg-DXyY8xgsIW^RvPIp6I&8lb9dB12Mtwgfa^p7|AzKiGjx&_&7xTKif;0C39iZ> zuq<9Ur&zN?Hp9Tz8NHq9v3lram*OKpppG(Kbd5g$C^1_`to+NSDB0EajaKcr*7k*Bc%M-F(AxvmjRG%W{dE{$U zG@|rUeEJ~;23shkx;Tm=Xc`G~}NgNN~9z0f^^Z4@Vi9 zy2kbIbrynas@ZcmyE~r`3*O-Vrl?IDoNIE^002>c0RJXMjrKpJs2LdB+ql}={ijT| zzZq-e+B(iNQaHXjY-$2y_2ra}StKr(M_;6@NJT>4 z1$Y=_x+0L|z-}YW?ONUVMd{Mz&N{nc-)+_t%i(xx*<@Bnx26bL*}7|=eU}{TyRv%R ziRWmr!_i8;IWN_S*p|3SZeqC8GoCVs)Q+iIABOwUwdEQ3eDc-f>|+XbppjK7=Y?sI zz}wDJ{l(^LE9X9|1MR^`o}lv!wEI!)NrjoZi9zqi*GFl{s6vW3-0xqZ$-eTfKn%Qz zp$U3lE(X+LC|~@@my3%0IL)?AO@T=XpHCi_$}gE{2LB`;UR^cypylN;2Sve;O5_MF z{T*S;)G!yF>M{jjDaY-a8P9sDCI1pm3!5w&FFhnxkv_KjohFLh*6{xK@MQW$RhsnU zBm0`SC~lMB*Uw4yQuzDfi+m8hv!0xzdv&D1%??L>E^ZSvHA{-T`qtTTrgqkZ)FD7+h;iiD(~jK&mHi^B*18@s`DoyRc^sCi&KO`vF?#_a3G zFTFw-EN~S&~&D>F2tzYKBO-!4+ueBC@w8%K}&KNjb@JxVoyyCE(3*sTX zzS3KKGK%zUaY%(NE_LV=1GuRuCcFfDXwjgcaS28G@u?-($CL67k5kr?7i_w+o_<-e zLBXEA?_y%>WE^|0P?oTRtGM7Oi?0K186{5%4Q%FXeg@#TdE-qqVSaw~J`)@8*Fmoa zoB=zt9I@WZc6Oq+Kj4^S95SIkvToH>iu)TPh25|)HT?l?*elp+)({$kYEM0G?%XZV zoyK^*Jnogc?+;~`-b|g?50%r~Vf_5ce414!LWPX6j8CA0ZtKUZp1~Jv_lKBSUr$}V zPNlWwVmS9s$JHG=43-#8_vWexW{-Yt{%5^LhpOA_WN!%j@&UYgiG%AWnTKrJyf9~I zvkDb_*UY#d7>Fj86x}Z05yqn9GiJb~us?6)7hkwC=J61j zqW);9@o0)+)>fBf3UDYZ!tywGrx%Ol!*m9QO3$n5XjkJzCZQhBCw(DH?+rZ3gnMR9 z4|F6_CCj#ge@+A2Z6mYD!28u3Cp`3i6gtoO4muQ4g)#gqD8#6Il4uze$Re^80thJD3`~ z;?wiHROZ_-7oU#?nID^C>EBNr@Qi(Y<5u+l_!%kZQM!b+xC@x1R( z(T|cDkk1ffLaU7m*y^72+o%)*w*$&_R;(x>VDX7_ z6JPN^U8cDLw`p93`hIQh_oD9~{LU2;%TfbEDv7D^WR}xaSSkLI5|c-ulBCk7!3a1p zC3rSnt*ngdS|vIcN6|7RFo-2{CnGR6|4&V0gg zwHOJf)XevJNp(9IWH&<~P`u?M-FucJ*IQxJb7i%X^^L~cvQnY*R3d#;%-xXPEI_iT zaE|P=8|&{`V?<+j{$7O+bL>WnZsqPAq->d)J7=S9l;0rWe16Q9JU-dvz=-^*Jx~93|c6r5ye*BCC)W8MA_vOWw zoFp~RkGXnX%e*$5y;AYz2d`{XUQV!XAURyWU>yvwVI-6XXHixIP^MAWo*SOGU}5rz$Ye$ z+fw($I0|b{Q#F^ieBJI-yX#GuxyNeiqOZ&`C~2Z=48DwPne`xIB-?<9JL1j%u3>^~$sYZYHMYf4Fd?~e}^9Objr zbaGKuV)>~j$VNO=(SyoH&OYj`LFe=#7p+2+=BfKCu6aq&-Vw_DIvSWsnv^S?ZOm~o zIL7i8@kjdJVt1C;fwAu!>6PnrpNX^3RlC;yAe^8Qq#F@*Afka%l_qfE52fa~2~(L< zVx7S0&`VnyPR7a`qf~hlPz(<2!#Nd(>r^V>F^Tw`9KJK743Fp(G}u~|?i^-*FNIwyHnmQBM;N*odXx4e?vW?cjl8o0b( zrIz5J2dnR!!+p75&Ljo$u?CT01(Uyna2<)eLHkL87|70vXuc_h?o1^U6vkN2)q zNaM*TZZGDDb2o(Z9fED0fPu=`W6Il%Iz4@7Qc))DxVSGAmVN1I1ppF03B7d zF>ulJH1Fcq`kc^U6;GLK=t5gg}x>q6PUFEe43*QSY3fOZx zCXt5hB&RlBDhdo$-k&E1uE5#RDqYGHJqxYQTr9bU!cGkJedLJ#0sXPf0f|g2$mvnu z0o>-jB^Ldg4Yl?2B3PWVv7<1EqWNm=2e)0bW8W-Qk= z>+{SRR_!-nE0nyjzEPp=Bthp}r5(&y*E6n!{R+<*A)G(bzW*w_;IK))?C%L4`dn*P zuGdv3%KhE2$$nP8vrJ#Byz2aYIdX9niaPmm27!Cn#(?Ib0TOX{JT2mx+eVo!3&`C| z0QJ0r%LwRbCMz~bDdUF-*%G%oh0;3*0xdn$etLa2V6Ll*KYUo8kt9LBfdWOT^DOfm%|E+{G`kG&_nZ~}0!=@IKPvAmacU$C&u|c;SSGXhJ zD+@$|u8AfVNNb4DSXO z+=yG8@@uJn97(~P3*yo04k03nK?p+MDMgct+aMOCSInwK30&yNl+^W_Czr-620^q( zC2)G}$;%=2SI@eBInioBExaek%KleZ_nrM;#IXK+E~> zXadcDq6wCECZ-<$KP;h2b<{414Xs^rMA(4}V;jyXpCVLM2~`cHql(BoZ{;z-MpUNr z=bloaA`1FQzqXl?nOldf8$aoKf%B~sznCt1z!wr`b_5Nx%b8ge71!XAbXKxhhLJxX z`G4+)#)kEwIutMz>yV*u^sM=U)2`+#Az0*@KPd-Uib5jOHBbkdpLu`gE6g&V526je z#AuNOY0pmF{bV%uF``OKR1w9%l1AKU>Y}QbeFIi)C1d-V38#I!unn#sWHFDsx!}}W zZ2)uloPNqBipW_aP)4{}`W;ApSaN5aSi^`u07#9MoI=oKbh~6}*GLW4hjXT6dqvG2 zvu~h^7G*TQ)K01<{2jJY_C?Bbn@mc6mud^5k+Q%Zol9=Mg4tvA-pSMp=z%xBHC=pQ z6vvQB6u=pJx18ERa@8V0LIZq57EqXZWIU8oUf^eI(yd#pJ2qZS&8A}#HyUR>G65(d z9niR~CclsS0qU=7r_La$%pm}PBj~@bg@D9@!U6!`0RV^pCR4%$-~s;Yc>DbKY41nQ zK~d*^33xZ6bT>M5zpaGT)dL9t@ooqJ_`f$bRTuyS_Pa*uzYN2}!vpBv4gXUaMg9-N zO#w>(vtc_^cLQf*3sYO8|1o^tVgAaX{t5F}X7x{YOZG1?h))0G_y2|Y-$hsND1RyJ ze@FS}c*l&aK!kMi$$^Zx?&Pj}J$3)pPoe*pX6XW#$Bf`R?(JDB(L?L8!FivPa- EAJ%j*lK=n! literal 0 HcmV?d00001 diff --git a/998-常用脚本/OctopusAgent运行/bastion模式运行基础环境.sh b/998-常用脚本/OctopusAgent运行/bastion模式运行基础环境.sh index 293a221..1103095 100644 --- a/998-常用脚本/OctopusAgent运行/bastion模式运行基础环境.sh +++ b/998-常用脚本/OctopusAgent运行/bastion模式运行基础环境.sh @@ -1,15 +1,25 @@ #!/bin/bash +# 下载agent +wget http://42.192.52.227:9000/octopus/octopus-agent_linux_amd64 +mv ./octopus-agent_linux_amd64 /usr/local/bin/octopus-agent +chmod +x /usr/local/bin/octopus-agent -https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/docker-amd64-20.10.15.tgz -https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/harbor-offline-installer-v2.9.0.tgz +# 下载依赖文件 +mkdir /root/wdd/ +cd /root/wdd -https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/docker-compose-linux-x86_64-v2.18.0 +export oss_url_prefix=https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd +# export oss_url_prefix=http://42.192.52.227:9000/octopus -https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/rke_linux-amd64 +wget ${oss_url_prefix}/docker-amd64-20.10.15.tgz +wget ${oss_url_prefix}/docker-compose-linux-x86_64-v2.18.0 -https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/mysql-8.0.27-linux-glibc2.17-x86_64-minimal.zip +wget ${oss_url_prefix/harbor-offline-installer-v2.9.0.tgz +wget ${oss_url_prefix}/rke_linux-amd64 + +wget ${oss_url_prefix}/mysql-8.0.27-linux-glibc2.17-x86_64-minimal.zip diff --git a/998-常用脚本/OctopusAgent运行/同步资料.sh b/998-常用脚本/OctopusAgent运行/同步资料.sh index 07128cf..9e4397c 100644 --- a/998-常用脚本/OctopusAgent运行/同步资料.sh +++ b/998-常用脚本/OctopusAgent运行/同步资料.sh @@ -5,37 +5,45 @@ host_list=(10.129.80.218 10.129.80.245 10.129.80.222 10.129.80.223) host_list=(10.129.80.217 10.129.80.245 10.129.80.222 10.129.80.223) -for ip in "${host_list[@]}";do - echo "current ip is $ip" +for server in "${host_list[@]}";do + echo "current ip is $server" ssh root@${server} "curl 172.24.152.72" done -disk 10.129.80.245 -mv /root/wdd/octopus-agent_linux_amd64 /usr/local/bin/octopus-agent +wget http://42.192.52.227:9000/octopus/octopus-agent_linux_amd64 +mv octopus-agent_linux_amd64 /usr/local/bin/octopus-agent chmod +x /usr/local/bin/octopus-agent +wget http://42.192.52.227:9000/octopus/docker-amd64-20.10.15.tgz + ssh root@${server} "mkdir /root/wdd" scp /usr/local/bin/octopus-agent root@${server}:/usr/local/bin/octopus-agent scp /root/wdd/docker-amd64-20.10.15.tgz root@${server}:/root/wdd/docker-amd64-20.10.15.tgz +scp /root/wdd/docker-compose-linux-x86_64-v2.18.0 root@${server}:/root/wdd/ + scp /root/wdd/nfs_client_22.04.4_amd64.tar.gz root@${server}:/root/wdd/ scp /root/wdd/nfs_server_22.04.4_amd64.tar.gz root@${server}:/root/wdd/ -scp /root/wdd/docker-compose-linux-x86_64-v2.18.0 root@${server}:/root/wdd/ + + +scp /root/wdd/disk.sh root@${server}:/root/wdd/ +ssh root@${server} "bash /root/wdd/disk.sh && lsblk" ssh root@${server} "chmod +x /usr/local/bin/octopus-agent" ssh root@${server} "printf 'firewall\n' | octopus-agent --mode=bastion" ssh root@${server} "printf 'sysconfig\n' | octopus-agent --mode=bastion" ssh root@${server} "printf 'swap\n' | octopus-agent --mode=bastion" ssh root@${server} "printf 'selinux\n' | octopus-agent --mode=bastion" +ssh root@${server} "printf 'sshkey\n' | octopus-agent --mode=bastion" ssh root@${server} "printf 'docker\n' | octopus-agent --mode=bastion" ssh root@${server} "printf 'dockercompose\n' | octopus-agent --mode=bastion" +printf 'dockerconfig\n' | octopus-agent --mode=bastion scp /etc/docker/daemon.json root@${server}:/etc/docker/ - ssh root@${server} "systemctl restart docker && sleep 3 && docker info" sed -i '/^$/d' ~/.ssh/* @@ -43,7 +51,12 @@ sed -i '/^$/d' ~/.ssh/* chmod +x /usr/local/bin/octopus-agent printf 'firewall\n' | octopus-agent --mode=bastion printf 'sysconfig\n' | octopus-agent --mode=bastion +printf 'sshkey\n' | octopus-agent --mode=bastion +printf 'sshconfig\n' | octopus-agent --mode=bastion printf 'swap\n' | octopus-agent --mode=bastion printf 'selinux\n' | octopus-agent --mode=bastion + printf 'docker\n' | octopus-agent --mode=bastion printf 'dockercompose\n' | octopus-agent --mode=bastion + +printf 'dockerconfig\n' | octopus-agent --mode=bastion \ No newline at end of file diff --git a/998-常用脚本/备份脚本/备份命名空间.sh b/998-常用脚本/备份脚本/备份命名空间.sh index 8c5cdcd..d3c6301 100644 --- a/998-常用脚本/备份脚本/备份命名空间.sh +++ b/998-常用脚本/备份脚本/备份命名空间.sh @@ -1,6 +1,6 @@ #!/bin/bash -namespace=zjyd +namespace=jxyd install_yq() { wget https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/yq_linux_amd64 -O /usr/local/bin/yq @@ -43,7 +43,7 @@ backup_all_stateful_sets() { echo "" } -# install_yq +install_yq backup_all_deployment backup_all_service backup_all_stateful_sets diff --git a/998-常用脚本/容器镜像ARM/ARM-Redis-EMQX.sh b/998-常用脚本/容器镜像ARM/ARM-Redis-EMQX.sh new file mode 100644 index 0000000..87e3cb5 --- /dev/null +++ b/998-常用脚本/容器镜像ARM/ARM-Redis-EMQX.sh @@ -0,0 +1,5 @@ + + + + +docker run -d --name emqx -p 38085:18083 -p 31883:1883 -p 38083:8083 docker.107421.xyz/emqx/emqx:v4.0.0 diff --git a/998-常用脚本/容器镜像ARM/ARM版本的镜像仓库.sh b/998-常用脚本/容器镜像ARM/ARM版本的镜像仓库.sh index cff55e3..f4d7b14 100644 --- a/998-常用脚本/容器镜像ARM/ARM版本的镜像仓库.sh +++ b/998-常用脚本/容器镜像ARM/ARM版本的镜像仓库.sh @@ -1,3 +1,7 @@ +#/bin/bash + +# https://blog.csdn.net/weixin_43902588/article/details/142279993 参考文档 + export QUAY=/var/lib/docker/quay mkdir -p $QUAY/postgres @@ -15,18 +19,30 @@ docker exec -it postgresql /bin/bash -c 'echo "CREATE EXTENSION IF NOT EXISTS pg docker inspect -f "{{.NetworkSettings.IPAddress}}" postgresql -docker run -it --name redis \ +# 不需要执行 +docker run -it --rm --name redis \ -p 6379:6379 \ redis:6.2.14 \ - redis-server --test-memory + redis-server --test-memory 4096 -docker inspect -f "{{.NetworkSettings.IPAddress}}" redis - -docker run --rm -it --name quay_config -p 8080:8080 quay.io/projectquay/quay:3.11.1 config secret mkdir $QUAY/storage mkdir $QUAY/config + + +docker run -d --name redis \ + -p 6379:6379 \ + -m 4g \ + redis:6.2.14 \ + --requirepass strongpassword + +docker inspect -f "{{.NetworkSettings.IPAddress}}" redis + +# 运行config服务 需要浏览器打开 http://172.31.2.7:8080/,并用 quayconfig/secret 登录。 +docker run --rm -it --name quay_config -p 8080:8080 quay.io/projectquay/quay:3.11.1 config secret + + setfacl -m u:1001:-wx $QUAY/storage setfacl -m u:1001:-wx $QUAY/config @@ -38,12 +54,12 @@ docker run -p 8033:8080 \ -d quay.io/projectquay/quay:3.11.1 -docker run -d --name redis \ - -p 6379:6379 \ - -m 4g \ - redis:6.2.14 \ - --requirepass strongpassword +# 登录dashboard 8033 创建账户和密码 创建项目 +admin +V2ryStr@ngPss -docker login --tls-verify=false quay:8033 -V2ryStr@ngPss \ No newline at end of file +docker login --tls-verify=false -u admin -p V2ryStr@ngPss 172.31.2.7:8033 +docker login -u admin -p V2ryStr@ngPss 172.31.2.7:8033 + +docker pull 172.31.2.7:8033/admin/cmii \ No newline at end of file diff --git a/998-常用脚本/容器镜像ARM/docker-run-redis.yaml b/998-常用脚本/容器镜像ARM/docker-run-redis.yaml new file mode 100644 index 0000000..e69de29 diff --git a/998-常用脚本/容器镜像ARM/quary-deployment.yaml b/998-常用脚本/容器镜像ARM/quary-deployment-deprecated.yaml similarity index 100% rename from 998-常用脚本/容器镜像ARM/quary-deployment.yaml rename to 998-常用脚本/容器镜像ARM/quary-deployment-deprecated.yaml diff --git a/998-常用脚本/故障恢复脚本/重启cmii的前端后端Pod.sh b/998-常用脚本/故障恢复脚本/重启cmii的前端后端Pod.sh index 3d7a6d5..eca6bfc 100644 --- a/998-常用脚本/故障恢复脚本/重启cmii的前端后端Pod.sh +++ b/998-常用脚本/故障恢复脚本/重启cmii的前端后端Pod.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -name_space=jlyd +name_space=uavcloud-demo delete_all_fronted_cmii_pod(){ @@ -26,4 +26,4 @@ delete_all_backend_cmii_pod(){ done } -delete_all_fronted_cmii_pod \ No newline at end of file +delete_all_backend_cmii_pod \ No newline at end of file diff --git a/998-常用脚本/更新脚本/一键更新Tag脚本.sh b/998-常用脚本/更新脚本/一键更新Tag脚本.sh index 81975fe..66cee32 100644 --- a/998-常用脚本/更新脚本/一键更新Tag脚本.sh +++ b/998-常用脚本/更新脚本/一键更新Tag脚本.sh @@ -1,7 +1,7 @@ #!/bin/bash -harbor_host=10.40.51.5:8033 -namespace=jsntejpt +harbor_host=10.20.1.130:8033 +namespace=jxyd app_name="" new_tag="" diff --git a/998-常用脚本/部署脚本/install_minio.sh b/998-常用脚本/部署脚本/install_minio.sh index 757daa8..a2bd0cd 100644 --- a/998-常用脚本/部署脚本/install_minio.sh +++ b/998-常用脚本/部署脚本/install_minio.sh @@ -1,9 +1,9 @@ #!/bin/bash minio_local_path=/var/lib/docker/minio-pv/pv1 -harbor_host=192.168.40.42:8033 -inner_master_ip=192.168.40.42 -minio_host_ip=192.168.40.193 +harbor_host=172.31.2.7:8033/admin +inner_master_ip=172.31.2.7 +minio_host_ip=172.31.2.9 install_minio(){ @@ -22,13 +22,13 @@ services: ports: - "9000:9000" - "9001:9001" - image: '${harbor_host}/cmii/minio:2022.5.4' + image: '${harbor_host}/cmii/minio:2023.5.4' environment: - MINIO_ROOT_USER=cmii - MINIO_ROOT_PASSWORD=B#923fC7mk restart: always volumes: - - ${minio_local_path}:/data + - ${minio_local_path}:/mnt/data EOF echo "start minio container !" @@ -99,7 +99,7 @@ init_minio(){ } -install_docker_compose +# install_docker_compose install_minio diff --git a/998-常用脚本/部署脚本/nginx暴露/真实nginx-reverse-proxy.conf b/998-常用脚本/部署脚本/nginx暴露/真实nginx-reverse-proxy.conf index 08a7bfd..88eaf7b 100644 --- a/998-常用脚本/部署脚本/nginx暴露/真实nginx-reverse-proxy.conf +++ b/998-常用脚本/部署脚本/nginx暴露/真实nginx-reverse-proxy.conf @@ -1,10 +1,8 @@ upstream proxy_server { ip_hash; - server 192.168.40.42:30500; - server 192.168.40.183:30500; - server 192.168.40.130:30500; - server 192.168.40.131:30500; - server 192.168.40.174:30500; + server 172.31.2.7:30500; + server 172.31.2.8:30500; + server 172.31.2.9:30500; } server { @@ -23,7 +21,7 @@ server { proxy_buffering off; proxy_buffer_size 4k; proxy_buffers 4 12k; - proxy_set_header Host fake-domain.lnydyj.io; + proxy_set_header Host fake-domain.szgz.io; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; diff --git a/998-常用脚本/部署脚本/z_执行apply命令.sh b/998-常用脚本/部署脚本/z_执行apply命令.sh index ec8c761..3b3a146 100644 --- a/998-常用脚本/部署脚本/z_执行apply命令.sh +++ b/998-常用脚本/部署脚本/z_执行apply命令.sh @@ -1,6 +1,10 @@ #!/bin/bash +mkdir /root/.kube +cp kube_config_cluster.yml /root/.kube/config + kubectl apply -f k8s-dashboard.yaml +kubectl delete -f k8s-dashboard.yaml kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}') @@ -24,10 +28,10 @@ kubectl apply -f k8s-emqx.yaml kubectl delete -f k8s-emqx.yaml kubectl apply -f k8s-rabbitmq.yaml -kubectl delete -f k8s-rabbitmq.yam +kubectl delete -f k8s-rabbitmq.yaml kubectl apply -f k8s-redis.yaml -kubectl delete -f k8s-redis.yamll +kubectl delete -f k8s-redis.yaml kubectl apply -f k8s-mysql.yaml kubectl delete -f k8s-mysql.yaml @@ -42,12 +46,15 @@ kubectl delete -f k8s-nacos.yaml kubectl apply -f k8s-configmap.yaml kubectl delete -f k8s-configmap.yaml +vi k8s-ingress.yaml kubectl apply -f k8s-ingress.yaml kubectl delete -f k8s-ingress.yaml +vi k8s-frontend.yaml kubectl apply -f k8s-frontend.yaml kubectl delete -f k8s-frontend.yaml +vi k8s-backend.yaml kubectl apply -f k8s-backend.yaml kubectl delete -f k8s-backend.yaml diff --git a/998-常用脚本/部署脚本/为node打标签.sh b/998-常用脚本/部署脚本/为node打标签.sh index 055c671..625be18 100644 --- a/998-常用脚本/部署脚本/为node打标签.sh +++ b/998-常用脚本/部署脚本/为node打标签.sh @@ -2,11 +2,10 @@ kubectl get nodes --show-labels -kubectl label nodes 192.168.40.158 uavcloud.env=lnydyj --overwrite -kubectl label nodes 192.168.40.183 uavcloud.env=lnydyj --overwrite -kubectl label nodes 192.168.40.131 uavcloud.env=lnydyj --overwrite -kubectl label nodes 192.168.40.130 uavcloud.env=lnydyj --overwrite -kubectl label nodes 192.168.40.174 uavcloud.env=lnydyj --overwrite +kubectl label nodes 172.31.2.7 uavcloud.env=szgz --overwrite +kubectl label nodes 172.31.2.8 uavcloud.env=szgz --overwrite +kubectl label nodes 172.31.2.9 uavcloud.env=szgz --overwrite + # 删除label kubectl label nodes 192.168.40.193 uavcloud.env- diff --git a/998-常用脚本/部署脚本/清理rke集群的安装.sh b/998-常用脚本/部署脚本/清理rke集群的安装.sh index e4d1ba9..41916f3 100644 --- a/998-常用脚本/部署脚本/清理rke集群的安装.sh +++ b/998-常用脚本/部署脚本/清理rke集群的安装.sh @@ -53,6 +53,12 @@ clean_rke_cluster() { iptables -F && iptables -t nat -F && iptables -t mangle -F && iptables -t raw -F ip6tables -F && ip6tables -t nat -F && ip6tables -t mangle -F && ip6tables -t raw -F + + rke remove --force + printf "y/n" | docker container prune + rke -d up + } + clean_rke_cluster diff --git a/998-常用脚本/镜像同步/2-imageDownSync-ARM64.sh b/998-常用脚本/镜像同步/2-imageDownSync-ARM64.sh new file mode 100644 index 0000000..a514c58 --- /dev/null +++ b/998-常用脚本/镜像同步/2-imageDownSync-ARM64.sh @@ -0,0 +1,154 @@ +#!/usr/bin/env bash + +### 需要修改以下的内容 ### +#### 需要修改以下的内容 ### +#### 需要修改以下的内容 ### + +cmlc_app_image_list="szga-0711.txt" # 需要修改版本 +rancher_image_list="kubernetes-images-2.5.7-1.20.4.txt" # 一般不需要修改 +middleware_image_list="middleware-images.txt" # 一般不需要修改 +#DockerRegisterDomain="20.47.129.116:8033" # 需要根据实际修改 +DockerRegisterDomain="172.31.2.7:8033/admin" # 需要根据实际修改 +HarborAdminPass=V2ryStr@ngPss # 需要跟第一脚本中的密码保持一致 + +#### 需要修改以上的内容 ### +#### 需要修改以上的内容 ### +#### 需要修改以上的内容 ### + +downloadAllNeededImages() { + while [[ $# > 0 ]]; do + pulled="" + while IFS= read -r i; do + [ -z "${i}" ] && continue + echo "开始下载:${i}" + if docker pull --platform linux/arm64 "${i}" >/dev/null 2>&1; then + echo "Image pull success: ${i}" + + # 增加检查,镜像 的架构 + docker image inspect ${i} | grep Architecture + + pulled="${pulled} ${i}" + else + if docker inspect "${i}" >/dev/null 2>&1; then + pulled="${pulled} ${i}" + else + echo "Image pull failed: ${i}" + fi + fi + echo "-------------------------------------------------" + done <"${1}" + shift + done +} + +downloadAllNeededImagesAndCompress() { + while [[ $# > 0 ]]; do + pulled="" + while IFS= read -r i; do + [ -z "${i}" ] && continue + echo "开始下载:${i}" + if docker pull --platform linux/arm64 "${i}" >/dev/null 2>&1; then + echo "Image pull success: ${i}" + # 增加检查,镜像 的架构 + docker image inspect ${i} | grep Architecture + + pulled="${pulled} ${i}" + else + if docker inspect "${i}" >/dev/null 2>&1; then + pulled="${pulled} ${i}" + else + echo "Image pull failed: ${i}" + fi + fi + echo "-------------------------------------------------" + done <"${1}" + compressPacName="$(echo ${1} | cut -d"." -f1).tar.gz" + + echo "Creating ${compressPacName} with $(echo ${pulled} | wc -w | tr -d '[:space:]') images" + docker save $(echo ${pulled}) | gzip --stdout > ${compressPacName} + + shift + done + + + echo "已经完成打包工作!" +} + +pushRKEImageToHarbor(){ + linux_images=() + while IFS= read -r i; do + [ -z "${i}" ] && continue + linux_images+=("${i}"); + done < "${rancher_image_list}" + + docker login -u admin -p ${HarborAdminPass} ${DockerRegisterDomain} + + for i in "${linux_images[@]}"; do + [ -z "${i}" ] && continue + case $i in + */*) + image_name="${DockerRegisterDomain}/${i}" + ;; + *) + image_name="${DockerRegisterDomain}/rancher/${i}" + ;; + esac + + echo "开始镜像至私有仓库推送:${image_name}" + docker tag "${i}" "${image_name}" + docker push "${image_name}" + echo "-------------------------------------------------" + done +} + +pushCMLCAPPImageToHarbor(){ + app_images=() + while IFS= read -r i; do + [ -z "${i}" ] && continue + app_images+=("${i}"); + done < "${cmlc_app_image_list}" + + docker login -u admin -p ${HarborAdminPass} ${DockerRegisterDomain} + for app in "${app_images[@]}"; do + [ -z "${app}" ] && continue + image_name="${DockerRegisterDomain}/$(echo ${app} | cut -d"/" -f2-8)" + echo "开始镜像至私有仓库推送:${image_name}" + docker tag "${app}" "${image_name}" + docker push "${image_name}" + echo "-------------------------------------------------" + done +} + +pushMiddlewareImageToHarbor(){ + middleware_image=() + while IFS= read -r i; do + [ -z "${i}" ] && continue + middleware_image+=("${i}"); + done < "${middleware_image_list}" + + docker login -u admin -p ${HarborAdminPass} ${DockerRegisterDomain} + for app in "${middleware_image[@]}"; do + [ -z "${app}" ] && continue + case ${app} in + */*/*) + image_name="${DockerRegisterDomain}/cmii/$(echo "${app}" | cut -d"/" -f3-8)" + ;; + */*) + image_name="${DockerRegisterDomain}/cmii/$(echo "${app}" | cut -d"/" -f2-8)" + ;; + esac + + echo "开始镜像至私有仓库推送:${image_name}" + docker tag "${app}" "${image_name}" + docker push "${image_name}" + echo "-------------------------------------------------" + done +} + + +# downloadAllNeededImagesAndCompress "${middleware_image_list}" +#downloadAllNeededImages "${rancher_image_list}" + +#pushRKEImageToHarbor +#pushCMLCAPPImageToHarbor +pushMiddlewareImageToHarbor diff --git a/998-常用脚本/镜像同步/2-imageDownSync.sh b/998-常用脚本/镜像同步/2-imageDownSync.sh index 40deed4..2df3f7d 100644 --- a/998-常用脚本/镜像同步/2-imageDownSync.sh +++ b/998-常用脚本/镜像同步/2-imageDownSync.sh @@ -23,6 +23,10 @@ downloadAllNeededImages() { echo "开始下载:${i}" if docker pull "${i}" >/dev/null 2>&1; then echo "Image pull success: ${i}" + + # 增加检查,镜像 的架构 + docker image inspect ${i} | grep Architecture + pulled="${pulled} ${i}" else if docker inspect "${i}" >/dev/null 2>&1; then @@ -45,6 +49,9 @@ downloadAllNeededImagesAndCompress() { echo "开始下载:${i}" if docker pull "${i}" >/dev/null 2>&1; then echo "Image pull success: ${i}" + # 增加检查,镜像 的架构 + docker image inspect ${i} | grep Architecture + pulled="${pulled} ${i}" else if docker inspect "${i}" >/dev/null 2>&1; then @@ -139,7 +146,7 @@ pushMiddlewareImageToHarbor(){ } -downloadAllNeededImagesAndCompress "${cmlc_app_image_list}" +downloadAllNeededImagesAndCompress "${middleware_image_list}" #downloadAllNeededImages "${rancher_image_list}" #pushRKEImageToHarbor diff --git a/998-常用脚本/镜像同步/imageSyncDLTU.ps1 b/998-常用脚本/镜像同步/imageSyncDLTU.ps1 index 2d56d61..5c81e35 100644 --- a/998-常用脚本/镜像同步/imageSyncDLTU.ps1 +++ b/998-常用脚本/镜像同步/imageSyncDLTU.ps1 @@ -1,13 +1,13 @@ # https://dl.min.io/client/mc/release/windows-amd64/mc.exe -#mc.exe alias set uav-demo https://oss.demo.uavcmlc.com cmii B#923fC7mk +& "C:\Users\makn\Downloads\mc.exe" alias set uav-demo https://oss.demo.uavcmlc.com cmii B#923fC7mk -mc.exe ls uav-demo/cmlc-installation/6.1.1/ | ForEach-Object { +& "C:\Users\makn\Downloads\mc.exe" ls uav-demo/cmlc-installation/6.2.0-szgz-arm/ | ForEach-Object { $item=($_.Split()[-1]) Write-Host "start to download $item " - mc.exe get uav-demo/cmlc-installation/6.1.1/$item "D:\CmiiDeployOffline\ZheJiangErJiPingTai\" + & "C:\Users\makn\Downloads\mc.exe" get uav-demo/cmlc-installation/6.2.0-szgz-arm/$item "D:\Desktop\cmii\cmii\" Write-Host "" } diff --git a/998-常用脚本/镜像同步/kubernetes-images-2.5.7-1.20.4.txt b/998-常用脚本/镜像同步/kubernetes-images-2.5.7-1.20.4.txt new file mode 100644 index 0000000..83fb4ad --- /dev/null +++ b/998-常用脚本/镜像同步/kubernetes-images-2.5.7-1.20.4.txt @@ -0,0 +1,63 @@ +busybox +rancher/backup-restore-operator:v1.0.3 +rancher/calico-cni:v3.17.2 +rancher/calico-ctl:v3.17.2 +rancher/calico-kube-controllers:v3.17.2 + +rancher/calico-pod2daemon-flexvol:v3.17.2 +rancher/cis-operator:v1.0.3 +rancher/cluster-proportional-autoscaler:1.7.1 +rancher/coredns-coredns:1.8.0 +rancher/coreos-etcd:v3.4.14-rancher1 +rancher/coreos-kube-state-metrics:v1.9.7 +rancher/coreos-prometheus-config-reloader:v0.39.0 +rancher/coreos-prometheus-operator:v0.39.0 +rancher/externalip-webhook:v0.1.6 +rancher/flannel-cni:v0.3.0-rancher6 +rancher/coreos-flannel:v0.13.0-rancher1 +rancher/fleet-agent:v0.3.4 +rancher/fleet:v0.3.4 +rancher/fluentd:v0.1.24 +rancher/grafana-grafana:7.1.5 +rancher/hyperkube:v1.20.4-rancher1 +rancher/jimmidyson-configmap-reload:v0.3.0 +rancher/k8s-dns-dnsmasq-nanny:1.15.2 +rancher/k8s-dns-kube-dns:1.15.2 +rancher/k8s-dns-node-cache:1.15.13 +rancher/k8s-dns-sidecar:1.15.2 +rancher/klipper-lb:v0.1.2 +rancher/kube-api-auth:v0.1.4 +rancher/kubectl:v1.20.4 +rancher/kubernetes-external-dns:v0.7.3 +rancher/cluster-proportional-autoscaler:1.8.1 +rancher/library-busybox:1.31.1 +rancher/library-busybox:1.32.1 +rancher/library-nginx:1.19.2-alpine +rancher/library-traefik:1.7.19 +rancher/local-path-provisioner:v0.0.11 +rancher/local-path-provisioner:v0.0.14 +rancher/local-path-provisioner:v0.0.19 +rancher/log-aggregator:v0.1.7 +rancher/istio-kubectl:1.5.10 +rancher/metrics-server:v0.4.1 +rancher/configmap-reload:v0.3.0-rancher4 +rancher/nginx-ingress-controller-defaultbackend:1.5-rancher1 +rancher/nginx-ingress-controller:nginx-0.43.0-rancher1 +rancher/opa-gatekeeper:v3.1.0-beta.7 +rancher/openzipkin-zipkin:2.14.2 +rancher/pause:3.2 +rancher/plugins-docker:18.09 +rancher/prom-alertmanager:v0.21.0 +rancher/prom-node-exporter:v1.0.1 +rancher/prom-prometheus:v2.18.2 +rancher/prometheus-auth:v0.2.1 +rancher/rancher-agent:v2.5.7 +rancher/rancher-webhook:v0.1.0-beta9 +rancher/rancher:v2.5.7 +rancher/rke-tools:v0.1.72 +rancher/security-scan:v0.1.14 +rancher/security-scan:v0.2.2 +rancher/shell:v0.1.6 +rancher/sonobuoy-sonobuoy:v0.16.3 +rancher/system-upgrade-controller:v0.6.2 + diff --git a/998-常用脚本/镜像同步/middle-image-arm64-250218.txt b/998-常用脚本/镜像同步/middle-image-arm64-250218.txt new file mode 100644 index 0000000..7ca832b --- /dev/null +++ b/998-常用脚本/镜像同步/middle-image-arm64-250218.txt @@ -0,0 +1,19 @@ +bitnami/redis:6.2.14-debian-11-r1 +bitnami/mysql:8.1.0-debian-11-r42 +simonrupf/chronyd:0.4.3 +bitnami/bitnami-shell:11-debian-11-r136 +bitnami/rabbitmq:3.11.26-debian-11-r2 +ossrs/srs:v5.0.195 +emqx/emqx:4.4.19 +emqx/emqx:5.5.1 +nacos/nacos-server:v2.1.2-slim +mongo:5.0 +bitnami/minio:2023.5.4 +kubernetesui/dashboard:v2.0.1 +kubernetesui/metrics-scraper:v1.0.4 +nginx:1.24.0 +redis:6.0.20-alpine +dyrnq/nfs-subdir-external-provisioner:v4.0.2 +jerrychina2020/rke-tools:v0.175-linux +jerrychina2020/rke-tools:v0.175 +busybox:latest diff --git a/998-常用脚本/镜像同步/离线更新tag脚本.sh b/998-常用脚本/镜像同步/离线更新tag脚本.sh index 90d6348..376bc44 100644 --- a/998-常用脚本/镜像同步/离线更新tag脚本.sh +++ b/998-常用脚本/镜像同步/离线更新tag脚本.sh @@ -1,7 +1,7 @@ #!/bin/bash -harbor_host=10.40.51.5:8033 -namespace=zygazww +harbor_host=172.31.2.7:8033/admin +namespace=szgz app_name="" new_tag="" diff --git a/999-数据库脚本/z_database_execute.sh b/999-数据库脚本/z_database_execute.sh index caadac8..6533d2e 100644 --- a/999-数据库脚本/z_database_execute.sh +++ b/999-数据库脚本/z_database_execute.sh @@ -1,10 +1,10 @@ #!/bin/bash -# 将sql文件上传到mysql的目录 -# 修改目录的权限为 chown 1001:1001 ./sql_file/ +# 将sql文件上传到mysql的目录 /var/lib/docker/mysql-pv +# 修改目录的权限为 chown 1001:1001 ./6.2.0/* # 然后执行mysql的pod -export sql_import_file_path="/bitnami/mysql/master_data_6.2.0" +export sql_import_file_path="/bitnami/mysql/6.2.0" for sql_file in $(ls "$sql_import_file_path" | sort -n -k1.1,1.2); do echo "current file is ${sql_file}" @@ -23,4 +23,8 @@ done # /root/wdd/mysql/bin/mysql -uroot -pGwubc6CxRM -h192.168.35.178 -P33308 <"$sql_import_file_path/${sql_file}" # chongqing san hua -# /root/wdd/mysql/bin/mysql -uroot -pQzfXQhd3bQ -h36.133.115.164 -P53309 <"$sql_import_file_path/${sql_file}" \ No newline at end of file +# /root/wdd/mysql/bin/mysql -uroot -pQzfXQhd3bQ -h36.133.115.164 -P53309 <"$sql_import_file_path/${sql_file}" + +# 江西移动升级 + +/root/wdd/mysql-8.0.27-linux-glibc2.17-x86_64-minimal/bin/mysql -uroot -pQzfXQhd3bQ -h127.0.0.1 -P33306 < new_schema.sql \ No newline at end of file diff --git a/999-数据库脚本/数据库同步脚本.sh b/999-数据库脚本/数据库同步脚本.sh index 5b0f4fc..f360596 100644 --- a/999-数据库脚本/数据库同步脚本.sh +++ b/999-数据库脚本/数据库同步脚本.sh @@ -40,3 +40,6 @@ yum install ncurses-compat-libs.x86_64 wget https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/mysql-8.0.27-linux-glibc2.17-x86_64-minimal.zip +wget https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/mysql-8.0.27-linux-glibc2.17-x86_64-minimal.tar.gz + + diff --git a/999-数据库脚本/版本升级数据库脚本.sh b/999-数据库脚本/版本升级数据库脚本.sh index 0f88b47..90fa7a6 100644 --- a/999-数据库脚本/版本升级数据库脚本.sh +++ b/999-数据库脚本/版本升级数据库脚本.sh @@ -2,10 +2,10 @@ # 数据表备份 -export mysql_exec_file_prefix=/data/lingyun/mysql-8.0.38-linux-glibc2.12-x86_64/bin -export mysql_port=33663 -export SQL_DUMP_FILE=/root/wdd/all_tables_5.7.0.sql -export SQL_FULL_BACK_UP_FILE=/root/wdd/all_tables_5.7.0_20241210_fullback.sql +export mysql_exec_file_prefix=/root/wdd/mysql-8.0.27-linux-glibc2.17-x86_64-minimal/bin +export mysql_port=33306 +export SQL_DUMP_FILE=/root/wdd/update_416_620/all_tables_4.1.6.sql +export SQL_FULL_BACK_UP_FILE=/root/wdd/update_416_620/all_tables_4.1.6_20250217_fullback.sql export SQL_DDL_FILE="/mnt/d/NextCloudData/MasterLoad/Work/UAV Cloud/22.希腊项目-阿里云-德国/999-数据库脚本/5.7.0" backup_all_structure() { diff --git a/999-部署模板/ts2mp4.yaml b/999-部署模板/ts2mp4.yaml new file mode 100644 index 0000000..0de576a --- /dev/null +++ b/999-部署模板/ts2mp4.yaml @@ -0,0 +1,165 @@ +kind: ConfigMap +apiVersion: v1 +metadata: + name: cmii-uav-tsmpf-cm + namespace: yzyd +data: + server_config_docker.ini: > + #minio=mc alias set minIO https://oss.demo.uavcmlc.com:18000/ cmii + B#923fC7mk + + minio=mc alias set minIO http://192.168.0.17:39010/ cmii B#923fC7mk + + http_port=8192 + + docker_logs_path=/workspace/logs + + docker_temp_folder=/workspace/temp_folder + + mp4_file_size=500 + + upload_url=no used. + + query_file_url=no used. + + download_url=no_useful_now. + + send_complete_msg_url=no used. + + logs_path=no_useful_now. + + temp_folder=no_useful_now. + + #需要排除的合并任务(这些任务由于ts文件不存在,导致无法成功) + + exclude_task_codes= + + #是否执行playback的任务,0:false; 1:true; + + merge_playback=1 + + #下载ts文件方式,http, mc + + download_type=mc + + #仅合成某个公司的文件;(可用于希望优先下载某个公司的文件的场景); 数字半角逗号分割; + + only_download_company_ids= + + + #是否记录磁盘日志; 0:false, 1:true + + log_to_disk=1 + + #(integer)日志级别; 1:error, 2:warn, 3:info, 4:debug + + log_level=2 + +--- +kind: Deployment +apiVersion: apps/v1 +metadata: + name: cmii-uav-tsmpf + namespace: yzyd + labels: + app.kubernetes.io/app-version: 6.2.0 + app.kubernetes.io/managed-by: octopus-control + cmii.app: cmii-uav-tsmpf + cmii.type: backend + octopus/control: backend-app-1.0.0 +spec: + replicas: 1 + selector: + matchLabels: + cmii.app: cmii-uav-tsmpf + cmii.type: backend + template: + metadata: + creationTimestamp: null + labels: + cmii.app: cmii-uav-tsmpf + cmii.type: backend + spec: + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc + - name: server-config-docker + configMap: + name: cmii-uav-tsmpf-cm + items: + - key: server_config_docker.ini + path: server_config_docker.ini + containers: + - name: cmii-uav-tsmpf + image: '192.168.0.14:8033/cmii/tsmpf_docker_image:v2.0.1' + ports: + - name: pod-port + containerPort: 8192 + protocol: TCP + env: + - name: K8S_NAMESPACE + value: yzyd + - name: APPLICATION_NAME + value: cmii-uav-tsmpf + resources: + requests: + cpu: 500m + memory: 2Gi + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + subPath: yzyd/cmii-uav-tsmpf + - name: server-config-docker + mountPath: /workspace/server_config_docker.ini + subPath: server_config_docker.ini + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + restartPolicy: Always + terminationGracePeriodSeconds: 30 + dnsPolicy: ClusterFirst + securityContext: {} + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + schedulerName: default-scheduler + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 1 + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 + +--- +kind: Service +apiVersion: v1 +metadata: + name: cmii-uav-tsmpf + namespace: yzyd + labels: + app.kubernetes.io/app-version: 6.2.0 + app.kubernetes.io/managed-by: octopus-control + cmii.app: cmii-uav-tsmpf + cmii.type: backend + octopus/control: backend-app-1.0.0 + +spec: + ports: + - name: backend-tcp + protocol: TCP + port: 8192 + targetPort: 8192 + nodePort: 38192 + selector: + cmii.app: cmii-uav-tsmpf + cmii.type: backend + type: NodePort + diff --git a/999-部署模板/关键参数说明.txt b/999-部署模板/关键参数说明.txt index b36ea84..db197a9 100644 --- a/999-部署模板/关键参数说明.txt +++ b/999-部署模板/关键参数说明.txt @@ -7,6 +7,10 @@ NFSServer的IP地址 N1C2IP MINIO节点的公网IP M2C1IP MINIO节点的内网IP M2D2IP +Harbor 8033 +admin +V2ryStr@ngPss + DashBoard 39999