From 60a18492073de9221d2b205413214bc656843c88 Mon Sep 17 00:00:00 2001 From: zeaslity Date: Tue, 25 Feb 2025 17:01:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Ecursor=E7=9A=84=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cursor/rules/agent-wdd-rules.mdc | 60 + .../real_project/CmiiImageListConfig.go | 87 + ...term_OneTools-Minio-71_20241218_094828.rtf | 110 + .../real_project/jxyd/k8s-backend.yaml | 6672 ++++++++ .../real_project/jxyd/k8s-configmap.yaml | 602 + .../real_project/jxyd/k8s-dashboard.yaml | 309 + agent-common/real_project/jxyd/k8s-emqx.yaml | 276 + .../real_project/jxyd/k8s-frontend.yaml | 2784 +++ .../real_project/jxyd/k8s-ingress.yaml | 746 + agent-common/real_project/jxyd/k8s-mongo.yaml | 78 + agent-common/real_project/jxyd/k8s-mysql.yaml | 410 + agent-common/real_project/jxyd/k8s-nacos.yaml | 130 + .../real_project/jxyd/k8s-nfs-test.yaml | 38 + agent-common/real_project/jxyd/k8s-nfs.yaml | 114 + agent-common/real_project/jxyd/k8s-pvc.yaml | 76 + .../real_project/jxyd/k8s-rabbitmq.yaml | 328 + agent-common/real_project/jxyd/k8s-redis.yaml | 585 + agent-common/real_project/jxyd/k8s-srs.yaml | 496 + .../real_project/sdejpt/old/sdejpt.zip | Bin 0 -> 29095 bytes agent-common/real_project/sdejpt/sdejpt.zip | Bin 0 -> 29173 bytes .../real_project/szgz/k8s-backend.yaml | 6811 ++++++++ .../real_project/szgz/k8s-configmap.yaml | 602 + .../real_project/szgz/k8s-dashboard.yaml | 309 + agent-common/real_project/szgz/k8s-emqx.yaml | 276 + .../real_project/szgz/k8s-frontend.yaml | 2873 ++++ .../real_project/szgz/k8s-ingress.yaml | 730 + agent-common/real_project/szgz/k8s-mongo.yaml | 78 + agent-common/real_project/szgz/k8s-mysql.yaml | 410 + agent-common/real_project/szgz/k8s-nacos.yaml | 130 + .../real_project/szgz/k8s-nfs-test.yaml | 38 + agent-common/real_project/szgz/k8s-nfs.yaml | 114 + agent-common/real_project/szgz/k8s-pvc.yaml | 76 + .../real_project/szgz/k8s-rabbitmq.yaml | 328 + agent-common/real_project/szgz/k8s-redis.yaml | 585 + agent-common/real_project/szgz/k8s-srs.yaml | 496 + .../real_project/szgz/old/k8s-backend.yaml | 6811 ++++++++ .../real_project/szgz/old/k8s-configmap.yaml | 602 + .../real_project/szgz/old/k8s-dashboard.yaml | 309 + .../real_project/szgz/old/k8s-emqx.yaml | 276 + .../real_project/szgz/old/k8s-frontend.yaml | 2873 ++++ .../real_project/szgz/old/k8s-ingress.yaml | 730 + .../real_project/szgz/old/k8s-mongo.yaml | 78 + .../real_project/szgz/old/k8s-mysql.yaml | 410 + .../real_project/szgz/old/k8s-nacos.yaml | 130 + .../real_project/szgz/old/k8s-nfs-test.yaml | 38 + .../real_project/szgz/old/k8s-nfs.yaml | 114 + .../real_project/szgz/old/k8s-pvc.yaml | 76 + .../real_project/szgz/old/k8s-rabbitmq.yaml | 328 + .../real_project/szgz/old/k8s-redis.yaml | 585 + .../real_project/szgz/old/k8s-srs.yaml | 496 + .../real_project/uavcloud-demo/aware.yaml | 103 + .../uavcloud-devflight/k8s-backend.yaml | 9744 ++++++----- .../uavcloud-devflight/k8s-configmap.yaml | 528 +- .../uavcloud-devflight/k8s-frontend.yaml | 4183 ++--- .../uavcloud-devflight/k8s-ingress.yaml | 26 +- .../uavcloud-devflight/old/k8s-backend.yaml | 14113 ++++++++-------- .../uavcloud-devflight/old/k8s-configmap.yaml | 818 +- .../uavcloud-devflight/old/k8s-frontend.yaml | 6416 +++---- .../uavcloud-devflight/old/k8s-ingress.yaml | 26 +- .../uavcloud-devflight/old/k8s-srs.yaml | 6 +- agent-deploy/d_app/CmiiImageConfig.go | 3 + agent-deploy/d_app/FrontendConfigMap.go | 2 + agent-deploy/d_app/TemplateCmiiSRS.go | 2 +- agent-operator/CmiiDeployOperator_test.go | 156 +- agent-operator/CmiiImageSyncOperator_test.go | 70 +- .../image/middle-image-arm64-250218.txt | 17 + agent-operator/image/middle-image.txt | 13 +- agent-wdd/cmd/Base.go | 30 +- agent-wdd/one-build-and-run.ps1 | 2 +- agent-wdd/op/Operator.go | 1 + 70 files changed, 60241 insertions(+), 17631 deletions(-) create mode 100644 .cursor/rules/agent-wdd-rules.mdc create mode 100644 agent-common/real_project/gsyd-app/MobaXterm_OneTools-Minio-71_20241218_094828.rtf create mode 100644 agent-common/real_project/jxyd/k8s-backend.yaml create mode 100644 agent-common/real_project/jxyd/k8s-configmap.yaml create mode 100644 agent-common/real_project/jxyd/k8s-dashboard.yaml create mode 100644 agent-common/real_project/jxyd/k8s-emqx.yaml create mode 100644 agent-common/real_project/jxyd/k8s-frontend.yaml create mode 100644 agent-common/real_project/jxyd/k8s-ingress.yaml create mode 100644 agent-common/real_project/jxyd/k8s-mongo.yaml create mode 100644 agent-common/real_project/jxyd/k8s-mysql.yaml create mode 100644 agent-common/real_project/jxyd/k8s-nacos.yaml create mode 100644 agent-common/real_project/jxyd/k8s-nfs-test.yaml create mode 100644 agent-common/real_project/jxyd/k8s-nfs.yaml create mode 100644 agent-common/real_project/jxyd/k8s-pvc.yaml create mode 100644 agent-common/real_project/jxyd/k8s-rabbitmq.yaml create mode 100644 agent-common/real_project/jxyd/k8s-redis.yaml create mode 100644 agent-common/real_project/jxyd/k8s-srs.yaml create mode 100644 agent-common/real_project/sdejpt/old/sdejpt.zip create mode 100644 agent-common/real_project/sdejpt/sdejpt.zip create mode 100644 agent-common/real_project/szgz/k8s-backend.yaml create mode 100644 agent-common/real_project/szgz/k8s-configmap.yaml create mode 100644 agent-common/real_project/szgz/k8s-dashboard.yaml create mode 100644 agent-common/real_project/szgz/k8s-emqx.yaml create mode 100644 agent-common/real_project/szgz/k8s-frontend.yaml create mode 100644 agent-common/real_project/szgz/k8s-ingress.yaml create mode 100644 agent-common/real_project/szgz/k8s-mongo.yaml create mode 100644 agent-common/real_project/szgz/k8s-mysql.yaml create mode 100644 agent-common/real_project/szgz/k8s-nacos.yaml create mode 100644 agent-common/real_project/szgz/k8s-nfs-test.yaml create mode 100644 agent-common/real_project/szgz/k8s-nfs.yaml create mode 100644 agent-common/real_project/szgz/k8s-pvc.yaml create mode 100644 agent-common/real_project/szgz/k8s-rabbitmq.yaml create mode 100644 agent-common/real_project/szgz/k8s-redis.yaml create mode 100644 agent-common/real_project/szgz/k8s-srs.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-backend.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-configmap.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-dashboard.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-emqx.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-frontend.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-ingress.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-mongo.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-mysql.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-nacos.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-nfs-test.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-nfs.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-pvc.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-rabbitmq.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-redis.yaml create mode 100644 agent-common/real_project/szgz/old/k8s-srs.yaml diff --git a/.cursor/rules/agent-wdd-rules.mdc b/.cursor/rules/agent-wdd-rules.mdc new file mode 100644 index 0000000..51b66cc --- /dev/null +++ b/.cursor/rules/agent-wdd-rules.mdc @@ -0,0 +1,60 @@ +--- +description: 构建agent-wdd的特定上下文的规则 +globs: *,go +--- + +# 你是一个精通golang的编程大师,熟练掌握github.com/spf13/cobra框架,能够构建出非常现代的cli工具 + +# 整个项目的架构结构如下 +1. base 服务器基础操作 相关的功能存放于@Base.go中 + 1. docker docker相关的操作 + 1. online 使用网络安装特定版本的docker + 2. remove 卸载docker + 3. local 从本地docker二级制文件安装docker + 2. dockercompose dockercompose相关的操作 + 1. online 使用网络安装特定版本的dockercompose + 2. remove 卸载dockercompose + 3. local 从本地安装dockercompose + 3. tools 利用本机的yum,apt等从网络安装常用的软件 + 4. ssh ssh相关的操作 + 1. key 安装特定的ssh-key + 2. port 修改sshd的端口为特定端口 + 3. config 修改sshd的配置为特定配置 + 5. swap 关闭本机的swap缓存 + 6. selinux 关闭本机的selinux相关内容 + 7. firewall 关闭本机的防火墙相关的设置 + 8. sysconfig 修改主机sysconfig相关的内容 +2. zsh zsh相关的内容 + 1. cn 参数,如果有此参数,则从跟国内安装zsh +3. proxy 主机代理相关的内容 + 1. xray xray相关的内容 + 1. install 安装最新版本的xray + 2. local 从本机安装xray + 3. upgrade 卸载xray + 2. vmess 一键设置vmess的代理模式 + 3. vless 一键设置vless的代理模式 + 4. sysconfig 修改主机proxy相关的内核参数 +4. acme acme相关的内容 + 1. install 安装acme.sh + 2. cert 为特定域名申请证书文件 + 3. list 列出本地存在的证书 +5. wdd + 1. host 更新所有的hosts + 2. resolve 更新主机的resolve + 3. agent 此部分才是octopus-agent的内容 + 1. install + 2. upgrade + 3. remove + 4. upgrade 更新octopus-wdd自身 +6. security + 1. ssh +7. info 获取主机相关的信息,并且保存至config文件 实现在 [Info.go](mdc:agent-wdd/cmd/Info.go) + 1. cpu cpu相关的信息 [CPU.go](mdc:agent-wdd/config/CPU.go) + 2. os 操作系统相关的信息 [OS.go](mdc:agent-wdd/config/OS.go) + 3. mem mem相关的信息 [Memory.go](mdc:agent-wdd/config/Memory.go) + 4. disk disk相关的信息 [Disk.go](mdc:agent-wdd/config/Disk.go) + 5. network 网络相关的内容 [Network.go](mdc:agent-wdd/config/Network.go) + 6. all 主机全部的信息 +8. version 打印octopus-agent的构建版本信息 +9. config octopus-wdd使用的配置文件 文件 + 1. show diff --git a/agent-common/real_project/CmiiImageListConfig.go b/agent-common/real_project/CmiiImageListConfig.go index fca8e4c..4d1cb52 100644 --- a/agent-common/real_project/CmiiImageListConfig.go +++ b/agent-common/real_project/CmiiImageListConfig.go @@ -1,5 +1,92 @@ package real_project +var Cmii620ArmImageList = []string{ + "harbor.cdcyy.com.cn/cmii/cmii-uav-integration:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-multilink:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-sync:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-admin-data:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-open-gateway:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-autowaypoint:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-mission:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-notice:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-user:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-bridge:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-brain:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-tower:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-iot-dispatcher:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-developer:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-device:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-gateway:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-advanced5g:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-process:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-sky-converge:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-admin-gateway:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-admin-user:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-fwdd:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-app-release:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-cms:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-logger:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-sense-adapter:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uavms-security-center:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-emergency-rescue:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uasms:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uas:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-armypeople:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervision:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-oms:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uavms-platform-security-center:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-open:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-logistics:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-security:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-securityh5:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-threedsimulation:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-pilot2-to-cloud:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-seniclive:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-dispatchh5:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-media:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-uavms-platform-manager:6.2.0-szgz-arm", + "harbor.cdcyy.com.cn/cmii/cmii-live-operator:5.2.0", + "harbor.cdcyy.com.cn/cmii/srs:v5.0.195", + "harbor.cdcyy.com.cn/cmii/cmii-srs-oss-adaptor:2023-SA-skip-CHL", +} + var Cmii620ImageList = []string{ "harbor.cdcyy.com.cn/cmii/cmii-open-gateway:6.2.0-demo", "harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:6.2.0-demo", diff --git a/agent-common/real_project/gsyd-app/MobaXterm_OneTools-Minio-71_20241218_094828.rtf b/agent-common/real_project/gsyd-app/MobaXterm_OneTools-Minio-71_20241218_094828.rtf new file mode 100644 index 0000000..1e28140 --- /dev/null +++ b/agent-common/real_project/gsyd-app/MobaXterm_OneTools-Minio-71_20241218_094828.rtf @@ -0,0 +1,110 @@ +{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fcharset129 Courier New;}{\f1\fmodern\fprq6\fcharset134 \'cb\'ce\'cc\'e5;}} +\viewkind4\uc1\pard\lang2052\f0\fs10 \'a6\'a3\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a4 +\par \'a6\'a2 ? MobaXterm 12.4 ? \'a6\'a2 +\par \'a6\'a2 (SSH client, X-server and networking tools) \'a6\'a2 +\par \'a6\'a2 \'a6\'a2 +\par \'a6\'a2 ? SSH session to root@192.168.35.71 \'a6\'a2 +\par \'a6\'a2 ? SSH compression : ? \'a6\'a2 +\par \'a6\'a2 ? SSH-browser : ? \'a6\'a2 +\par \'a6\'a2 ? X11-forwarding : ? (disabled or not supported by server) \'a6\'a2 +\par \'a6\'a2 ? DISPLAY : 10.250.0.14:0.0 \'a6\'a2 +\par \'a6\'a2 \'a6\'a2 +\par \'a6\'a2 ? For more info, ctrl+click on help or visit our website \'a6\'a2 +\par \'a6\'a6\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a5 +\par +\par Authorized users only.All activity may be monitored and reported! +\par Last login: Tue Dec 17 14:26:14 2024 from 192.168.103.36 +\par ? root@onetools-2 \f1\'ab\'f3 ~ \'ab\'f3 ls +\par 1.py all-gzip-image-list.txt go logs node-p.tar.gz port_linux_amd64 wdd +\par 2.sh Clash.Verge_2.0.1_x64-setup.exe image nethogs nohup.out Postman-win64.exe +\par all-cmii-image-list.txt cmii_third k0s node-p-0.8.7.tar.gz octopus_image test.sh +\par ? root@onetools-2 \'ab\'f3 ~ \'ab\'f3 cd image +\par ? root@onetools-2 \'ab\'f3 ~/image \'ab\'f3 ls +\par 2.sh +\par 'cmii-live-operator=v5.7.0=2024-12-11=206.tar.gz' +\par 'cmii-suav-supervision=6.1.1=2024-12-10=418.tar.gz' +\par 'cmii-uav-advanced5g=6.1.1=2024-12-11=915.tar.gz' +\par 'cmii-uav-bridge=5.7.0-xzga-121001=2024-12-10=210.tar.gz' +\par 'cmii-uav-bridge=5.7.0-xzga-1210=2024-12-10=522.tar.gz' +\par 'cmii-uav-cloud-live=5.7.0-szga=2024-12-13=816.tar.gz' +\par 'cmii-uav-device=5.6.0-szga-1212-arm=2024-12-12=354.tar.gz' +\par 'cmii-uav-device=5.6.0-szga-1216-arm=2024-12-16=178.tar.gz' +\par 'cmii-uav-device=6.1.0-szga-1210=2024-12-10=908.tar.gz' +\par 'cmii-uav-integration=6.1.0-xzga-1211=2024-12-11=277.tar.gz' +\par 'cmii-uav-integration=6.1.0-xzga-1212=2024-12-12=223.tar.gz' +\par 'cmii-uav-integration=6.1.0-xzga-1212=2024-12-12=770.tar.gz' +\par 'cmii-uav-mission=5.4.0-zyga-1216=2024-12-16=288.tar.gz' +\par 'cmii-uav-mission=6.1.1-xzga=2024-12-11=578.tar.gz' +\par 'cmii-uav-mqtthandler=6.1.0-1217-shbj-arm=2024-12-17=514.tar.gz' +\par 'cmii-uav-oauth=6.0.0-33992-120601=2024-12-13=980.tar.gz' +\par 'cmii-uav-platform=5.4.0-27971-zyga-1217=2024-12-17=845.tar.gz' +\par 'cmii-uav-platform=5.7.0-32124-121101-arm=2024-12-11=423.tar.gz' +\par 'cmii-uav-platform=5.7.0-32124-121201-arm=2024-12-12=915.tar.gz' +\par 'cmii-uav-platform=5.7.0-32124-121301-arm=2024-12-13=302.tar.gz' +\par 'cmii-uav-platform=5.7.0-32124-121601-arm=2024-12-16=674.tar.gz' +\par 'cmii-uav-platform=5.7.0-32124-121602-arm=2024-12-16=611.tar.gz' +\par 'cmii-uav-platform=5.7.0-32124-121701-arm=2024-12-17=867.tar.gz' +\par 'cmii-uav-platform=6.0.0-33992-121301=2024-12-13=435.tar.gz' +\par 'cmii-uav-platform=6.1.0-32124-shbj-1217-arm=2024-12-17=736.tar.gz' +\par 'cmii-uav-platform=6.1.0-33579-121110=2024-12-11=944.tar.gz' +\par 'cmii-uav-platform=6.1.0-33579-1211=2024-12-11=358.tar.gz' +\par 'cmii-uav-platform=6.1.1-33579=2024-12-10=863.tar.gz' +\par 'cmii-uav-platform=6.1.1-33579=2024-12-10=866.tar.gz' +\par 'cmii-uav-platform-share=6.1.1=2024-12-10=429.tar.gz' +\par 'cmii-uav-surveillance=5.6.0-szga-1211-arm=2024-12-11=866.tar.gz' +\par 'cmii-uav-surveillance=5.6.0-szga-1217-arm=2024-12-17=394.tar.gz' +\par 'cmii-uav-surveillance=5.7.0-xzga-121101=2024-12-11=439.tar.gz' +\par 'cmii-uav-surveillance=5.7.0-xzga-121101=2024-12-11=939.tar.gz' +\par 'cmii-zlm-oss-adaptor=v2.7.3=2024-12-11=473.tar.gz' +\par 'cmii-zlm-oss-adaptor=v2.7.3=2024-12-11=485.tar.gz' +\par 'cmlc-live=v2.7.3=2024-12-11=256.tar.gz' +\par 'cmlc-live=v2.7.3=2024-12-11=354.tar.gz' +\par download_and_compress.sh +\par image-clean.sh +\par image-sync.sh +\par kubectl-1.30.4-amd64 +\par 'nginx=1.27.0=2024-12-11=538.tar.gz' +\par nohup.out +\par rke-1.30.4 +\par yaml +\par ? root@onetools-2 \'ab\'f3 ~/image \'ab\'f3 bash image-sync.sh -h 172.26.0.31:8033 -u harbor.cdcyy.com.cn/cmii/cmii-admin-data:6.1.1 +\par \'a1\'be\'c9\'cf\'b4\'ab\'a1\'bf - \'d0\'e8\'d2\'aa\'b4\'a6\'c0\'ed\'b5\'c4\'be\'b5\'cf\'f1\'c3\'fb\'b3\'c6\'ce\'aa => harbor.cdcyy.com.cn/cmii/cmii-admin-data:6.1.1 +\par +\par \'a1\'be\'c9\'cf\'b4\'ab\'a1\'bf - \'bf\'aa\'ca\'bc\'cf\'c2\'d4\'d8\'be\'b5\'cf\'f1\'a3\'a1 +\par +\par \'cf\'c2\'d4\'d8-\'be\'b5\'cf\'f1\'cf\'c2\'d4\'d8\'b3\'c9\'b9\'a6\'a3\'a1 => harbor.cdcyy.com.cn/cmii/cmii-admin-data:6.1.1 +\par +\par \'a1\'be\'c9\'cf\'b4\'ab\'a1\'bf - \'bd\'ab\'d2\'aa\'b0\'d1\'be\'b5\'cf\'f1\'d1\'b9\'cb\'f5\'ce\'aa => cmii-admin-data=6.1.1=2024-12-18=140.tar.gz +\par \'a1\'be\'c9\'cf\'b4\'ab\'a1\'bf - \'d1\'b9\'cb\'f5\'b3\'c9\'b9\'a6 \'a3\'a1 cmii-admin-data=6.1.1=2024-12-18=140.tar.gz +\par +\par \'a1\'be\'c9\'cf\'b4\'ab\'a1\'bf - \'bf\'aa\'ca\'bc\'c9\'cf\'b4\'ab\'d6\'c1OSS\'d6\'d0! +\par ...4-12-18=140.tar.gz: 204.79 MiB / 204.79 MiB \'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5\'a9\'a5 24.61 MiB/s 8s\'a1\'be\'c9\'cf\'b4\'ab\'a1\'bf - \'c9\'cf\'b4\'abOSS\'b3\'c9\'b9\'a6 => [2024-12-18 09:13:52 CST] 205MiB STANDARD cmii-admin-data=6.1.1=2024-12-18=140.tar.gz +\par +\par \'a1\'be\'c9\'cf\'b4\'ab\'a1\'bf - \'c7\'eb\'d4\'da\'c4\'bf\'b1\'eaMaster\'d6\'f7\'bb\'fa\'d6\'b4\'d0\'d0\'c8\'e7\'cf\'c2\'c3\'fc\'c1\'ee \'a1\'fd\'a1\'fd\'a1\'fd\'a1\'fd\'a1\'fd\'a1\'fd +\par +\par +\par source <(curl -sL https://b2.107421.xyz/image-sync.sh) -d cmii-admin-data=6.1.1=2024-12-18=140.tar.gz +\par +\par +\par \'a1\'be\'b8\'fc\'d0\'c2\'a1\'bf - \'d2\'bb\'bc\'fc\'b8\'fc\'d0\'c2\'ce\'a2\'b7\'fe\'ce\'f1\'b5\'c4Tag\'a3\'ac\'c7\'eb\'d6\'b4\'d0\'d0\'c8\'e7\'cf\'c2\'c3\'fc\'c1\'ee \'a1\'fd\'a1\'fd\'a1\'fd\'a1\'fd\'a1\'fd\'a1\'fd +\par +\par wget https://oss.demo.uavcmlc.com/cmlc-installation/tmp/cmii-admin-data=6.1.1=2024-12-18=140.tar.gz && bash ./cmii-update.sh cmii-admin-data=6.1.1=2024-12-18=140.tar.gz +\par +\par +\par \'a1\'be\'c9\'cf\'b4\'ab\'a1\'bf - \'ca\'d6\'b6\'af\'c3\'fc\'c1\'ee\'d6\'b4\'d0\'d0\'c8\'e7\'cf\'c2\'a3\'ac \'c4\'bf\'b1\'ea\'be\'b5\'cf\'f1\'c8\'ab\'b3\'cc\'b5\'d8\'d6\'b7\'ce\'aa => 172.26.0.31:8033/cmii/cmii-admin-data:6.1.1 +\par +\par wget https://oss.demo.uavcmlc.com/cmlc-installation/tmp/cmii-admin-data=6.1.1=2024-12-18=140.tar.gz && docker load < cmii-admin-data=6.1.1=2024-12-18=140.tar.gz && docker tag harbor.cdcyy.com.cn/cmii/cmii-admin-data:6.1.1 172.26.0.31:8033/cmii/cmii-admin-data:6.1.1 && docker push 172.26.0.31:8033/cmii/cmii-admin-data:6.1.1 +\par +\par +\par ? root@onetools-2 \'ab\'f3 ~/image \'ab\'f3 +\par Network error: Software caused connection abort +\par +\par \f0\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1\'a6\'a1 +\par +\par Session stopped +\par - Press to exit tab +\par - Press R to restart session +\par - Press S to save terminal output to file +\par +\par } + \ No newline at end of file diff --git a/agent-common/real_project/jxyd/k8s-backend.yaml b/agent-common/real_project/jxyd/k8s-backend.yaml new file mode 100644 index 0000000..6d2310b --- /dev/null +++ b/agent-common/real_project/jxyd/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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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: + - jxyd + 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: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + 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: 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/agent-common/real_project/jxyd/k8s-configmap.yaml b/agent-common/real_project/jxyd/k8s-configmap.yaml new file mode 100644 index 0000000..b9394ff --- /dev/null +++ b/agent-common/real_project/jxyd/k8s-configmap.yaml @@ -0,0 +1,602 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-splice + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "splice", + AppClientId: "APP_zE0M3sTRXrCIJS8Y" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-threedsimulation + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "threedsimulation", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qingdao + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "qingdao", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-classification + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "classification", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-open + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "open", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uasms + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "uasms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-mws + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "mws", + AppClientId: "APP_uKniXPELlRERBBwK" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-ai-brain + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "ai-brain", + AppClientId: "APP_rafnuCAmBESIVYMH" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-logistics + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "logistics", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pilot2cloud + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "pilot2cloud", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-blockchain + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "blockchain", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dikongzhixingh5 + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "dikongzhixingh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-renyike + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "renyike", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervisionh5 + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "supervisionh5", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hyper + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "hyper", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-scanner + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "scanner", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-smsecret + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "smsecret", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-smauth + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "smauth", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-eventsh5 + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "eventsh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervision + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "supervision", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-cmsportal + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "cmsportal", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-media + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "media", + AppClientId: "APP_4AU8lbifESQO4FD6" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-securityh5 + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "securityh5", + AppClientId: "APP_N3ImO0Ubfu9peRHD" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qinghaitourism + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "qinghaitourism", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-visualization + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "visualization", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uas + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "uas", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-armypeople + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "armypeople", + AppClientId: "APP_UIegse6Lfou9pO1U" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-oms + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "oms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-share + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "share", + AppClientId: "APP_4lVSVI0ZGxTssir8" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-jiangsuwenlv + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "jiangsuwenlv", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-mianyangbackend + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "mianyangbackend", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uavmsmanager + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "uavmsmanager", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-emergency + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "emergency", + AppClientId: "APP_aGsTAY1uMZrpKdfk" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-multiterminal + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "multiterminal", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hljtt + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "hljtt", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dispatchh5 + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "dispatchh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-secenter + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "secenter", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-base + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "base", + AppClientId: "APP_9LY41OaKSqk2btY0" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-detection + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "detection", + AppClientId: "APP_FDHW2VLVDWPnnOCy" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-security + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "security", + AppClientId: "APP_JUSEMc7afyWXxvE7" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-seniclive + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "seniclive", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-traffic + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "traffic", + AppClientId: "APP_Jc8i2wOQ1t73QEJS" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pangu + namespace: jxyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.138.132.240:30800", + ApplicationShortName: "", + AppClientId: "empty" + } diff --git a/agent-common/real_project/jxyd/k8s-dashboard.yaml b/agent-common/real_project/jxyd/k8s-dashboard.yaml new file mode 100644 index 0000000..e153ab0 --- /dev/null +++ b/agent-common/real_project/jxyd/k8s-dashboard.yaml @@ -0,0 +1,309 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: kube-system + +--- + +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system + +--- + +kind: Service +apiVersion: v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + kubernetes.io/cluster-service: "true" + name: kubernetes-dashboard + namespace: kube-system +spec: + ports: + - port: 443 + targetPort: 8443 + nodePort: 39999 + selector: + k8s-app: kubernetes-dashboard + type: NodePort + +--- + +apiVersion: v1 +kind: Secret +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-certs + namespace: kube-system +type: Opaque + +--- + +apiVersion: v1 +kind: Secret +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-csrf + namespace: kube-system +type: Opaque +data: + csrf: "" + +--- + +apiVersion: v1 +kind: Secret +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-key-holder + namespace: kube-system +type: Opaque + +--- + +kind: ConfigMap +apiVersion: v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard-settings + namespace: kube-system + +--- + +kind: Role +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system +rules: + # Allow Dashboard to get, update and delete Dashboard exclusive secrets. + - apiGroups: [""] + resources: ["secrets"] + resourceNames: ["kubernetes-dashboard-key-holder", "kubernetes-dashboard-certs", "kubernetes-dashboard-csrf"] + verbs: ["get", "update", "delete"] + # Allow Dashboard to get and update 'kubernetes-dashboard-settings' config map. + - apiGroups: [""] + resources: ["configmaps"] + resourceNames: ["kubernetes-dashboard-settings"] + verbs: ["get", "update"] + # Allow Dashboard to get metrics. + - apiGroups: [""] + resources: ["services"] + resourceNames: ["heapster", "dashboard-metrics-scraper"] + verbs: ["proxy"] + - apiGroups: [""] + resources: ["services/proxy"] + resourceNames: ["heapster", "http:heapster:", "https:heapster:", "dashboard-metrics-scraper", "http:dashboard-metrics-scraper"] + verbs: ["get"] + +--- + +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard +rules: + # Allow Metrics Scraper to get metrics from the Metrics server + - apiGroups: ["metrics.k8s.io"] + resources: ["pods", "nodes"] + verbs: ["get", "list", "watch"] + +--- + +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: kubernetes-dashboard +subjects: + - kind: ServiceAccount + name: kubernetes-dashboard + namespace: kube-system + +--- + +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: kubernetes-dashboard +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: kubernetes-dashboard +subjects: + - kind: ServiceAccount + name: kubernetes-dashboard + namespace: kube-system + +--- + +kind: Deployment +apiVersion: apps/v1 +metadata: + labels: + k8s-app: kubernetes-dashboard + name: kubernetes-dashboard + namespace: kube-system +spec: + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + k8s-app: kubernetes-dashboard + template: + metadata: + labels: + k8s-app: kubernetes-dashboard + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: kubernetes-dashboard + image: 10.20.1.130:8033/cmii/dashboard:v2.0.1 + ports: + - containerPort: 8443 + protocol: TCP + args: + - --auto-generate-certificates + - --namespace=kube-system + # Uncomment the following line to manually specify Kubernetes API server Host + # If not specified, Dashboard will attempt to auto discover the API server and connect + # to it. Uncomment only if the default does not work. + # - --apiserver-host=http://my-address:port + volumeMounts: + - name: kubernetes-dashboard-certs + mountPath: /certs + # Create on-disk volume to store exec logs + - mountPath: /tmp + name: tmp-volume + livenessProbe: + httpGet: + scheme: HTTPS + path: / + port: 8443 + initialDelaySeconds: 30 + timeoutSeconds: 30 + securityContext: + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + runAsUser: 1001 + runAsGroup: 2001 + volumes: + - name: kubernetes-dashboard-certs + secret: + secretName: kubernetes-dashboard-certs + - name: tmp-volume + emptyDir: {} + serviceAccountName: kubernetes-dashboard + # Comment the following tolerations if Dashboard must not be deployed on master + tolerations: + - key: node-role.kubernetes.io/master + effect: NoSchedule + +--- + +kind: Service +apiVersion: v1 +metadata: + labels: + k8s-app: dashboard-metrics-scraper + name: dashboard-metrics-scraper + namespace: kube-system +spec: + ports: + - port: 8000 + targetPort: 8000 + selector: + k8s-app: dashboard-metrics-scraper + +--- + +kind: Deployment +apiVersion: apps/v1 +metadata: + labels: + k8s-app: dashboard-metrics-scraper + name: dashboard-metrics-scraper + namespace: kube-system +spec: + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + k8s-app: dashboard-metrics-scraper + template: + metadata: + labels: + k8s-app: dashboard-metrics-scraper + annotations: + seccomp.security.alpha.kubernetes.io/pod: 'runtime/default' + spec: + containers: + - name: dashboard-metrics-scraper + image: 10.20.1.130:8033/cmii/metrics-scraper:v1.0.4 + ports: + - containerPort: 8000 + protocol: TCP + livenessProbe: + httpGet: + scheme: HTTP + path: / + port: 8000 + initialDelaySeconds: 30 + timeoutSeconds: 30 + volumeMounts: + - mountPath: /tmp + name: tmp-volume + securityContext: + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + runAsUser: 1001 + runAsGroup: 2001 + serviceAccountName: kubernetes-dashboard + # Comment the following tolerations if Dashboard must not be deployed on master + tolerations: + - key: node-role.kubernetes.io/master + effect: NoSchedule + volumes: + - name: tmp-volume + emptyDir: {} +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: admin-user + namespace: kube-system + +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: admin-user +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: + - kind: ServiceAccount + name: admin-user + namespace: kube-system diff --git a/agent-common/real_project/jxyd/k8s-emqx.yaml b/agent-common/real_project/jxyd/k8s-emqx.yaml new file mode 100644 index 0000000..36cfe4a --- /dev/null +++ b/agent-common/real_project/jxyd/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/agent-common/real_project/jxyd/k8s-frontend.yaml b/agent-common/real_project/jxyd/k8s-frontend.yaml new file mode 100644 index 0000000..d857f67 --- /dev/null +++ b/agent-common/real_project/jxyd/k8s-frontend.yaml @@ -0,0 +1,2784 @@ +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: nginx-cm + namespace: jxyd + 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-media + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-media:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-mws + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-mws:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-securityh5 + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-securityh5:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-qingdao + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-qingdao:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-oms + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-oms:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-open + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-open:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-uas + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-uas:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-logistics + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-logistics:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-visualization + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-visualization:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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 + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-detection + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-detection:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-splice + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-splice:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-cms-portal + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-cms-portal:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-multiterminal + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-multiterminal:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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: jxyd + 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: 10.20.1.130:8033/cmii/cmii-suav-platform-supervision:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-ai-brain + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-ai-brain:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-emergency-rescue + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-emergency-rescue:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-armypeople + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-armypeople:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-uasms + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-uasms:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-dispatchh5 + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-dispatchh5:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-seniclive + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-seniclive:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-hljtt + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-hljtt:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-jiangsuwenlv + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-jiangsuwenlv:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-suav-platform-supervisionh5 + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-suav-platform-supervisionh5:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-pilot2-to-cloud + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-pilot2-to-cloud:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-share + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-share:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-threedsimulation + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-threedsimulation:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-base + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-base:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-qinghaitourism + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-qinghaitourism:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-uavms-platform-security-center + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uavms-platform-security-center:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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-security + namespace: jxyd + 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: 10.20.1.130:8033/cmii/cmii-uav-platform-security:6.2.0-demo + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: jxyd + - 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: jxyd + 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 diff --git a/agent-common/real_project/jxyd/k8s-ingress.yaml b/agent-common/real_project/jxyd/k8s-ingress.yaml new file mode 100644 index 0000000..975bcf2 --- /dev/null +++ b/agent-common/real_project/jxyd/k8s-ingress.yaml @@ -0,0 +1,746 @@ +--- +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +metadata: + name: frontend-applications-ingress + namespace: jxyd + 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.jxyd.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: jxyd + 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-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-data + servicePort: 8080 + - host: cmii-admin-gateway.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-gateway + servicePort: 8080 + - host: cmii-admin-user.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-user + servicePort: 8080 + - host: cmii-app-release.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-app-release + servicePort: 8080 + - host: cmii-open-gateway.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-open-gateway + servicePort: 8080 + - host: cmii-sky-converge.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-sky-converge + servicePort: 8080 + - host: cmii-suav-supervision.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-suav-supervision + servicePort: 8080 + - host: cmii-uas-gateway.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-gateway + servicePort: 8080 + - host: cmii-uas-lifecycle.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uas-lifecycle + servicePort: 8080 + - host: cmii-uav-advanced5g.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-advanced5g + servicePort: 8080 + - host: cmii-uav-airspace.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-airspace + servicePort: 8080 + - host: cmii-uav-alarm.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-alarm + servicePort: 8080 + - host: cmii-uav-autowaypoint.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-autowaypoint + servicePort: 8080 + - host: cmii-uav-brain.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-brain + servicePort: 8080 + - host: cmii-uav-bridge.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-bridge + servicePort: 8080 + - host: cmii-uav-cloud-live.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-cloud-live + servicePort: 8080 + - host: cmii-uav-clusters.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-clusters + servicePort: 8080 + - host: cmii-uav-cms.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-cms + servicePort: 8080 + - host: cmii-uav-data-post-process.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-data-post-process + servicePort: 8080 + - host: cmii-uav-depotautoreturn.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-depotautoreturn + servicePort: 8080 + - host: cmii-uav-developer.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-developer + servicePort: 8080 + - host: cmii-uav-device.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-device + servicePort: 8080 + - host: cmii-uav-emergency.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-emergency + servicePort: 8080 + - host: cmii-uav-fwdd.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-fwdd + servicePort: 8080 + - host: cmii-uav-gateway.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gateway + servicePort: 8080 + - host: cmii-uav-gis-server.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gis-server + servicePort: 8080 + - host: cmii-uav-grid-datasource.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-datasource + servicePort: 8080 + - host: cmii-uav-grid-engine.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-engine + servicePort: 8080 + - host: cmii-uav-grid-manage.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-grid-manage + servicePort: 8080 + - host: cmii-uav-industrial-portfolio.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-industrial-portfolio + servicePort: 8080 + - host: cmii-uav-integration.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-integration + servicePort: 8080 + - host: cmii-uav-iot-dispatcher.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-iot-dispatcher + servicePort: 8080 + - host: cmii-uav-kpi-monitor.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-kpi-monitor + servicePort: 8080 + - host: cmii-uav-logger.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-logger + servicePort: 8080 + - host: cmii-uav-material-warehouse.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-material-warehouse + servicePort: 8080 + - host: cmii-uav-mission.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-mission + servicePort: 8080 + - host: cmii-uav-mqtthandler.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-mqtthandler + servicePort: 8080 + - host: cmii-uav-multilink.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-multilink + servicePort: 8080 + - host: cmii-uav-notice.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-notice + servicePort: 8080 + - host: cmii-uav-oauth.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-oauth + servicePort: 8080 + - host: cmii-uav-process.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-process + servicePort: 8080 + - host: cmii-uav-sec-awareness.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sec-awareness + servicePort: 8080 + - host: cmii-uav-security-trace.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-security-trace + servicePort: 8080 + - host: cmii-uav-sense-adapter.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sense-adapter + servicePort: 8080 + - host: cmii-uav-surveillance.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-surveillance + servicePort: 8080 + - host: cmii-uav-sync.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sync + servicePort: 8080 + - host: cmii-uav-threedsimulation.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-threedsimulation + servicePort: 8080 + - host: cmii-uav-tower.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-tower + servicePort: 8080 + - host: cmii-uav-user.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-user + servicePort: 8080 + - host: cmii-uav-waypoint.uavcloud-jxyd.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-waypoint + servicePort: 8080 + - host: cmii-uavms-security-center.uavcloud-jxyd.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: jxyd + 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.jxyd.io + http: + paths: + - path: /oms/api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-admin-gateway + servicePort: 8080 + - path: /open/api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-open-gateway + servicePort: 8080 + - path: /api/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-gateway + servicePort: 8080 diff --git a/agent-common/real_project/jxyd/k8s-mongo.yaml b/agent-common/real_project/jxyd/k8s-mongo.yaml new file mode 100644 index 0000000..c896e52 --- /dev/null +++ b/agent-common/real_project/jxyd/k8s-mongo.yaml @@ -0,0 +1,78 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mongo + namespace: jxyd + 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: jxyd + 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: 10.20.1.130:8033/cmii/mongo:5.0 + resources: {} + ports: + - containerPort: 27017 + name: mongo27017 + protocol: TCP + env: + - name: MONGO_INITDB_ROOT_USERNAME + value: cmlc + - name: MONGO_INITDB_ROOT_PASSWORD + value: REdPza8#oVlt + volumeMounts: + - name: mongo-data + mountPath: /data/db + readOnly: false + subPath: default/helm-mongo/data/db + volumes: + - name: mongo-data + persistentVolumeClaim: + claimName: helm-mongo +--- diff --git a/agent-common/real_project/jxyd/k8s-mysql.yaml b/agent-common/real_project/jxyd/k8s-mysql.yaml new file mode 100644 index 0000000..f106dac --- /dev/null +++ b/agent-common/real_project/jxyd/k8s-mysql.yaml @@ -0,0 +1,410 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-mysql + namespace: jxyd + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jxyd + app.kubernetes.io/managed-by: octopus + annotations: {} +secrets: + - name: helm-mysql +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-mysql + namespace: jxyd + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jxyd + 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: jxyd + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jxyd + 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: jxyd + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jxyd + 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: jxyd + labels: + app.kubernetes.io/component: primary + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/name: mysql-db + app.kubernetes.io/release: jxyd + 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: jxyd + cmii.app: mysql + cmii.type: middleware + type: ClusterIP +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mysql-headless + namespace: jxyd + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jxyd + 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: jxyd + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-mysql + namespace: jxyd + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jxyd + 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: jxyd + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-mysql + namespace: jxyd + labels: + app.kubernetes.io/name: mysql-db + octopus.control: mysql-db-wdd + app.kubernetes.io/release: jxyd + 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: jxyd + 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: jxyd + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: mysql + app.kubernetes.io/component: primary + spec: + imagePullSecrets: + - name: harborsecret + serviceAccountName: helm-mysql + affinity: {} + nodeSelector: + mysql-deploy: "true" + securityContext: + fsGroup: 1001 + initContainers: + - name: change-volume-permissions + image: 10.20.1.130:8033/cmii/bitnami-shell:11-debian-11-r136 + imagePullPolicy: "Always" + command: + - /bin/bash + - -ec + - | + chown -R 1001:1001 /bitnami/mysql + securityContext: + runAsUser: 0 + volumeMounts: + - name: mysql-data + mountPath: /bitnami/mysql + containers: + - name: mysql + image: 10.20.1.130:8033/cmii/mysql:8.1.0-debian-11-r42 + imagePullPolicy: "IfNotPresent" + securityContext: + runAsUser: 1001 + env: + - name: BITNAMI_DEBUG + value: "true" + - name: MYSQL_ROOT_PASSWORD + valueFrom: + secretKeyRef: + name: helm-mysql + key: mysql-root-password + - name: MYSQL_DATABASE + value: "cmii" + ports: + - name: mysql + containerPort: 3306 + livenessProbe: + failureThreshold: 5 + initialDelaySeconds: 120 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 3 + exec: + command: + - /bin/bash + - -ec + - | + password_aux="${MYSQL_ROOT_PASSWORD:-}" + if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then + password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") + fi + mysqladmin status -uroot -p"${password_aux}" + readinessProbe: + failureThreshold: 5 + initialDelaySeconds: 30 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 3 + exec: + command: + - /bin/bash + - -ec + - | + password_aux="${MYSQL_ROOT_PASSWORD:-}" + if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then + password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") + fi + mysqladmin status -uroot -p"${password_aux}" + startupProbe: + failureThreshold: 60 + initialDelaySeconds: 120 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + exec: + command: + - /bin/bash + - -ec + - | + password_aux="${MYSQL_ROOT_PASSWORD:-}" + if [[ -f "${MYSQL_ROOT_PASSWORD_FILE:-}" ]]; then + password_aux=$(cat "$MYSQL_ROOT_PASSWORD_FILE") + fi + mysqladmin status -uroot -p"${password_aux}" + resources: + limits: {} + requests: {} + volumeMounts: + - name: mysql-data + mountPath: /bitnami/mysql + - name: custom-init-scripts + mountPath: /docker-entrypoint-initdb.d + - name: config + mountPath: /opt/bitnami/mysql/conf/my.cnf + subPath: my.cnf + volumes: + - name: config + configMap: + name: helm-mysql + - name: custom-init-scripts + configMap: + name: helm-mysql-init-scripts + - name: mysql-data + hostPath: + path: /var/lib/docker/mysql-pv/jxyd/ diff --git a/agent-common/real_project/jxyd/k8s-nacos.yaml b/agent-common/real_project/jxyd/k8s-nacos.yaml new file mode 100644 index 0000000..7922a71 --- /dev/null +++ b/agent-common/real_project/jxyd/k8s-nacos.yaml @@ -0,0 +1,130 @@ +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-nacos-cm + namespace: jxyd + 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: jxyd + 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: jxyd + 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: 10.20.1.130:8033/cmii/nacos-server:v2.1.2 + ports: + - containerPort: 8848 + name: dashboard + - containerPort: 9848 + name: tcp-9848 + - containerPort: 9849 + name: tcp-9849 + env: + - name: NACOS_AUTH_ENABLE + value: "false" + - name: NACOS_REPLICAS + value: "1" + - name: MYSQL_SERVICE_DB_NAME + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.db.name + - name: MYSQL_SERVICE_PORT + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.port + - name: MYSQL_SERVICE_USER + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.user + - name: MYSQL_SERVICE_PASSWORD + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.password + - name: MYSQL_SERVICE_HOST + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.db.host + - name: NACOS_SERVER_PORT + value: "8848" + - name: NACOS_APPLICATION_PORT + value: "8848" + - name: PREFER_HOST_MODE + value: "hostname" + - name: MODE + value: standalone + - name: SPRING_DATASOURCE_PLATFORM + value: mysql +--- diff --git a/agent-common/real_project/jxyd/k8s-nfs-test.yaml b/agent-common/real_project/jxyd/k8s-nfs-test.yaml new file mode 100644 index 0000000..2fd265f --- /dev/null +++ b/agent-common/real_project/jxyd/k8s-nfs-test.yaml @@ -0,0 +1,38 @@ +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: test-claim + annotations: + volume.beta.kubernetes.io/storage-class: "nfs-prod-distribute" #与nfs-StorageClass.yaml metadata.name保持一致 +spec: + accessModes: + - ReadWriteOnce + storageClassName: nfs-prod-distribute + resources: + requests: + storage: 1Mi +--- +kind: Pod +apiVersion: v1 +metadata: + name: test-pod +spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: test-pod + image: 10.20.1.130:8033/cmii/busybox:latest + command: + - "/bin/sh" + args: + - "-c" + - "touch /mnt/NFS-CREATE-SUCCESS && exit 0 || exit 1" #创建一个SUCCESS文件后退出 + volumeMounts: + - name: nfs-pvc + mountPath: "/mnt" + restartPolicy: "Never" + volumes: + - name: nfs-pvc + persistentVolumeClaim: + claimName: test-claim #与PVC名称保持一致 diff --git a/agent-common/real_project/jxyd/k8s-nfs.yaml b/agent-common/real_project/jxyd/k8s-nfs.yaml new file mode 100644 index 0000000..627a5ef --- /dev/null +++ b/agent-common/real_project/jxyd/k8s-nfs.yaml @@ -0,0 +1,114 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system #根据实际环境设定namespace,下面类同 +--- +kind: ClusterRole +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: nfs-client-provisioner-runner +rules: + - apiGroups: [""] + resources: ["persistentvolumes"] + verbs: ["get", "list", "watch", "create", "delete"] + - apiGroups: [""] + resources: ["persistentvolumeclaims"] + verbs: ["get", "list", "watch", "update"] + - apiGroups: ["storage.k8s.io"] + resources: ["storageclasses"] + verbs: ["get", "list", "watch"] + - apiGroups: [""] + resources: ["events"] + verbs: ["create", "update", "patch"] +--- +kind: ClusterRoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: run-nfs-client-provisioner +subjects: + - kind: ServiceAccount + name: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system +roleRef: + kind: ClusterRole +# name: nfs-client-provisioner-runner + name: cluster-admin + apiGroup: rbac.authorization.k8s.io +--- +kind: Role +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: leader-locking-nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system +rules: + - apiGroups: [""] + resources: ["endpoints"] + verbs: ["get", "list", "watch", "create", "update", "patch"] +--- +kind: RoleBinding +apiVersion: rbac.authorization.k8s.io/v1 +metadata: + name: leader-locking-nfs-client-provisioner +subjects: + - kind: ServiceAccount + name: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system +roleRef: + kind: Role + name: leader-locking-nfs-client-provisioner + apiGroup: rbac.authorization.k8s.io + +--- +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: nfs-prod-distribute +provisioner: cmlc-nfs-storage #这里的名称要和provisioner配置文件中的环境变量PROVISIONER_NAME保持一致parameters: archiveOnDelete: "false" +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nfs-client-provisioner + labels: + app: nfs-client-provisioner + # replace with namespace where provisioner is deployed + namespace: kube-system #与RBAC文件中的namespace保持一致 +spec: + replicas: 1 + selector: + matchLabels: + app: nfs-client-provisioner + strategy: + type: Recreate + template: + metadata: + labels: + app: nfs-client-provisioner + spec: + imagePullSecrets: + - name: harborsecret + serviceAccountName: nfs-client-provisioner + containers: + - name: nfs-client-provisioner + image: 10.20.1.130:8033/cmii/nfs-subdir-external-provisioner:v4.0.2 + volumeMounts: + - name: nfs-client-root + mountPath: /persistentvolumes + env: + - name: PROVISIONER_NAME + value: cmlc-nfs-storage + - name: NFS_SERVER + value: 10.20.1.132 + - name: NFS_PATH + value: /var/lib/docker/nfs_data + volumes: + - name: nfs-client-root + nfs: + server: 10.20.1.132 + path: /var/lib/docker/nfs_data diff --git a/agent-common/real_project/jxyd/k8s-pvc.yaml b/agent-common/real_project/jxyd/k8s-pvc.yaml new file mode 100644 index 0000000..ecbd29d --- /dev/null +++ b/agent-common/real_project/jxyd/k8s-pvc.yaml @@ -0,0 +1,76 @@ +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: nfs-backend-log-pvc + namespace: jxyd + 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: jxyd + 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: jxyd + 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: jxyd + 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/agent-common/real_project/jxyd/k8s-rabbitmq.yaml b/agent-common/real_project/jxyd/k8s-rabbitmq.yaml new file mode 100644 index 0000000..bb6a3f3 --- /dev/null +++ b/agent-common/real_project/jxyd/k8s-rabbitmq.yaml @@ -0,0 +1,328 @@ +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: helm-rabbitmq + namespace: jxyd + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jxyd + app.kubernetes.io/managed-by: rabbitmq +automountServiceAccountToken: true +secrets: + - name: helm-rabbitmq +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-rabbitmq + namespace: jxyd + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jxyd + 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: jxyd + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jxyd + 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: jxyd + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jxyd + 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: jxyd + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jxyd + 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: jxyd + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jxyd + 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: jxyd + publishNotReadyAddresses: true +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-rabbitmq + namespace: jxyd + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jxyd + 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: jxyd +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: helm-rabbitmq + namespace: jxyd + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jxyd + 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: jxyd + template: + metadata: + labels: + app.kubernetes.io/name: helm-rabbitmq + helm.sh/chart: rabbitmq-8.26.1 + app.kubernetes.io/release: jxyd + app.kubernetes.io/managed-by: rabbitmq + annotations: + checksum/config: d6c2caa9572f64a06d9f7daa34c664a186b4778cd1697ef8e59663152fc628f1 + checksum/secret: d764e7b3d999e7324d1afdfec6140092a612f04b6e0306818675815cec2f454f + spec: + imagePullSecrets: + - name: harborsecret + serviceAccountName: helm-rabbitmq + affinity: {} + securityContext: + fsGroup: 5001 + runAsUser: 5001 + terminationGracePeriodSeconds: 120 + initContainers: + - name: volume-permissions + image: 10.20.1.130:8033/cmii/bitnami-shell:11-debian-11-r136 + imagePullPolicy: "Always" + command: + - /bin/bash + args: + - -ec + - | + mkdir -p "/bitnami/rabbitmq/mnesia" + chown -R "5001:5001" "/bitnami/rabbitmq/mnesia" + securityContext: + runAsUser: 0 + resources: + limits: {} + requests: {} + volumeMounts: + - name: data + mountPath: /bitnami/rabbitmq/mnesia + containers: + - name: rabbitmq + image: 10.20.1.130:8033/cmii/rabbitmq:3.9.12-debian-10-r3 + imagePullPolicy: "Always" + env: + - name: BITNAMI_DEBUG + value: "false" + - name: MY_POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: K8S_SERVICE_NAME + value: "helm-rabbitmq-headless" + - name: K8S_ADDRESS_TYPE + value: hostname + - name: RABBITMQ_FORCE_BOOT + value: "no" + - name: RABBITMQ_NODE_NAME + value: "rabbit@$(MY_POD_NAME).$(K8S_SERVICE_NAME).$(MY_POD_NAMESPACE).svc.cluster.local" + - name: K8S_HOSTNAME_SUFFIX + value: ".$(K8S_SERVICE_NAME).$(MY_POD_NAMESPACE).svc.cluster.local" + - name: RABBITMQ_MNESIA_DIR + value: "/bitnami/rabbitmq/mnesia/$(RABBITMQ_NODE_NAME)" + - name: RABBITMQ_LDAP_ENABLE + value: "no" + - name: RABBITMQ_LOGS + value: "-" + - name: RABBITMQ_ULIMIT_NOFILES + value: "65536" + - name: RABBITMQ_USE_LONGNAME + value: "true" + - name: RABBITMQ_ERL_COOKIE + valueFrom: + secretKeyRef: + name: helm-rabbitmq + key: rabbitmq-erlang-cookie + - name: RABBITMQ_LOAD_DEFINITIONS + value: "no" + - name: RABBITMQ_SECURE_PASSWORD + value: "yes" + - name: RABBITMQ_USERNAME + value: "admin" + - name: RABBITMQ_PASSWORD + valueFrom: + secretKeyRef: + name: helm-rabbitmq + key: rabbitmq-password + - name: RABBITMQ_PLUGINS + value: "rabbitmq_management, rabbitmq_peer_discovery_k8s, rabbitmq_shovel, rabbitmq_shovel_management, rabbitmq_auth_backend_ldap" + ports: + - name: amqp + containerPort: 5672 + - name: dist + containerPort: 25672 + - name: dashboard + containerPort: 15672 + - name: epmd + containerPort: 4369 + livenessProbe: + exec: + command: + - /bin/bash + - -ec + - rabbitmq-diagnostics -q ping + initialDelaySeconds: 120 + periodSeconds: 30 + timeoutSeconds: 20 + successThreshold: 1 + failureThreshold: 6 + readinessProbe: + exec: + command: + - /bin/bash + - -ec + - rabbitmq-diagnostics -q check_running && rabbitmq-diagnostics -q check_local_alarms + initialDelaySeconds: 10 + periodSeconds: 30 + timeoutSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + lifecycle: + preStop: + exec: + command: + - /bin/bash + - -ec + - | + if [[ -f /opt/bitnami/scripts/rabbitmq/nodeshutdown.sh ]]; then + /opt/bitnami/scripts/rabbitmq/nodeshutdown.sh -t "120" -d "false" + else + rabbitmqctl stop_app + fi + resources: + limits: {} + requests: {} + volumeMounts: + - name: configuration + mountPath: /bitnami/rabbitmq/conf + - name: data + mountPath: /bitnami/rabbitmq/mnesia + volumes: + - name: configuration + configMap: + name: helm-rabbitmq-config + items: + - key: rabbitmq.conf + path: rabbitmq.conf + - name: data + persistentVolumeClaim: + claimName: helm-rabbitmq diff --git a/agent-common/real_project/jxyd/k8s-redis.yaml b/agent-common/real_project/jxyd/k8s-redis.yaml new file mode 100644 index 0000000..537dc6a --- /dev/null +++ b/agent-common/real_project/jxyd/k8s-redis.yaml @@ -0,0 +1,585 @@ +--- +apiVersion: v1 +kind: ServiceAccount +automountServiceAccountToken: true +metadata: + name: helm-redis + namespace: jxyd + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jxyd + app.kubernetes.io/managed-by: octopus +--- +apiVersion: v1 +kind: Secret +metadata: + name: helm-redis + namespace: jxyd + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jxyd + app.kubernetes.io/managed-by: octopus +type: Opaque +data: + redis-password: "TWNhY2hlQDQ1MjI=" +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: helm-redis-configuration + namespace: jxyd + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jxyd + 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: jxyd + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jxyd + 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: jxyd + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jxyd + 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: jxyd + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jxyd + 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: jxyd +--- +# Source: outside-deploy/charts/redis-db/templates/master/service.yaml +apiVersion: v1 +kind: Service +metadata: + name: helm-redis-master + namespace: jxyd + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jxyd + 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: jxyd + 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: jxyd + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jxyd + 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: jxyd + 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: jxyd + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jxyd + 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: jxyd + 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: jxyd + app.kubernetes.io/managed-by: octopus + cmii.type: middleware + cmii.app: redis + app.kubernetes.io/component: master + annotations: + checksum/configmap: b64aa5db67e6e63811f3c1095b9fce34d83c86a471fccdda0e48eedb53a179b0 + checksum/health: 6e0a6330e5ac63e565ae92af1444527d72d8897f91266f333555b3d323570623 + checksum/scripts: b88df93710b7c42a76006e20218f05c6e500e6cc2affd4bb1985832f03166e98 + checksum/secret: 43f1b0e20f9cb2de936bd182bc3683b720fc3cf4f4e76cb23c06a52398a50e8d + spec: + affinity: {} + securityContext: + fsGroup: 1001 + serviceAccountName: helm-redis + imagePullSecrets: + - name: harborsecret + terminationGracePeriodSeconds: 30 + containers: + - name: redis + image: 10.20.1.130:8033/cmii/redis:6.2.6-debian-10-r0 + imagePullPolicy: "Always" + securityContext: + runAsUser: 1001 + command: + - /bin/bash + args: + - -c + - /opt/bitnami/scripts/start-scripts/start-master.sh + env: + - name: BITNAMI_DEBUG + value: "false" + - name: REDIS_REPLICATION_MODE + value: master + - name: ALLOW_EMPTY_PASSWORD + value: "no" + - name: REDIS_PASSWORD + valueFrom: + secretKeyRef: + name: helm-redis + key: redis-password + - name: REDIS_TLS_ENABLED + value: "no" + - name: REDIS_PORT + value: "6379" + ports: + - name: redis + containerPort: 6379 + livenessProbe: + initialDelaySeconds: 20 + periodSeconds: 5 + # One second longer than command timeout should prevent generation of zombie processes. + timeoutSeconds: 6 + successThreshold: 1 + failureThreshold: 5 + exec: + command: + - sh + - -c + - /health/ping_liveness_local.sh 5 + readinessProbe: + initialDelaySeconds: 20 + periodSeconds: 5 + timeoutSeconds: 2 + successThreshold: 1 + failureThreshold: 5 + exec: + command: + - sh + - -c + - /health/ping_readiness_local.sh 1 + resources: + limits: + cpu: "2" + memory: 8Gi + requests: + cpu: "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: jxyd + labels: + app.kubernetes.io/name: redis-db + octopus.control: redis-db-wdd + app.kubernetes.io/release: jxyd + 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: jxyd + 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: jxyd + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/component: replica + annotations: + checksum/configmap: b64aa5db67e6e63811f3c1095b9fce34d83c86a471fccdda0e48eedb53a179b0 + checksum/health: 6e0a6330e5ac63e565ae92af1444527d72d8897f91266f333555b3d323570623 + checksum/scripts: b88df93710b7c42a76006e20218f05c6e500e6cc2affd4bb1985832f03166e98 + checksum/secret: 43f1b0e20f9cb2de936bd182bc3683b720fc3cf4f4e76cb23c06a52398a50e8d + spec: + imagePullSecrets: + - name: harborsecret + securityContext: + fsGroup: 1001 + serviceAccountName: helm-redis + terminationGracePeriodSeconds: 30 + containers: + - name: redis + image: 10.20.1.130:8033/cmii/redis:6.2.6-debian-10-r0 + imagePullPolicy: "Always" + securityContext: + runAsUser: 1001 + command: + - /bin/bash + args: + - -c + - /opt/bitnami/scripts/start-scripts/start-replica.sh + env: + - name: BITNAMI_DEBUG + value: "false" + - name: REDIS_REPLICATION_MODE + value: slave + - name: REDIS_MASTER_HOST + value: helm-redis-master-0.helm-redis-headless.jxyd.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/agent-common/real_project/jxyd/k8s-srs.yaml b/agent-common/real_project/jxyd/k8s-srs.yaml new file mode 100644 index 0000000..36c193e --- /dev/null +++ b/agent-common/real_project/jxyd/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: 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: 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 + 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:30080' + 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/agent-common/real_project/sdejpt/old/sdejpt.zip b/agent-common/real_project/sdejpt/old/sdejpt.zip new file mode 100644 index 0000000000000000000000000000000000000000..46ba9444e09d9d58eb38f54f04dba0a7864d65ae GIT binary patch literal 29095 zcmY(qQ{m1m8HfM?{$+mv;D5hbvOCfk=o?xZ+ZfTh>swo0ZmB2E^T7k` zzI>r1-SqjPDHtb*Rqlf{_dOU}N{NIWGbZxCy*vXu!1EyhEhSpxQl}buFmA0G^<--s zpbvvYZoY7%+MqvbQb!D437_nDVzGZME8@EE&7bf)>^%f=Q0sq1s!-|uy=k@DafUg5 zwb2vnJ9zpaG+?zthW$Y$xy>2rv6C%RscsVHQWvTFf@=Kt&`Yr$65|>aq-sW{PdsGJ z1)aeDcwYkAM9*p6XkF6Tr+RgB4;2fPV>jnAu<;jaHHvFE)tDEm!BiH-Jl=TM2U9_4 zQw0o15L7EO+@}&qH=Ni6B9}&Wz`yWrQ}3D9VOQFX%KPndrPGfl4GQSxwFBdY9h(pO zqsWu^`O`Tkr91ph(*p5YRA<|<{O?)i=m%cMt0!5tN=i7hv+lnR|4i!0I{wq!zU59z zTizlp$CL6X0^t;%lNhBj%&7o+-;aB=R^vbFGa9H2)z0H3+|Mh8U7F>$jwRYD(!=LKAHWd1m%q zCKDBy48OdYOz%?ZQO}N_M4WAy*mm!huRARjoQkLGrn5V*a@MY$Zd&jjJ&&`wT9q?5 zl0&{e-d-e*#K;J;_T$R^UlM7A&EZB@&)q6U9xF_>|KW7CH<1SJ9Sym(+(Y$FF9(ht zKAEwn#SGgjC-DHbjCA9ezfNc9{KM|T(~2civ~A0%Zhc2DRV(`T3fgQMEM2t;PyVvCM^yEU1slKS3I3cq1crur@b-aEP>AjSD^z82J z<`wqfYzR4cNmb3Q5lz&d%Nff5=e_Lh+(pp3u?Q{WSJo`&`Htc#^te_lcS%^|S7l z?C-jKwDjG0n=*j5shAqZtL(s7R|R)aS?X!P9gH4}=hD$#vqljb-tXq@zZwJO%(Qsy zWq2gO;BWnvLMde&OAebjtMW2-X4hcPkD4EKReh0m@@{j4uhNRd8?~1)>wT@lwiX}6 z;QZi^jOIoAjXcJ@a~V_I!$CJL+O!L(wL)h98f+VqNhbc7MYi;};4w;9`{_8#eT;i2 zU+i%^3$l%)Jn3JW4BHH^v!Y}AOOmIRxxH97(XP|Fl-vG0canI|+xD;uyY=Sm7@G^* z2Bi50{qz~O1rr>PDT_L}j;=l;fuYX2k7;4vq&rs*P*efC{fK|-MYue)Bh$}!&BR}&Z(?Yk-1Too^f9$?)7 zI**DhI49tpfqS9bCA^+BX1)uQof5@z+*cF9{+@lRbb6CKx-`ZWwP|kB01wnh7WrAW znJMwB%ol;zp}?Ik@}H`muHurqKya^L}lPlO(Yw^i|`Rwe>Q4|ye; zDaU430u4x;I@dL>I!7skT2k4P&<30ve1Kd;e`d{2CFg`qsjX^JO!8K=&v*FNZq30? zB{RgOk4+kxFfutDWz7T_9shdJWO-*Yx!rHrsE4Dd0&Ftbe(%MBdZ1X-Qhgx|95TYv zo?~V*+&Sx+pLY0gzlm5hjNN+WCS$7;r*VU+6ElDv=Z}0ExfC)fB+nmm0o%=fG4J~jSMM4;A+h$|vDA8<@ zj*kuYxcoFYt{WwD-5VEXoqk!dA*k`<)5N9;OfDB$vO&ZrzvepFgk-Uu07a{b^)TF4 z%q(RZF6haxJquS41-t#4Ys-&u?_j_q2uExpWe^g8oo{4Te56ZQ8=H+S1xpH+7#Kfs z7o}sRW%p&|sHFxoth25<#Dx|CRICbuT?AJJq$;6KJM?Z~T3Y`?X@MPjGP89vu zcR_n5dhD5yX0rR4eC6+MSum1d#7w4re=@mVOqx|%z$5b-UYCO+AG6TMghhjlq{L{? z9e@)ehpC9MaFC7*abT*oqJpZVR7j~3ljARry+Dbne&^cYz*MCr1;X5VFAcBktwI}8 z?4P`aZlV65>scF6@XBNxBqNjPcn`O%;VhV27Cbp>t{n4DUR_n*5;^qv*;&Wu!f!1C+Ii7F3UEuJ)p}PiON!9s6p#>RHF!7?AC??JpoG-o(TR3Ic zu9&VbsR@~NIcjHyCuE7w5R)!i2IM~}B#eLm9k1NC(N(lEdVmj^?;m;b25a!KZCCUf zCL&oTd+^ssvXy#@Ag&SmKvR_e>-smu!BWd8QF* zy10qc;b9^E7)(5C;;a-YamD#0<__t<2_%wg-T7D> z;B`~7+E_itX&>b50E&sy^JVYwl(rp&yec=GEpHP<%MRYa01-qd-2@Pe>y`3kho6gb z!}B!Gl9)c8L|N}ed##+Z14gIKoj*yDZCZq5W392^nw_PNTQ=Y5F6kEyYAgfNfRGVS z%p6iO0?#2May{htFqQX$pCOXU?`+V1z@+}-dWh)QG;e02e@2eNftO`>Zwd3%`YiJj zqk;$W>Nqx)MDG$Zc>F0No&Z)4NdtqYD2nJYgQewBCD_&4H~w~42G+fOInm=tfi3h& z945@TI@xLEoa%kS+Ef?=9ZPa zzZ+YS$Ig#B*mpNZjh4?zp~5ZZ2I;dOH)2eeA{`hY#rqjOY~zj}dr#;72VI6&-i4|$ zR_2bI7IHWK@!pA0Q?-RyP~xW5QZ5c_>9hj$z8r3uZQoL39QB-6Gh;WKXSSTMVDTEXaP^ z$|+v%9$Fp0(<~FJgYw%+Ck-6aV?@WHeRC59{q+|#ZD8LuVcyrneDQ)f>;Nq}$WGj| zEAU*wyEb4&1eif?_8{T&N!*|q@w2hIp20trhr~UCKNV?|B@yKYb|Z%ixXQmqRkT5) zeDDsAt84wuKh(P{>`$$4=gF0o-UwH5-bBtTbJLzTbU7n{t&UsgmOq&AH10}GbY8K45=F&b>g^elvYbH%^c)qo13nu zyNImF{6(6dws$Yco~V2H{F}EmdqJ3*Ren-WQTKFbyW*{U^^LzNdh-%|S_I}b&3#Pv zb}{-*+!GgNY_6LoTuTgA8G16ExuRQpgO};s+ETqf^)NEA@enDX`qB1U!6+@QxUhH& zIc_SP!AUF2?2J+J>Xf{!|%5^mn&L1cj+*lx8PNY=&F971Wy*pvjgkQryNHe_mCQykninY*U zJ%Gg<$)(X}gjF1b4zOFy7HboQR`U&})hrkg1I+{ynl+c~?bOt(TGI~}5Gg>#-cyq? zGA>AVT3KW}j6W@{09Vp0M~LDvU95y4)=S5EGw+mK4VJ4&`UYs*1G@xl<)%1rrFM%9 zNgkmE)ag!_Diz5$w;voQY0t&p<~u)ETU$1T^zb0NWCa%QrPezkq{PC~_!6Tv&sQsL z2&|CvoMu+p3@07UQTHN;Ih*V(9Ln{08Pzt+IaekSd=jS`S0i^ z?5M-Td}^j7?kHtXA8sK&0>x2e#$afh45$0TxZj}&P6!V5$?`Tw-jF1whXs{h8Ew{U zbSAz>24uo-XJETJ7g<^AV`HuexmiNy>#E1HfDF0hY>8+-Ub#t01H$zP(X(mJ>_mZo zQylm-P@fA{-d7O2DdpJON=VVJSlec5X`mUyRTMz;AQxmydU%yiC+J*ckd9^o#&Pq( zV#3N_o*~IQg)U^eHu-t+n0=TDq@m1Ew<}sc4z~xA1Z-DpA;>1rGmS>gzb(!SV=9Z8 z=y`R1&rgWRnZ4TzN%ToU-Q$yh^=zL9M|)#l@vn{N64C6>g!%F2Mwsa$psLcGA9JJn z?gjBo3=ORqvoc4)uM+UnI(n}@-+z~f@~zKnlD|fqGST*k7Ti3Z?~yQOwk4XF60*Dd zC-WNFG_JxM(150-m=-3Pnc5uY)#FTHCy=JHLesmu{TvwS0+k%}p7;A-8tT1CG?#ru zf&%t2+GnJ!a9%8DhvaClB^gBrT{cH92I!JeuXA%CO9IOEDABiQ&YVO+ejNrmE!g)( z%h&1qJJT%pkFefmO&eHe#mlJ9Ngws9tU`4_iHIc$%cShEdz@;)uYyxor4%j@Zp_Mi zAva_|5-AA9{v`S~?Rkh;#9y;Ws&xAcv;7QU=mO;!DRG5^X%292L+61lzk4EikILUI z=uFqX&Dj=+9u)=}?u{}GTJw6;MC(H;VEeJPrdM+9uK)^{MBjf}V>df}D;iBVLP*8A@ z?*n>s)%RH%v{c{W9bC4m)a-+lr2~+&>Owj%7ZOH!d`uW*hAkA|yICQ;zc$?x?quj*7g<)mzE z_HE_;_9T4mbo8+9lDEzH!CU2(huc4t%$a`fv6gM6 zsSe7&7Yic!gWdFNIZ?o5ed2a*%*BNy5WnpYA~#%sXD8s3^>~UQJ%_bte10n(Q!Lf@ zad$e>X}2f0#)z$!iHiOPqmayurG|+}g^jvNPA<%Znc;dGt4cw-({W++?>59b(Kr0M z8owt?%nC|mru+bt`!5}9TH0;H1qc8@lNtcvSI+t$9m~+x#>CvzTHo$}l&qz6S;c*N z`>^Q_v81>>LqZg3_kna(Nr*XeAxsvDm;reK%otK^du`MNAt!Yi zR13BO;C>Ue;6w4#`3+z4T=4=W3|m~g&mzp}T8A-)6>Ra7ySs#9#lg?3Dw^Pjtv7R% zs@lC{b=+LV^!p&YExVYQo=Z?o>ZyJgI`j;@O0p-zRtK%>rC3=kn<3|y#tZ@ah|-@t1IJH6vozai(BL%|(%rc+b#9W4i3gi?AoZk(W!!jMRy;SKOXuFq(SwK96C z>7ZLl1Z9!$(#KJQ8ac$2LjlzsQsUwW;~H2G-IawM4;v_=yLMYtf9&lw@|cC~NXvEn zAD=;U3$HDZ-L$GRb&Rs6ulWAPct>-$c&l?jpZz##-veYa5uV-P}n|V6=!yF0uJ=W_t z7@I9;`M+XtZhd7u8OG8|GDd?O@@R(P5DvvIX9mpZ(X(E-t{u+l)cg^hsUaXxSjg?5 zS_AQ|Qfx@ymu+ICj3A zQ)z`L#GJWYB+X4MOan;#-A#G|Tb-?B5D86#4AaQSJm0fa5w$Dy9TlcJ;1sk%=N$d- z7cn7C=*%K>3a^$bon#m7?C3PVm3L(z7emb4Df3&*cXk~Y({sRPG^P$Wp+4`5HfR;H zrBnin0{SL9TtBhBiE<~AIj)4tIjS#|MM2IbLHyI5K{r*J@oIr*ZQ=-iT6Jde{(F}) zXFbEUfdBw7VE=!+)JWga%)nOP;eYk!E%mX41$y}I6Dp;>UJxz}lL~aLA%C0*njrwR zh(Lo@B!o4_1Z;5R9~sGp1Csg?4AP5PAu|g)j@uC~$FmX8cMo*qn88m@zXW;!8ApK!+)THoOo*S!Y4mQpa7$om=&6 zs#ueBBr3((ysof{BP}@$6wXdEsI(6`7X2oA9SqoV=~pQ!ft*5#Gm66DU3AOzf!By$ zWzhV-c!+W+zMLr>WTA@O&f({;v{KCQuziuQLETeZ!iNxc=DSow!_Z!kCRi zR2kZ;kB7HUfWP`WVY9b^P^k3A@eKV(>9-YOlj@Ttli`#x|=!Sbx;)~q3tVLraJ%bSDbBJh*k7^KB6sqvTJ zfC8}~wN5+qurR$7OxcQj_J*rPN{CfT8fo^ZE{o#hg=%T9p~#M1UwPl#&lVkhB(ILE zx?sB%zA%7>g~!ca8KhOWaQq~fz-cQ*^tri)-5%l?@~Qah4j_Wcb=$aOC8aV!iTsnQ z%|QTA}HWZH20naoOdnx1F- z5IZo5#T0uAYHN>4r8lK#s5ntkUGHD&e5kaetj?H5(h;gvbp;Nz`DP@Wd1NhVbw~$O z_t@o(zr@FfkCVK)?_{krpIm)!kB?4>q*2l>ngLJNc%`jeSgLu|(~#m9&x$;1EluDc zaHE}}jqBLk=`Ka?xFNx}sD6LqZ8t9K(BUwu*VH?lV?9}J%&I#0w@dTIqE^AfICM@iqvn5QUCusn&Wx8u+>pGUve9teLDO$E+U4o?`iZ=C95`JF14&Ap7XkSd}# z%nFClg$YXp{QIdBBwEfIp(81RXi!YZ7JQ~a;|Uc|H6aiNnNKo={v-+CD~~4cB<-S4 zr7axN%td&%G|7^V4HwD>p-6%pYgv9Q2b@53^>51OJj26L(M3d)F$kC_(E%}1oMZyv zN%S@f4{#TmDxb23Wa5Kfb`ub5QEPn&to!-8}042&#Qn4gU^N;~F0rHP+QkFMCt@ za>_#*FC*)65)t6y$)%pP+uPK1z)U-)oLO1FA{gxEJ!1RE;UO%aht~&nphAbnb1|xg zwv#R2jCyIFu|_ILr5(Rd!sfs+hQTtDTPD;B zZ@i6t7~9}4x^~`-$m+Y!glX%vC7*mgov!_=Y4gLG)B0zP3XE#A7yamkl|g}_f_;!n z3DVS(X9jNkb3VoU`*LC>{4iq5n=$AE#Y{@m(M)~AlbV403n&H?wb7IWiuwu0wErbh?OX~DKDALwcSh>bRB9tK~ z1&V6FsmKsSZipB7%Fu5cCGa-nPg@|Kj!b35Ou+4@r?tM{RBTq*BXBi!^6~4+&XC^E zK|bq87gX#gj@#{nEiTdU)N?JfW@-=!C_+7S&nzhC|Cb@Q3!)56r3-+^q)SQ2Oq!SG zFxL-7th6(GYO-OKc>+XLmLcgY5hRHmPkKZH)@~+qdF-^s#;&sYV2tFb3NbB#PG+w| zn|{L2Dl>4pyKQLc_R@FweY)Ck{YaX^g1(az6@wQO^C9A$pG5Xiy&RGvZ8B;)o;8G46`EFAltuLml-+W3}P|QKpsz(YJZNoW`@Tb8~t**gfj~ zS;a6&D0<%0zPLTrv-5S691+@d{z{F+=K9f(wvDokgt(0!UMc0){Z+ zTBP|iG|gQ0VbsO#>Fsd5IW)RLF_0>B8a&PcrQC$UY@l>$hE;bJw6Wq@ikmQT+zfr* zUjprdKD{ofWC74`#g$o$VCc0(uVZO4PzENyw8IKLlPlr7PM;GZSgrVEYC9zm0n?uA zKx`$Q$Ttum6K;}|!<~+dP#$Wfsknhgdy&kxQ9c5L3&1++A;oN58v2&yJONOn6zIa+^@OO6DF$P^j)UYorJ-r4!j6GelyB%?;J zVvs)-$+B?9Um{fdlRQnmY)Ffl@S`p{O8X3+yhqaH>PM{FI6|ge=}}p)-JdBz2@l{4 z42XS(2m~d0tZk!JXq*uDG2an@eNR?m#{%F_F5OUZhzI*gjKb?regN=6bpKhQF#EXv z$WC!m*CPi}*2*JAgb_n{p+gSsyIt{AM_=?}eQr#xxsXsn874RxL4OG=*A5f7 zm<1^92Zw*IJqzY%LaoeQJ1m_h9}*H02Y8NUMrmt))w3Ro%LjxxDy-1n5yT-U=8e3s1n-=w}`O}pt7-aE|Zwc&|2K-o!!c1C# zmj&A&S}iaWu9`?X*j$nS){P-6=t?%!sL0bdjxV8&37}jmNKCok$2d!nG~jQ^gKinl zuEbRzD@Y-*Inf<$lFW)WScoy=khFHpY^V4*`cLo$Ifh@SXz zhWE=QL|v!JS?}b6`g(QzJSP)mjT5wne>>PRzyGuEz@pJY(rLkJ^r9<`^TVN^-orn( zt4oY3aWKD0u=ThvIEhr!f80-@ggy+ksu@*s=pq*0OM!Itsg^t7+WgV1AD~a#FhuXW zv(+A@eS;Fts$TO__6(qk;kdwh2|Z}&r|pg(1X0tb^FO{JH)mjWAAYuyZCtbAe~N z=fCNHE7v5W-fmcZ1Ehl$?L}%M@wK=8+v%yRTe0pV2g=8F=GiAgYVPd)l`R?reX}z< zgN<3do6NL~SwWP-7|eSRjcip#?NZn)$vdVNrTU5A$eGu;+WI+TmKc%u-fHn$IX}Ly zHjGDTJGDFH#ps`l@u}52Lo>^fi(Rz&&+0hv{Co+tl4^t#?jJ!>GrWgn@XAkGO4%HmbZ+l zXLXF@Y2_ya+U+21Bfi_fXIio7`{t+qn%kWy2HCrVkNnWY0YPMJCYw*oF1hmWO~1}2 z=2mu8Nuy>VS7c{mBoq(ph%bCoTC7Q-I7!XD5yc+FDqU7+-}DBVD2-Yh&#I@z!$YU- z-!6~W`?1WU0a00}$n#YXewCO2svDm+tsb}M)4dJTT3reXRS2^sy7(wK`?jizF4b<) z6dIX;hM*6$X%w0QwUT+&gUhSJqq*iZ62?exmjdS9fYcBrivp{?&8%&14w|&MJKTb| zqzkI#%UTS{8U&`?Fsh+4D!SMsE8{qbX9bhJ;+*m$%48!Ml8Vd}oep(&!<2W!ExRhr z7?n`8LaJ+thS*Tg3RKmKVENPFa;%|Cq#u`TXtx=ETA3ziFP`@-EzAApc5^TFVfmS| zQI>P~e`4RwGF@5Mm4O49N)+AmcfnV(@5hJoTvuHsIIh{jskRldxx*s4Fe1huM=q&| zHtCi-00nlrU!md88N{A-C-QNC%|kOOq8JZ57}`BhDl?NY-cE_tHx-g>_iD;F&MW^$ zigmh7%%57!qGZPEk8UXy;QSDq(|`m4DWbE}M8*@JZ}wDa(}zo62T9VvPk+*dbLY*cQ&FWPdWMbw{2 zu%hW_{#5ehulk41&~o05S?tp3@c@kSjZ?o0^BZ^tgkQce%Et*7SM_XgN*OQHTQ!R~ zE!jxR-XUWr#}jdcnNw|$M@7I{Ft7!VYBY&TwRG`%lPX#FinM@t=d$Mpv$r}OKU%oj zxv~vOi#N&s5dTu7;+GVgHGF*Ub7%I-u}BDgbZlUd7Zkh+_u4{LLvxr3NTUEtnbpb` zs$_O)d|xJK!)&Pp+4loj(vOlsMhHy^?VzDA$KisBHTeNTfF1rj0t%>M2I4uXiwJ^c z(BHtyg0(+6xb!0cHn4aU4#A}%YgZ5^Z3IRC!918b9<8Qvc=%q&-o!6_7PkZc52~sW z|9GEcpCH{Ssf9C+2*V%*(-Ul6FspMlkDtsI0MKPQRR0e{UIrJiz<;RbD`WM+#G3L1 zAv6kK#-(109uAVh>n^Gsb3Q3rj=WkOow{JRBl`R0^o186NGo;ccwAG zGr%iF`RJ|VSDeRm2xtOl*P|-IMC}sejKCCQh14Lbz}Oyf>$SF&1L}C!!<4fOV7Bwr z*~pMFK})1CsRPsvv-}Sl_ApTy!zK4V^(Jj^bA*e2<)djLPUtN9sBB$YL{$mVr;*k{ z6kA~dwzMTL*9Ie4{CoC#B6)yGFmp@l1$je5%SWg5-1y!#Yt!=Bl@Rc6Sou{TaymR9 zEa2Nr|B95wZBeeTaTi~iYdz8u!e4FZE`4DFa-}gvGB8`abX>xV>(cWjv*{F#uA33 z05u<}CWu>J2KzP}B0Vhx+08wfvw^?=4^0BNJT{nE6CXp_`eYK3X@${4LF~GF;j3=k z!L4FBPEEGf+Tm-gEzxsUE@;d*1{Ad=01i<=hPbS(N4-KZQDCM*>=N5+F48IM47CJ)}xyXJ08BD<~K z85raj#af^q(UivLKA(-kyC6#=VZLF$St_4E1EA98R-+K}gnNF~WfuB6)V=%|Alg^v znw0b#Yp4_lN!uG606j`;6RfwzE`?LOR1`y?hK-u7w2Q12Oq&~JDKT@jcR_+df-+Rt zlwfcf-TU=Ms*!$58c`N6ulrmrY!5Mi)G6p8i4~+Ox>`fTlgIzkm(SY-h$ka|Dhegj z35ooN>d`Vx?r56huLOjYAdC1Y%1DOz_>ryH`jO6zkBOnosUL#kf=yRX;RY>zy5I(_ zR{47B)H^)nNe9_7GZAVb>cb|3e6Q0yiY$GxJX8wuRy1V<8vo0cCFtA)Yu5JAB%h>% z=L!=EO*#;!;?**hlHa>u+#^twA#hi4*DRH`!eN*UkJUP)V&QT5;eAR!3b|8iCy6%o z%Q}G=#wo%ha_29-n0c#V4vm2I78H(Ca^5hf|B&TUR0s--yNKb|-vq%muA$TfBuKA7 z(bITtl;2y&8J^_f)9PA70o~6B-y=bXA0{U;W0()_4}SjjQD<0RlD4a}-CS}V@r;Te7Z}kS+WUve`QT*Q)pfFXmR1f0r@eu0i z4d`DF>q*9X*;6TuBI z=dSpePJ#je2r2>mzxUqeHl_~7j*kB;&S**gr{?atsSSe%<8yEq!zTxW&1%CZ#ubgr zYzr?p#M&^Y*dJkX!IgF=$qw!a$#H2koOu~KxSMqA2#TYsc;hmmR&_`hKXw_nYNJNW z9C7Je+PeBeaeVwn;igJigHp#dxl)FifjmFGr<@?JUSrh6BEd-n$=86&Q3QKX@7H{j z8Mnv?ETdT!z1mIBqavlA1jK7yDOB$#O6DrY>Kxrmmp4e4CwRwz;MRIbxQtLiZK7qJ zionq8{d1ckq0taf^*rH2IzROoiLmia!>zHYx!L&#fg%}7iZgEHo(8#>tgLzBGK9MQ z(~Af^1P`sd_l}I6@hIo>Dsye>!*wqfgpJx&)|X0)Cku5&DP^h&{m96eJU2f#15--a zysyMqb#Xc#k#gs7iTX;v`fVNSwW>9FMTP31EDe=LZ|~l{5f!^7VWN@)s@DRPmFVHC z$&BPLCz~Mj_P=!0k5TqbKbtJ30N%64b&)`bF=&+ut@%b-9!>8Ycv72O+?GL@#{9}Q3uy#3V2AWTZ7B~JSZvHx>Qp^Es9vWLmI|oOVg@!KwTvIi9I*t)`nnZ3i zFD}E>^@t1(0~Tv77ExF`OxA(TYTg+WGnZujsyggTn-WL6kea?^DJWK_kTw5V>~a-p>Pnf zyQ>~9mi8wuFQI{#nRd_r%9;U8Nj8vPSOD&Pp2ggRA7F&Qt`QqX;+i$6i{T32K;c$O|PhR7=uuQl>rA5GN#PdARa|NE@1qlaXO@Vy1GtUIl z9xx{7Ca#+bqmJMeg!})Vj^u^n(;?c-MhR|$X3bd@FT^&b$b);yytobO1p%JnhxT$K z`mZOb@Pc}Yq3m~m<>7wpe{3E_jm#sw>hNBRVK$Vr?}9x6BYt=ByXVFo4f*3K71Dns zF(I1Nu7?gy@3LO7!^H^dM*$4zjZPi(;w>81g&Ocv3F$%bAItNo$unIbnOG!0>YPy0r>CDF755_-Xs~?jrBXMuGr>lXck<8&Yw zn&~G-AzzAw@4685ZbwV zQ)2+fR?nMpf-;W`CYeP)2sB%%yRmiP8GG{;U?7gOG3Sj)%~i!-00U0iHxI;Mw@*AcveoFkDCzD{YR;({k`++F8MoH@eB95+-YxD)<_C?*MtVLq)3t*)3+*;PkyFN7A*0Mc(mZZXFyoS%XoBm+o|cxjk(G&cc%T|juQDp60ZaP+My+RRO)NuHyTLhcKf zDTaMv+&vTqWNo-;*EtrU@YA-hMT*?}&ioYo;w;^aEsYG}+dZ#sxAq3E^E2zn4<)|Y zDp7o@<#iD{#6hyl2vM^UEOH~0WKg9qRMQMj%peh$VEAg89^`>!-v}J6$*rLWHCL#L zH*W~!(@yYDees@B5baGfq83T-yJ?;MBM#MG5+v04IoVfbrW8ycvU4>gysyUK~mj?>+G9i`SE_Or4Q))V`e5jR4c@$iIbQ; z8V3Diq9aOjuvmW#Sd*CHbM-~Qgfyg*XBB$EY+{_qUnsu#x2k(-ZwPv5b_U=DiaPDW zD$wY<6oga6d0GfC=Ke@W{uY1kG$?*!#E%C6v{uP0onwkw;52lPLX|lsg$x8ECmo=b z6!A-y-tdiLh$bCCPNjonywq77j(s2OkR_K_AMmmCuG7XN(Ke=-6yB8tD40fXg7-%i zEkAmt`jeJ}ZQae#={4Ux0=9|i@7y>1`S-3Lz4Q+`1`Ybe?xkXXyoSu}C|>3(TUlR{ zFD>!4Z_kiR5w`nb-JcPe?~6t~GE+;ZpPC1kb=%L&k495rXvkWS*DSR@&8d)gnE%dv zHv;Q3ntuQQoWTG9VE?b&WNm9>YWu%=Pf1#KgYWm=Syk=Pii@-fe}_B|vYc2&;EW-o zifk<9YyO%OMd|A%+gZvAJ3~aPlWpd*%l&4m>VO^BZx7B4XN5ABb!|7kk}=lAj4f-A zuOJkW`!JAP0iPjuncRrFS>ufK5Sl)s6VVr4mH`k7IR^5Se$4&Pu+zkPkT0VWxw|^# zCj_csNl#jv^Z2qJkFlV57Ku7z)dFw|w+d7fBu_`sg;GEOO3K|nMJ)5fx)QC4hI{3Z zE+s3S122hSfHSCiUS~1WG70KBCD&)c{Kh8*5vZjdsE7HV;_NKY~71DD&BA9AWb3tA$%8uTQ~t6q%H{OPj$@!{vFkn zLbk2qrm(_{R0)?VR9yyKP1ShHRc7Bb%Hi9M-GD|c5(4G5>u-mn^i+C*m|{*rF!GN(m}H5Idf&cx|F>w zfmPXUqH#F)r93y5zy6rPBIcTSmpb<8;^pc4<^DHY>iT5Igl*yOXiFN-9jKt-LkiM` zSk9g!(>qtHb_X{AC6OL&5Xesd;3t`q9sroU*s}fgI+nNsF0n zU7wFbKEOo}qF2D;a=R*V2$+@ds+@ z=aToo!!T4^E>GZB^|Yq_|AnEuqrKJtgyEHjyW;^f^3T8Aenq|UqfHnBDU;C_bBafB z=?MqugLrEWgl3vr;?}7@JJ~P9Trq~FnGL;m?xq_`H$LxYXX+8w8=l1aJ8}dVv7yV} zo;NW=-?JI=_A}g^&)hk~7IXy>uR`&AImSc81%j6R1EVo1_sVH7V?l28wBGNE1$xxP zv@j&#y@Clv_Ng68gG%yidR^v8X6_rVEJ!cNvI=XrZdJf=P!(UhADWBcm5PayQ!Nd z3wE{EAmZ=+p~U*WuUf?)?+=4~eZ9tP{^3SHJ5D>7s9zKv35P1)Tpw0Wfa$I0ED+&> zS^4lM`08t1aPZ)gaF^6$YJ}?{AWSqTv30SdYy4Z)Q2BY~?>zk}`w?rCE3|1{TJde) zO_>=i8$()hN)PZ;S8TLov=DYkUmVmgjCynF70@8sQIa?K`v#-8aGBugs>Cz4$%i|I zecvt}yxY8-nK2K5JH=JXfI{rFYYX;OFQSqyH{61lNZ@M+P-pN)Dt@RH&QJ!@bAiu4 z!44r01#d(P+Z-BtH9Ztp6tN&GZ0M^!EFI_vNw&xBMC=)T9OsDz693I|j^1~C>NPgrWHk$*|c4$n+=`fly%@KmJn6a!|A$9W$3ID0%E zAy`91Dg<~C!hIPQg&1otvB*HC@y;LsC9>=x=HVPL78+YT(@iB3mca3-83h_ObkxGAT9a6t@B% z8e^FSDH$&{9`YTQ#||Us{Io?YtumIx@Dmd?s6Dru$tb2Yy;H+%CC1&L>+rvSC?kSH z5bTQu-jQ3EW*{-$Wbhz93;wFek{PK-o1>^SmkxrFX3JpeD+}i!imI4H#z;JTus>jKd2_EySFbyHT0A?&&5dI)JIslqG9|HU z4woqw9E?ws3zyQLzo=lBY*bg6w{nJz0kk#Y;XE_B_21*?$XEgPV*6sIF6p1{w-iB> zZ`?0kRkW=ew#Jc);z&eM%b16^7+}h59&IxrtNOIRiu)SJh(jnNshnXD~){~U26B_#&y~w*x zAXl;*#c+B9mY_n$<;U7JdQM1VQXe(y)(M%If!pS)ON%{X)mv=cEOxd-W_WhLsoS!~ z!}TgDZeo=bpq^#mbNtai5R|-24w$h}=Bn-DylRbvBZc+-ed%`PBhFJ5CE!|S;o%PO^Ytm4{blGj#rY2t&(})2wl;>e zacyMzZD~$5#pfo2z}dscg}H~Lv!f|ydWJL=pWzME2jv>&`C@D0T;CdZy7OkRRHDlX zs1wv~&9+-*g5(ebk6f zkdU;#7fH4<2<>i1d+xR|>Z^vp5wBb5T0*IXN-k3;7T75U zXyq6f(c4MBGlT_vX*m{Sd)whTW@!JzxevwRi*9x>CxLdT z&XpK?*fNm`@P9FLSj_qqHCE}9c;4iV7Z&KEDbVM_t~$R|_%!%ap*_6k!GwV@fqPb< zK(lMmdKv6iZk$JZv4Fp9sPceXubw}Cg|byk7*33;<@)!kwN;SDne^rpy_a(JZPuBY z4D*Tcx+*;M>;-eokYn1eQDysh8DQKzO9zppVq0`2`owmmQ^%U(ntfsQY!u01Zg&fP zeS5v_5mEzRWAGRU{t*NzAgvt~Mt|-hst^L)h2}>2rjV$hzIIO*_^#%Nlf|ABeMqo) zyGLY(@F#`|&v@9`_3LNMK$XI+GnT&?uo_!7NR2soVXKG*FrinhZdZ(m8@J+3ohGGg zqZdhn-MwwYdqC>rUo5z3xP1P$+%#PvRQ3x~a8(iZnI2d~|BQUmD#LjPQ@pDi83*xH zrdaNm7g1xy4(hvt&2crVSpvkjKx8^LA3eMYs%?rQ$prE#HYZ^(wC{7$*r!@Qh|Qn( z^5$%smQPAo+#Nio|CpJT&W`mvto`7)YXB9r)BXNcG#lBN`F|R_2H?oLtsC36ZQFJx zwryi#b7C74Cmm00n-foLP3%na&wJlP=2iVw-|eoh>guYs`rLcYy=U*U_B!KNgBdP- zpPjth5{kT0O4tlQzRh87PId`+RM%A7XCHfVcz<^D)h*o>yQJbY;4_E!7f)MaD^otj z2^e#cOzUrBOyt`>W8Pqjvq++^+et>ROI>X%b*c@_I@a!P_7Z`37`k+3LH|)~Rt#)p zL~}F=QsUDqdK8Ty>*_0^*k{rKnVG?Bn!cw{hgW}NGxRG+w`A=5P0wRyqVB)>OSK(6sppEe~mha`xe7dU(=Cbh61 z7W-b3r0hj7;7tVxM89Cpl=AUb$6;tXPbYBo9rWk|f~bQ@aXU-$Af?{(_O45peF>b` zM?(mw&tSgQj%~$Jd*tif{s!u^Pe&FSM`&7=S>JZ54(zl2*RBF4#z@7ZN`37@sd*oG z7g2?h>I7}2Xfff~4a>Fh8t!m!UUsE+GfPQ;*;USgb8oSS`z&h$ITt=3>6zdDf zrSE*l5XXbx|D-$1XQ_t?f0qTY{#K#=JLt1FGI97T*}1MR@3Q(^Y3xN#+ zL9Ty~LWJ2XOen{}&5X#s9BOSZbi)cBpfr9O)pSPwJ*c&bww59C^Koi!9*mM8oHojk z_$O^SYq}2Tg1H5I&Yv*5nZW2nYT=)$A{>2?VzIo**^o9ue_4e=creDDPv>|6u61?u zanJf!RGv!XLddsdV|fu!Q3B}M&>_T9 zT5R1*7a2CPHnG|y)avBcuFy!Y&;xtO_5j?uTfBdeDr>u|u)#>;VVur@zrAz9uE`JX zHFCg6NB9o77Jr@-Mc#RHZe+ZbD?g0dMA*yArsR%v3S*uY%Vk#F31N5(d@u#@+IMJvn6MZmrI1>5R5ZuzfC zVwugx#*)R=;7wiPmva~t2ZtzQvk;JhRF@!2M}kd2pNpVU@r|BmGm76{h^LFH90o75 zSL!Kt!*LHQ<4s`R!!PmDUxGGuNh4QJd>Jwk8vS zbcKpk&ZcLzv@djGAY)0YpxBa50U{`AiU1ql{!xt@2RZnqOz!$=iJ{wG=OMFW7NdE} zC4)Z$R}P;^#%o|8pqSso>ECi4dvh0hS2Gvaf5xscDs{1_%t+@Cv{mA5Q|-{)k@N1B z=xrfK7$WC)2$-jf?zNq>;%y|V1p)JFY!Nt-Q6L3J)ms*cpl?A}KP99Q;vM%hKHnUy zu!>T{PleK;uz;9^y5;}SOiKxAG!=ocr5O^)R}(Q`7YZ@~ccFuZQj!x9!PAs%9WIQf zF2;9>Xo~1ztt>CZn=ibff&2=DN>X5Q+Gu34r2>$bD%02IVQkJv_V4h1@#@rm)%AlvLu+B2=7O|=Yzt6_Cok=Z!j$0htl-L@ z{yB?q`tVxbzYC|ShrNOH`9>}D!X7{mZ|(s}vizc~_j(AafZUowPo^AGQ9luYyNppl z@6#t&9Rm=>+S2BxKvTCgdeF2fJ+$3(^B$g+raTegizOhZ%+Y5&P>$fLIpbTxlpgib z&)F?6HhuiEYTMG!g-O$tRC~wlVve|z9R5-=kDeE=NrQ=)XUfKZF6g&dx^lyIZh_6s zL*ht`cN{-Hey|A8>H2(Qffgomn z@~)jQuL}?Er^BBegwj*Az2tZ2XoLd-`u+ZA3D)lp^3T4ppgtMZ*GgZ5XNi z9~hc`WSZ*qJ3&a!IR)%oPNuwp`(PlAkg0@DLIGeRcw1t?&;{a9o*C}#zOX~mG7am> z^>iYAXhx+TGDFt42PP?y84mZ z2Ult|1_tZ_+ODo|hB`O$AB=Brr!L>xdnb~k}f2JG&!o-jajpC=#@XZSvyv_@5fg=X({3qL$}i)&^w^R&MYpIW9_yiIu-Fd zcPY09n1GSbvZ%w&)s2wMK=6|*4@3xX$_RZ^2}VdCBTz=RH0{4-9%P<361>`RkOo(t*3X1l|xZ zfxCMWRyy!c#tPx#^YI?JT&xBfSV}(~rS`IN1GSW|@!qHmT83+tMcNF9!|HT8C(43b z#Idmt_OXeflgoB`F!=%yn2815u`e}K#rSG`A%0|^EyvV)2$Wgk-jzYpR4xU_%qqtb zR#L{bEuOo6c!4ZZE?IE+4di+^T%h2td-(qF99*jdE)9T?r9q+#&4eUcn7mMwthDL3 zXof_*fZy!c^zn7Mv;@?eyB=;_+Boc9S-+2$zCG)(O)!l122*}rfE=G>Jyd8?$ko!e z)z{VL>Rf(*^D#L$_y09?a55Z06NQwJ7*0dAxDTBT9k+@LQJ~JCR8UYK!yQAyzwOPo zUIOHPuZq+NPa;oc{Oi}ar1-aPzwXbT+fqukc}?POc=*7g5!66aR8il11Y@q5eq_P< z7|Py!SLEnE3~rBA`(2e(H7OJFm>I9ek3c*iWyqPuK$Y1PX=^58RQpAE)iYqF5f65@ zepaqGI_p9`t)fYlCufTCE|tX~v%TEPgoQ16_Z{QCn;!=TNojxR4fLC+w@r*Mq%~xx zsQ1G~O+&yA>s%nLAB14ZU#xzTvz5UM~Lk zcy@F*`72$X)UMpmge30mAL=g@1<#6RpAkp{CyIRXt&xnxOPm(>`k^X2T~)QEq0Lus zeE}Pqm?pwJJW}pbkH2YQ)^mNKhFlcecLSW4%cs#$cb_RZ3{FpNi2%?2+dI*0Fi+u9 zUsz|v*S1BfpdE<0M{L$Zx?9Ug$|ov|FB69&ZWfJAkKoW+;g{-RSnu(NE<&ed_#7ud z)E?}bv^!^-1z42RBIxsE+ACw`I41I+@x0^+SQFWdSf{cCN5ZnG3TZH?!@*wa*=NTu z3Yo#_*$fip1ow8(lSK;cW<1yBzB@oY^Jjd~xwM$l>u`jP=EIJ5HBX9#g{Fp+)}xU1 z#EHLV&!oTnw8l1F^2}L&Z3?n}oRtdZs-lOV*1licvh`r(M3;1OQu~83oLqP_>r5d! zDI-(^(&Cx*f0DuVtrrp_P(VPn~J~5!n~bT#Z0R!fbSIA=trTw zhIS>Uda8|UF}9HnY!bl`o8vE7gsX%=pYNSS(hSa08rmpp3E0|nbeo@XYn%~{h@65u zu6#5bW`maTOt*w{ORIvwjTo+=HR!bI7fC~DVGPu-P?)=E$=ROd%59>w3%?*|5#`$J z_w5s5c2b0OESq{U=J%AwUOF!wy0no5L`;J?2ck|y5PFkfl6;CSivQJ&e9K8N62pIs zQ5%&r;eLm7ctHh9MFYF$$7;Z?({B;HrRDq7R6i-19`j>~rNq??*^pvtT}NeD!(d|J zp??81n$NqA#yO40;K z17rcWVnye&y&Z9@DPeFdTH>Yn#F2r4OUB@Is#;%uAc^C!5V&Dy4=52RsGlx;_-?8t zN8_B4*K6)QzI}8LcTEy_fD;Ncgll51D9No-BPY3~5W8FOK3b52fW;Ae{^44lUGmI; zLOSXPVOQ9kW!2D{I+SrLj=>Rz*&XHJBP<~gP{lf3qUr>AnuS$rkni6(+vE*SFOXb% zJ&@2CWAK#_`y8N^e4%^RkkdS`=%j5I#Gw%sg~%YGfu++=RVbv8h2x;S_EF581^|(e1Q_G1Dk%!#g(cGxqYucNx}ZQ)6zC0q8tUG^^q4TdO0j1Vab0t! zGZ2PVIPanCS+9V15SQZ+4@2ln#eJrkD}ssCnFP=}aJdZz#wZ>oubLj7u`p=>yQU^< z5he;DX1Z*w)_R zjEi)1#vtBizoM;C_+Cc=4#PxrjHp(NZ6u4Ruymaba1Mnh(j6^uA7f4fRuBYI8PNS_4N(!|+HcmGM5}P;99v zALb?#9)QaD7}1NJ)#E&t_PaV6&`i2Kw|d9lo6LwB!dcx-s>zr#R4aX^~@jTX&gM!AWxr|{DTP7I#edQJ|Soj%`nekr;}_t!A$h`poltYz|exJjDUFl^YwN zpy`BS@x-E}t%f_(I^dvbk?dT&|Hzf6XuXUR9z7#Wy0(PF=9>b(mGycRJ0?y!yY(ve z*?0S#a(X$(b=#&)^D^$KiOV`XM>mw^ds}b&`d>T1*_g@V5CdXeD)=#DE`x9{PytuF zhpK3haH;kxN9!9eEAA9=-!>tk41Bt?*tKTJ5xGSlxJIfo}Ext*7jlv(V2>O~o zkjU+6@1dr~G14be4fk$rEjo^7hDCYUHrKFO0AFK!Wq2aAik%Rdkx?71qt`R;V}q}M z!#7QdnyvGM_BKUeVWugU$X}kQsV`rs=BC?6pPZgVPUw3mbFEqdb=1BSH)b_AD7=Aa zg;J7pV4lWnYxFr&2>U_jDCQ=FD_1ljg`0nc{p2ejOOS8StC4D8be*^@>CZ?QE0E)|WcU`4B?2nJT6WFN_w6i7&P0+Xo~9Sux%OX4@<`wc zb@+(W=Fe4vzAP>4h%waAMowBv)M_j3E*7hKleagANhm4C*{V@fjUKQlHjkR!ytzR} z%|p94DE+$H+*L+wT`n^XBjs6X)wbe$70$Y}_QmWzO$IZjL;lVXr`%2um@wPGw z&jm0X-s-0F^iO5ZaIYKqo~4`kUmy;HuPpBY!r6BY)1|(?b6JzQv85g|-)*4;2_lXI zi9!r05GtkY9y^((1RC(_?q**%^3m?ZGJY1puYYq554s@N5$g(3^L8lEOu}NOAT)Jd z6VeZJYq+yY7Y zg<*sNW6yUEBqe!kc>EGD=k3ovPSr0`qt_xwKSBNk*b_JSQBV0g6LiKqAd%$*nI!Jg z+-r5F>^n}(cB$g5kPe9j3UeqcL6l<)`u$=?-gE_+ROj~mKzyPAAP7HL%eYvO1SPnm z*X0w!+!5erN_udK+Vc)r=5$BF;(38@a;f!(8xr^)jq&i+$(ZjNnVX)%8(C^I82{4;hLsyboxmZ2GQLjlN#mD|sN|(%`g4MUrnhNNFj_Xjrn1 zowFryvFo%L|Gix#=yx8tNSF-y)1~Ix*<@H7-K?D%!|j`L_nkfe&$jIz zd)=Q+X z1nOK*&uJcON7t@%^xSNPb1}=?V6NAGnGsLdr@;#C8YCLk6nVQ-;SQNqy7O~C};{aaFQu_jp zAfhc@*oBf2S$iPRd^d&*z-C`)LtAx1B^{p96fY zF7`R4R@=1#J!m@cYp2=uKg0kDSfc?IXO7V5;{oztR~L{DNhCz0xGV9}#Dfy((&8(IR*Jg_SmU*EvL8eF|1 zVTBtK=y=wNh&J~nWXr{9j6x}tSbQ{GvvRjR*TjO^z^x|t$%m+ zO;$QJW3c#pM~8W^no4>N*C(O3FJ}R@5MLV4qRc#vV2_sNVFK5xx5X%cmwDZm2{cAn z;^YKSNT=Xhgbk7cMn|Z+Uf!B@sNs(uyV|J>Yoxf$A$*=-){7KOAdOP9kXqEJb3(f? zvdX24U89U*Yn*`AoH}UN$y&PK{dfuP!US{h?gu#9ARqJhD8;rb7-yq&u{Ek&1h4_W zI2RFi_5EIou`b~ z7%-~r71TxQDp`jZlja0eNXy6;wQLyk$cC&$V*=u3c|TuIWFNZQ{nD zT&&C7=(aRXwk+@L)EGG6OB(vkX?$(vbd5ZA+hMslqPQHPCM~Bet%G|m?fBKUY zv2hSu;(bv8Gs`6!U_Tsu31*LrP#|=(x@EByLwNbqc8x__@fJ$X*O+O0K%-KW(pcDu zB>b9g(0ZA8DK;jqTb*fkx)DE_?$*W6@rG$C6No;-$4bql z>%y=M<*C<8MGH%k`BbN@r38{OCGnl*pBVoDvb2x0q^;==I!IAUx~+m0Ryusds) z|6+GN%oAt3i^{RAN42L&d|+!L7jcy~yli467s(UD*NI_yitZBg;-ti-e%NAi!A$t*X321ZR0hb#4YHz0qd5 zV)67&0${~qV_vynuYGPUKToHoh8q)BooOv^$A%6lVNg=wStoL>G}E^GrlodUqExe8 zQbL7OPW{b#Tp1@!0w+p@tslrfRcq}{|%v{Qe90WAbEk~ zHdA`Fq9kiUU7k}FP<$e<$)ws}q2o699Y};74W855x;+#Z#wxNWQY9BLzQ_ICks>G? zaSI)s$qgz&QXnkDpUw-<6Pc^Hf@%Sb>!He#dD@uB8zzt=0AISJTUIak+_M(*NS~V0c~zP-D4 zRE4^xRCH(A*AyEwcz5dcp=w>VJt0T!Pi9-ftzZq(dWWF7O0$((Ha)gr32Vh?@XE$R zt^JA5#tkHyjiU~&4oKVx1DzOf81i0@ecEW0yI(hY z_pd~vuW)#g1Ees*mJJAL4w7!@4lCmj+X$jxffHc^+WLBT`L0$SlnqmTrxWlb`nQt18(I(fn`=tq zmRnWArjlcD>>e2F*)p)@oawyzC8SS3xS;rQ_9E*OO-v3WxI9zMUFAo6AD?_2_Am_c zUDAlgFt=r!yv0E*$4xk;3vW^Rb37AFNCb(9$%uOTnFm{`aWR^5sECfA3nBJQltVaG116xIoEeH=uT4980Z)e6 zNkRVaepHzBnKk!dlg+PPM3fXGLl+#d)Vs?nys}@b*6@Xg7K&b7UpESawTIp9L*3M& zf61{d<)X@uQrk|R&ha!8(#@HAg2IItgLse1ocvBJjKBokflHcO9K%1-rdkz652mON z&erD_$`X=sK;bC(z6}`B&Q-m4BvO1@6OyVjM}XMGxT{R)s7*% z0IFoejhV}NV;EB)vLBU4+6>frqjxv*?-OUt#$O5KqGj~1qO!zTv0-wz%O>-9gtW?e zoyKu{w-+pmFPlD((Obg>pM3dI?kScNm6HkeusQB&FZ-%u7s-W4XkZZ3ov$fvcFaF0 z12RrXW?I})=#?fOL)-8Gaut5X(jER|();JEL~rH$dqXqH#2p%$?@y5Rbz{$G{LI#O zzRMp~D|3mb@0+78n+L59E}OnthY%B_Ha$Pq)u?~{kNmj%`cv4a-*aAMrvGMBU7Y_l z8brrv%BjZ_6s~Z$5!X1JXr8{gVn!~lMP=Kc>6`{C2?778=#T)LD z$`IWmMm9F&;$_a4TW6xRSpE&O#r>297GvWYDzx;|Z_^rGPr6#2tPScssXda&GZlb( zfRAyrddM@z9mfEQuI92L5Q!L8ejhob2($^>Bs97Z1mZn^O-$d6eX*;#roAXi+$nPy zIV|by5M6w>Qv2PQ8#~a*ZyRj|Pa!g7yEr!=w0v?Wz|*3_C|ZenExkH^hluVfQK<1( z#Y#%F0PiMUIDLjAU~m6Fi~iD0(Zt( zG*uT@Djgma@Y7^0P@Jzt5kjM3Ghn^27*$Yup2k)= z%3%mC^>_EGFr>hlDmyqoh$H}6_7^*kJwnVDA}te=`k(TB2rFq5(73s`@-)8GuPd>uAY{}^-34^C*&$> zlIiq=u#ttRfU#VvcgI}|DO{F-ur&l~@*mr_VcujG_T1^lr*-7D^0az;o;qG%YU`hv z4~E!s$I4<*6<*hQxn+w5Pc+aDEn3kftJ2b@cJdmrL85C=qqfg8Q-_77E*sj+H>Yg! zX8KFcN2D0tc9nrs`rWqaM~j(fu+^RBvN1Oi@+5LcRlxMa6n&zpWhX9RHEHH{U)N1~Fn(on!-o%03j9eh5_h|eY> zd^_@J|9Uvx#{Z~t3|T&fnAiNvQPT`+ae6VGNW?Dx8?cNAAg)jmK2p6obFab^NmDit zjO9uVeH-2OflglkD-M`HQcMG&)H1FqNR7H^#7<2fBgFq#5IVrZejs60Ag|eMQjUq7 zDx%LksfX@q5t>`evu1u^78h=9*S>v;ut}1}P|Q%xs-Pq&I;V;Eir?L_3r$HWmUGhOnm>oVjZ zS{4F)4ATKz8LcpEPL>HvtuXQ{0vGNAyfV=HbXeOvGi>u8BTQexv6199bHXdCWk@C* z-7rkpVTGvzh7r+J}Y>z4WPxC=oprU`V0&WwHr0*OLldlz|pMDi6p41 zW(GH{^+|Au;oJ91GV3FYeoL?>d3|{a-YJHO-N20uB2s(# zCim@lqF$yrnyItY@ypCh8i_e(d}d5Eto!zFtbtYs5j}p+-bYu3EPdXhKRvrjSr%g0 zn9C!Ay0R}JP_42ush^Q_wia}AT!BxDdh@^TNaZjtX9aTrF%X!lh7RgdlISfTFl(c$ zJ3Onp2$4EyCdyYe@V%I1W4g`{teimz4m_b}Sg6;qFrrb8s?f{0J1d?PCrK?A3!Y)b zRLL(ilwOl9f0tBnANyq7D9i@p$RKi4$c0R|lb+m{P+_K|)z0b z5j(~Bh@(F?@@!Ap(nP606ORmcMv>bG2Y@Yo|kNm44+5|Lo>ky^8&Sa28!lHO20n{iFJ@xY3R*lN~9i-TB$rzqZAz*ML*D zhsqs*DC*9BCGXQriEA%C7BbSpv> z(Gxui`x<8~z4<~hg$*<{dn8i^M~>G**U}M0%u3ek5sJ&wgH+~GPdpjpO`W64tGvax zyS-8zF~hqkOX!>59Q67w!}fr$P<%UhHkB$T2kYpzN2?l4>G}nzL^&oMp;gFZAC+L@ z6g`-Uw{mlv-ujgt-@@ZYNIMDCe9`2Qn_H<5j}3RX-{b54{IKqe4^$4xT2SHeMXnYU z^kehw6q%+7v-j&gx7u3cv^ANP{++8|V=%)Fw>zqy`Q`YtWqg<~Qi}&Aplp@y$Aa`U zb`ppPudPFZ;)7KQZu^$?0Dc3PEEKflm_MZ5g2M0< z5ze(n3GwT_dsa})X|}$du(Xg)X3!y~;c(iBc=WIK*)9_eLIg2fqrH%!wIbCIn-Xfc zzZhfuoUCql2jP6;Z>WTDFALgaG^CHK0w+kiz6`rBaPwR+aJL*IVSq&twKARMo`F!< zbNWkvQ}K9r4vMbbk>4|9qC#g~=regAAIUSE>z>HvrSteQUWw}0SPt7{fD%1i*@5ai z|6KdXZT{MsrRQLS>^uTR{mHl3vL3B4xwHP@k~(r9#Y`fn1e<9$x3Ww-QL-o`mOqv> zss(&ARcIc)XDVTPaDHi!zjlnQ*u8r33v^J$KIUbyibTF5_xH72xSbOX!=IrtmmW-< zR%~Aq^#{*-sM1L~7E>6_{d8W4nZ2~-RWMqgGK?tBWNbcF!H_s6-DRbsh?Fp%;i%WB{FU_L0tF~Dd3SdOlWdCO0E2uU6o5KSI45{ zo}&_ZvSE)7rt(0>V=J@*ww{P7PQcaaLCpjqj55$BlD^96{qT6(3#2lAW7W+db>-9g zCt(FMEy}^UO6Je3-u6BX*~TrzHz1mJE7aEeE{HmMy*cBXXBK#OIf8f-z5XdR4YxU4 zt#~C7%;MlGdYtg^C7+_-@m?3V_hSvWgBbZ=03;{74mZpzei4phpb=N#y6Eg4iFgn1 zmRYsvW~QAfB_jf+|3{xmN9$f5q*vi2YC_>Ya@ zM|h^CzX$)P<<&=cZ<4>@|1iM%NTJLd|F>H3XMz7mic9*xC_a|^e`H`i_V`|p2hUOuAx$^V7^hXUp!g*@=zy8?f%FMXtNQ~wvme^#45;`jFby(at_ p%YVeTGWrYu-;w=CbTQ}u?_LW2TVVwRg!uba{o6Ek*XAGJ{tqwx1f2i? literal 0 HcmV?d00001 diff --git a/agent-common/real_project/sdejpt/sdejpt.zip b/agent-common/real_project/sdejpt/sdejpt.zip new file mode 100644 index 0000000000000000000000000000000000000000..9062b3881184468880ea472fd9655a7bc2545fa1 GIT binary patch literal 29173 zcmY(JQ;;azvaZ|aY-4uMwr$(CZQHhO+n84* zV@3CD*&uWrX7J&;cAC1=U~Ia$RDwD^}YNroZCvR8m6hW|5CvVVS?Z^S6R(KF^u zn}@ZK+t^|prFQf1%iZ9wqdzF8p_ntfLbr1WlY@cx;-E3hpr(vZG+fkLRmRDakA43t{*O zfg<{uR$mM_{-{lz3;E1}C}{Xxek z?%TS-UgMRFY+~Gr!PoQK;oDcsF52_Y4LWWQ`k+c983|W?yVYJpG7a$xjqB=s?NZAGRGWIdfXfumSJWqSWjob zZp@$V+-aRYbY5;>ca~3i%#k0F>J~QMbl>CNZ`L1o57FuK!dp2pAF;e&Q7ZQo6{Jwwccp70u~RP>mCbt-QObjG;wM$<;w{WX@!jf_ z)zjSv=|{BBY%Z%sqkQffeU5F^t_QA~19Gz;JL(jYSRyMz`#Wt_kyOxonw5W8D0bIY z)%iZDbzu=hIu^XI)%nvdW2L_rAf*HKkipf<9j|lAlN@SLtuJm}@SmEq;y$3wG^;vx z&&&)_lTJDZdOHaJT$Cvzo9|6|KHGx`*dHc=qYO00BpPbm&ga&Yk~G=}chj)~(v!G1BIX+je=@FeYDFxalKW1zyaUFO41T7N%iY9W|T z%{E7Mq#K-@+rE%-1R()eTTE`TkZtIoT!O#Q=(*|Dpn=tW0{^uW}m?y){uuE*mmbF896p=MwaACWr-dsE!mvZZ;F4ovId z(_vK|cgT?8B9a|FxwLXvDe`u3+reH@e4#B@4oH9kA<^oY&#Z ziUyBqxZO;!MUQ0`FYqSS^6D$-E^PM+lzK;L4ZH5D!ac8!2J=KoY_l#h8=o#kx53~29x1`agKidp-ek|Fv zM9lRXZLTt0fH^P*)cgBPT=0NC06AQD8xiD5v7rEp{Gccd($}ThZg^-11E;04`0-5q3;((`aX=82Oe!Q8o z?l=C*&g&p-%|gc{((fkuf{5-MWU62*17-&pVK!^(e9q1rYwl^QNwVN4)>RPla3aG3qWqUX`(3aGH(#cLVm!WD z4>y}cbkp*Ex#j$E8-m_=gp|6W3Bv(asF%z=ca*^G4K}PqOQEKE+A9`f!N=@HQWi=v_$GC87H3 zA&PEv?YQBPaq%1h9|6fn!JJX9$}oe9ywV@ z1_Y^BkQNbUD%r7xz`y@a5aifTcNG-<*rtnrj^M9gVAQ7l^_lSVsAJl%!&%45^@;fO z71$y}#HK`lpuY=-LJDLUCe2leAD+y~`EF*~>C67|b868?u;WOR7TX&*@C?2NJD{idN9&yjynXAKh~lj0~pwl z=wc3OAS9wjc9!1gX=?Q^T0JpIhR<9=#|#SC>$8aBB`J`+>e^8h1847Jp_B=fpX*?x zY5U(J$Ov&W!qR=0x80JTGx!^5xIY~#m$|%HSGaMc+f49ml6S!S@U7(b2TiUp z*xxH9_jzRAPRZxYE9NLqB%q{JsAZoAf(;GbFo;q9rrqS@4;L|vuW_sJzVgM1WJcl` z8_cI5qGUfVlW(Fi@*&Vo9npwQfD8Z3tzp`@@BBXA^K`d~upT|TsrJzG3VBeMN({sxYypO$UL8O)5{fW7dT{==vSQY8#8P7w6=+S+Q7W>-2 z#46D#ad`(CttiVe6eiDoc89KmsS89-Vp@)wg#_4TSji;vEbwQ_Q*T9koI-^r>th%# zQ@M^rS4oQ(`!I`3z8|cX&KNZs0|5eAsrD2{GMiB5J!hf!>j?xFo6jdlc z5C2m9{n?^^CGBXmY-s8CF*m__8U_gWBWojnrab~->inG`?K*hYwPe(a_x%FuX{hUDbFei0J<8=gTj><*OXYE{it`5U5n3 zVqY>{+xoP@bXZBiI5U2^Ei*sAYrQWtbYE4Gy|QC>*+%@EppNT_NPmic%obnm zO8ol_w4~G22&;Ko`pQmygJ$^}67>$cI5(sQ2o+Isl$teR9DOc3A*vs3q;`GCx?ri| z6zR)L91Cd(gptX3xFhnXl48hGRuzSa(BnTC`LbNJ_;<$T;DiDpaIycUnx3rQvd1>i31a^ z9w?@yu&BtS1bdxpuU=UGbMQ*bdFHiPv^3|J2$C`@`1H_YPuoI=&Wj~6dYl!?s?spB zx*Yv$r5raqJ7CpYVek9Z?C)7*PfqqIUE7O$#JnWgp80<`~d|e*sx+J4V-Z^ zP6+DOV3E-76diN-^)N6w)5Ch{4eNKGndnrnuHf_BEU(w>?@F%I7?ERLq%50uUpS^s z2J1XLG>i#@hIDF?@M-oN1Q9>mLtXCG?}o4ONo%#HJ7rrLHrxZcU#DeCsA#tj;Y~%& z=K{EXU@au^@NiZQ?OavGhI48yqT`5U@{D2&?1{E$OQkN3*d*TilD zI$E!4{zJy~C!~hbQLTMDn&q(kjSP=G+(q<4Az^dS8!;Vye4vZC*>xp`!BX%0#gX>6 zB=~&qjXl{h2Rkd3jHB&uxTkf1d$4LXardW3yu5aow>DTWw%7EE?3eK{zUa?d7)qqX zRtx|@rNoJYxKP!AvcnTxPb%67U3AjQ3EaE7_lu^FKGPyDfQrA>0u z2+|RRxmAz5(@YzDTdex9DXw3^bt0YBK;i z7v;3xVbL9r?0+d(8xF5sslWgLr!)WnKSI{O3YLM5wXvCrm7eXt8rEUjr2QH#g6}nF z5Xo^oAiqXR8V*EWFC?C0mxDpd%fx8EBECaAAI!DVtkoUzjl7T&a>BwjZk*TRH@xBU2J#{<*odQZV{w zbVKVtt#A=Uh95bhOj$Mdb+JBPn7mSl$HHrZIU7#}%CM(BVb<`lMKVaJ+q;|x&T;*H zf8>fcaeIlgkhBp#D`MMWW>zPM=0y!5w1-CUvL+6rs-RLhTt1TnRQY|;eO7OH`BmsHDjh*280J3d z2cOzSoG6@b&BrUO`mc*KZ^D5Zg<{TZIw_{OOsD}~C{Km}ps)hY$f5n)!_w<&V4Fel z#MD9%;~NZH4K*n%KnPI@j|cymx2-Bz>IK7(KO9?8*HaP;PnLxPp=X2%igvMYThhJC zEk~-ZeK#K$Ce{XX5hH63BAl8a4ZKN49w}Uq#c< zs5BEnDG16=n8G>6coa4_FgFUy3DSwGfIs=uw)aw7RR+5_ectX>d+eu>UWMV;%C3e( zBnLD+y8|Wr!!i^iGx=a_2p^b1F>}NbvUFGaS}#A{EVab~%F{A@qjvmB@;aN&c*JXa z%t?vjowgt%SD=fh&9WMeC}dil$Z>15Sw0U_Yn-E!OOGbP%gZmmgk;I+Ob?v&EN;P9 z{RKO>inx_dk$8$;T1M4IB?FStRlEgI6;Ja5dU|mlG#t`shG3K z5x=e;i6M`DWalYjJ^G7t}B3be5RZud&U z%m*o~1a2o%zyQ*qp~4U+lW+vaQcX>|3))srl9bY#;%%!VgqSt|lSh0{;K@hC=;agV zwDwVV?ot1mt5VE9IywGAXhe&p|6|HqF^(GPT^=sc5jI<;jKspQm?)yC1IJyyvcAVz zov*OgxAn@0{bQb>8RQIuk^ZINs}5tYH}HSwF(%Bwc{3;g01fv4<*}ijgQ>oap8bEc z=uNfJ_<34{&SMJ2-5yX54C8Wi%|XB4;Z%bFXyF0+%}9u=^zqmb$luZub^AoM!x+Sa zd*iI?Z8|)U#4*Qi1nIT#e^8Ljc$Y{DP$UX`JBlGoBZFzhdFMmTF(V=^%4c*13` zk;0Ce8WLWh*#X*5^0(jyr1igq_b7qo^~OP#LGxyRBF5I&D|}etNF4$_ zOhjj^^p}P9z-Dg^f{UQoLNvzqQ_g3=%yv*0KIB-E?xK^N1^GI=%fW>_+Lpn6sA_ z$T@N+BYc-;ihiwdz{(TxTaS`I!mfP5I^aIuqi|Ea!c#|p+0Y=IMu0&`7bfgO7+f}o z^<=;Zs`4W}M;gOT!}cxaPQss74*-Fh$K>n(oUt9vr=_ES_fG{h|DKhlTn+yj4QmzJwn6?3Tt|} zDf6IH4>Q}N>xqXcR@CI#(B>MEtmlw5rPQG8P26IZ(zywb9wvBl-bk9KKR9|{A08Zk z5l2cjari%4;g&RGVX@>^jX{Z?-zjjZHa0+j!jH6v)URP{r#Tn8;Rpxap!x#ES+Aeh zpiiSmt*W&>Mtd+Fn^v~*ZI$GSM$WGl;y^0^)4D^7j1WJQFiw&kV|n0HZpET$+>Ly$ z-s68JnDCz_9~{$ZUpv;u@Htj2nR*&!B9%uin-&bB3*i^@`}I-Ai#M6o!$gn;QlS`= z%zICQ#o^1NYCs|mFdnB10woIFDUBp;C+?t6rp_Nw&4zn4)yWW#4i(4+f=YlMXY@QD4j3|XP|>wcH$9gQmTh+ zBUC0-k~Q&$?Pn*bWE`ywm6$$AhO;qNF${2mUV>GK1WC~DWp{e8w41g!3C!SZ;zCjy zrOSOmux@GsWV;52ojb0n7N`N?FTa=20UpGkP71)Vy(|HVN103$YB0b-yH@gtzm6H7 zq}qcGe0hE*x@q#ZfG(91WFw+pl`Mw(pINXLnL$|HMwTS}-v82Xj`Y6Nyq zHl5sXIGxsm)D~toNZ2bTw`Hw-Ip;f7g0!*oRMJSJnxl*4=xmADA}7cbZR+(-a=VP0MBtsZdq7(b{@_WxSaowZngZ=vA@H@Zq zp`ZF3mYMza1@ynK`N^YH#@C-~z8(_*0QP^{H6trK*Z*{Cs^fLP=nyvVQ4~tCg7`pC z%Iy6@W9B?)v^|rJq=F=UMUCl+(;{9}UjV5;ftSxz)VzbU-1<0m7vw7(QO63W*)~rd z>9f`?nJq>N;KO1Q+r9P+wKU|HudtBtrAdi_BU`V_(*=<0;`l$)^;$;oybSnK=Lx4G zQs^<`ar$Vft?o7y8s&HKTudCjeLJ$!rS`IsPy5gX6#58bcY5K9iq$=IT}rJO>iGQ& zQ4icQ^2_+T(?xecl|U$T0B{*}$nhD8b5reS`=ALGw`Wd_*DW)SfhkJUC49sKC6MEY z52?UgO{Fi695-25l{fBI_tOAk^cU@d*Ci8@k1ay*kjuc{E){F^_EsU7Z&wvz4wC zrMJr=O9V?`f(&w}#afNv@K%7+dfb};PpCLzTM8g-;7|WU2I=OyBM*{p}h!m#i0V?umOVL0h`wCj#!F= z4|!+!D=^ z9&C(5<>kz(6bO*n;1B_626$-!Kk*C4Nu11Lw6>!|?`zMJ`8hXhGskWV=gFs}#Drj; zBiRw!T0o7w$Kvu~AcJJQaJwj0(s32LSiId$zycM$lkG_-Mg zwxv>%Bglm7_AVymp8BHP=fG`hHpA}{EsbDRGa97=f|LkCM*{`LwZ6 zU@4oG^{WTaSIFyUbC2(G?3ITAT8$t~T0&Na*bmz*G7_$vNjTbEk$UPRkQH_%8){YM z>l!Cj(8LFkuM{Pw-yi%wPZT%gYs-U4AI`19)95Tp#kV}GY0do`>rdyf3eD4XiEBgS zR1ZD6(CeR&;s1`)F?73p-dI&Y(TK48#OkEPiu-aQ!xHI`AHPkp=}Ke+14YizYH=z#8fE zaO>pWXWx-Uy@j~LlEwH{TN)3LLpQUZZ(>)M1Vid@Zi{I9;Xr5_t*q~4kV*-C1bkI9 zuI#{7EWD2jPjX`4jNnepV6eC|SO;N51t1 zz#C}%HB13jW(M0jGFylJomJ~#G9RzIXE-CM?wm2;;JP;z@_W75EZb{$%h-zZu2aVI zeGY1>(zn}0Z@|mO>LSI2I-)8HMdO^I|AsQ93f5-4)28^+m?XcaZr8FwFDC$fifu{c zNYIu8yJ`HDvI}nKtz_m||Hx{JUau@Q4c2{mNXE@&ppOeW3ik$&3mbvIaY|M@D%$Yd@<|7I*z0`?H`%^Rlsh-2HxL9Z5rRrzBS ze)BcBgnk^DJi=?-d(ye~Jkcka<%_(rj`pD+-mlTCqX-5mJUv8;9QrHUON_g2#(*xucq1pG;(cR!y?)Tr4i$6)l{jdJ zq`At}igH&0IYfD)X}PR6w{LgrNvp;$!B!ln`tdT$> zswAd;bMZE{)s~ti?-!g~;-ZJRii=fn+>+E2di#x_Hc|9_@G4#eh5N*X-iq3;2v6j} z;YEIE%pe!4vd#B?J+MfgyyC^{;Kh}Glcv_hRpmAH)U;7T1}<5*bU*nR3rzPNUeB_{ zex5^3b-~#0iS?2rCMi$v=gANicpYvxhsT>)BsUSa3n~&aoU5fd_`lWKoE{H1m-Wkk z0~476v&!*q`WxD8%1OsU|F-Q#3vcT1y*AF;iy*w!+C&`PKg}u~s*m9FKw2%yp4q0L z1t*&O8(M9sZ<%L0r=5o^BXpE#YLglHNU1ssP8{}Gp%7GeRF18_OYhaCc<*hNrm2r1 zw&s(`A-C1-ZLX!(uVjy79q$dT5`WTKkf9La&eI?Mt}@SyQ`5Et!+Rg-{+$4*LnJ#G z*AQ)El2cGXj3Y&NpFvN~M1a3s#(%*XvP^z!yhIHTx6K#yAU}-eyjhwtRIpUpQH|m< z(U%c4=RCiIA*ff z!<|06#XMM4Pf2{}vU+=6vjWvjN!|VQMYRjEal4;{@m_rSGHRTQ&fGvMghckpSk8;} z&G-<_#}A8yoLY)URz%=nX9N0O(E}p}+YOQO5AM72YyO7krnz1)*QXYX!sQg6`J<%4b-?*ipt%a?4_CyD~S2Hq#Va_yYxhScr%XZ<=4# z<)+5n9Vx&}E2VYaV?w>#JSkpr=F*d)b{{{G(^cssrkDRt5-v+O3U=yKD1HEZ|{a&zI3b;_erW) zIcaT6-+XcF8Mas%Pjp-R%^?VZ7V(EqjMTd!hSTL_*&~H0*F=rTGo>QE{1RmPOo+k= z4`JV|ZjwyPu5ODkV`mRP4BJrie{h$R(sf%etgrP{%uUn9SqPyHbshXL6|zj#6`K`D z>=&b+v(b9NPm1cHmA~E&h@^xg&_rwDFbhNjq5p?YUSYTxCDgT*fas5?g=Q;2(<7rg?OMpe#N8tS&;{Ni2nVsy92zXIuoIxmnt;TE-!V1^CuNq;DQkuZ+nFdnxr za|DHm@I&lujBj020Jy*Gfm{}8B1U9*a97`aZM`duP8uiX3FvLxug2%WID5G&um-7u z@`~RE%1WC+L1N0VeCH9X^jaauQ@~QS7fX$;A;(#gd2|{1+T_s@k&s)eQL=cqRVP5oQS=}Q3xUm#&bG4FnX{=t18u_1Hn=EPxrOw71ZPu2|hkPy*r}Zmh;TS>~Ne2)1Is~ZMoXJ2V8p}`^S51d&?pFLbI)a zxR4v@$)*s~GW!~8c`IP~d&$zlPR>qpyMRaWFET_jr`j6jQd6E%X34=M6DD~DYsNM& z`LuD~4ilY>n~s%HSq5}0^95ph{KFFA-zOSqxp}UMhk%&OrIo*Ckb}C1%XSf~FnC#o zSdAX~%JLzdm{VgSVDg6gd9dxNj#V3s;N;?#q2o!>s@GcB;y z{)IkRc+wMH!eM>X(R9l56*Zj$9IF6FI^r?H@yCx>@n)@WF3gxOEz9B@dQ>$zGSu>* zao+qGkc&~F7E~LNZYBT9l-y|R3`^(PCvIi&w~M36kP(*TE)EX1wrW-?Lod)OvI=wY z2>v|6H2CD0@ab2$l%q-ne^5{h&S2{{Mb!=2fI;gNbCE?06BXV6M#YOK8OX|)Y5B#A z!PcPfKGP9O0hAx)lhkTWS%T%@S54+SSD@-=)kZ6K2gbQl?OR1rcM z%tKI-^xv@fC4~@0@!ty!p`t{m*Lp>^f;m;tUW&1i^AXX*{4H|5 zb&}U9>k?0L>v^1>)^v(U8(*tK-&NZS+>*ob|EeGPP@@M zzf(~nAnxm9y*so^v%+JJy%uiOPBv!!@?##gLb#GGq3%?-V6Im7NqB#s`=<&_;2l|N zr5Y@Qf!Qf%#{`)gG)51lv;23*U5g4h1_KTNu%!a>;B`bU47j@Yj+2)!W z9W%5j6%+!KOtY1Qbp7*~D!s{yM4 z&NCUbp$O@pLfJCq~v$RNO z?>k=;`l$D*jFGpx7+gDMU(+tyy$_@1pTbVPG6zu)oQHlMsFhdb?-MoPI{4X;p5)!m zRHggbB@wQ!w$h&LI4N3$X}efY9qt=dozvnh9pLy4_^kTgyB`uLQRBef&Cu@B{5`Dw zWCg*a&8+U*ow!;24d&~r;`3+YJ=FT_bNG#`*6=Ssr6O}?Lb7#e@NlDI@oVFag^}<4 zya;^G2hg!&4i|L$VmMxA?PbkFG!9>7U_^KZt%q@zOkCo+HY0o1eKj z9{V8=r-AEpfG>PJ))JUVZHzl2k09o7MiF=1TKQ>bPcCbAEIfo=X1d^uq!ZlGGJ&fV zPk@~atSk&vu!VWFLcV&m$rN)vxQhlgA#Y-s8+=Sq_j+_Bh;IT2q&V-G3gr-bK!DBe z8CLieHcg}+DpL3z<-NO$lyV=S>2i6?U5sg_M$Q1C3IhSWRTEwM>0my8u_HWmdZfU8 z27Jry0_*I{U5izs`!*M=k%TS-o-+Q(p!|h@vqOBhg^MlaWhfOn6#LS}N3oWT>c=jB z3*!afWL?;uAeJ*|n}a%o7}&nT;5?1>iu=U-f;V}2C-}&rx&tx`EP%yP|gP?NPW)1ZkA1d4ZCfKe@;fBoW@bp!+4$S(Kmset-1+F&qEjEb>f90Qhn?>|FlDTkWQTzA6<9%?s5D%tA^%8AtnNR?g5V?KhPgfY8!hrtTqKeK8}-nR}f zLDVwl`}kLP|AeE-e;b7LoBRZssvH8UKM6~xX{1j<25`UQQQcvV6!Nz-+s$TyP+ZW_ zlM?FmBJd#BG?;#3%~|tIj8etZg-n4r=-V5(f*z_h18e1J+}@O#?up52+lbtfN;s>Bpc{4U%j3%yi}Rb8!#mSQ<9FLY3C3Ba$2|wbVftd`(o1^$S$v*}6n5;>Y`i(%+8|0I@^)NGe zZ(|=Vk?H^l!{0p5x7m+dcMKb$Rfp3~*aAE^vY}nxC3L*#6)UxyLn-wVrZ8XNZ&49@ z2R!MJaZ4$iBI6sw>9gT!ds*5TFY+5t#viqpU+&IH570zL&-FxuRo(|x-CqGFUq!|> z2?~xk0n0CCwJ$B(FN+$JBtkGyHXtvFs=XRQ0-tdIT{%-gCWkeE0010+swdq4XjN7= z)+RRpshf&YHfy{Ho%a-#50+T`Yl2-xVv0iMJwW0yrmFBYlip@7Qb~%R*I7((&XVGC z)teb6&RZSN#!GhC&pkJ6>cfp=`IouRBT8{X3Jn@lH6*hFfH-y9$YimpLRiT3$?8>3 zzwN=$2etfoB1=+ziJ(M49a9fD0S(rSr22R;$P+tALB2pD@D#KpH;9d}YO?F{2yqAl z3U!JgDcvYjOi|n&A(zWQKrJZu4i!+%jvC3dCK~RPBf1qWbq>76-$2e`>Udp5ObVeV z8ezq;p$K{3rKy5t&2jbLAk3#|-UG(T<=4fyC}+dgA>o~)xOpi57`LC)ggXbL1-3P$ z<$}jl$V<+Ct0*|OPyYTr)?f-^vQuYjOREW)ZPj(fge&JI*(_oPvZ`&sT&+@4`;Y@0 zt>)q1d0qcPm~n0)Znj1f-u!^BMfhg|j2%MLZkq4Lq_C0mzGO6|5NWw}h$y={h9n>=Z{@mp^l)EoQ12{woHA|EkK``2=5)VeE4q?iwk`Jq7 zKfv6X^HZ&ng(^Xb#Q4nR+S2i&!?ug{i(|HfgSov@N%P#0`QJ2DHOBT)ji2!(>3Yml zJgj?697v|24$ZFgx_7M#PqD>R|8YI8F^V5fSSNnJ7nS<()oZYj4 zZ0KzZqefC9?i2anEAvY@AtiHw$$6yU-J|)8h4cDq+or*QgQ}3~ekc$jS(Owi?PowL zvQRn96g9&Z354Dxb_}~xtTAKL6>V66nq5mn{H5gOZH89$Pn)b;WD%x6@O#aI19>LcMKSJdBu-B`=Tb=)td>+cS z{O}jSxZP}{LBf0i3%>r5=;S-4RM^o#S6XVXH-&s%N zxT+kV&4dLcMYEVo^VoHUApP$lm@*?EeHBQzq`6MYhKc+g%~i;_J3naA-mlAMv4^{Z zKp!8^QR{A;s3(Uhr((79!b71Dh3l(>ig9q=wd{EU9B@l-zIY!!^>a2Z93sx*T1@pY zT|~t3#zdA5R&@356?NtB7ryqB@6vD47TE&p=EY^7)}7?(fznZ=MaMLMUp0k#3wm=Q z`?Q4ty@JSB=N^7_f^9`PeePFS-T8}n4;MwQ(G6alN$k5;si2+4rHu4B0GvsV5;_z@ z#~mB+&st&SEZL!^UkP|Vwg5Hyuf$>pnqhRMpk3#G_{Lcw<)9G^so@$!LN2EUV++IQ zMT87|w1%Vte4$8oIUNZ-qK;xcu%IJ~@M}egZk(1BWbrvdQf}8nR<-N9ttCT%3=-toTNP z5yB=BprF+NU}H|J!SESno8#E*jC1Hf)f^zQaQz7e>?oJh9LQ1DSR7)Iy0Bz0$N;3<5*!L4)@(wd zzI6SqzCTJt>3#ZnE7waY6MB<6cv=-WZwGkeh};0EBJhzi7$2@Mq+X#s8y_Z?VlTHi z04-aJFm3T@Kq%cJUX;kE%vx1%u1+7+0}cd( z=uX*?fmn<$)5Wiyy<2t}GR0nfP-lMI;FnT)>l#C*G$`O=Sn^W1ybfQmQsPj930`es zkCO9DS&t+^mAfu|1M&LRnNo?Mp2619yya3!RhVSgd@d>@>3KAfwJ0+b<;Ic$aN;a!Og$x`>|Y|vW>C@Mm%f*dfFMVRoo@-WK~nmK&-f(4bg@(I zA_;jM$t$YDmVA2OttD!)vZVq?e98=izn+1!sAzGBFjC~M7hHs;q^O#Be(8VS^>$rZ zuVwWLNeh?`D56nz2KCpi60)@=jKYt46%Kj&W}r~jf|G|^r$4dL#`MrPO<>*s)V`F@Xe26O9NmV&vt zl?js_;EWuAXL&xjzt+y{A zahv2nZLY-ew}bt%IRc&-&gW-H?$TR~t1^<`r8-ahbCWkcs(6Z**6TRgbJpk4={ca+ z88|4~9f|PK?$}l=E9_K8yG&6M-?@`L6OFCTA66FyitSr_4Le7X)t@>NSqO13kM?1iwX&7-HQZL+l|ExBcqmKR2Q| zKL<>QNO@tu9Xb7DEm3m^p5Ok!ntYE{{N*7lVuJx4M1lrdu~czZW*vD#J!a>^B<3(N zU52rYspM|TDhLpjENZLN@4;rBPV~*WFA7_5wS_$nutjyMz|h5(j)+I##>{3i?Nv}; zp-tp^l{1>3r->p%pAEfi|5WBx=SzWc_nHG20>%XCT80M8sz&Rfvt7P+8tK6T`Lw3U z1#Z54diQR2S+Rg+$EaMYeXCqu0j-}-YdqF{E>qiLo}NxO8y~Bw#6{1VH^U4*qV5<` zvWt@j!O69-7fvj)L06e&MwA5B z+(x1I;~b<2#>1I!te0yDjtuN=^<#XB#>#ZY2(x-2T+^zbwJdZR%hS|V-M{gpJp96hpMdl2 zVTnea@=t0xJvvqzY?11WiqomZ63OTEgr# zyaGDbw07_8idIIO8$`;RL8dkid8BrenaDU=cZ+6xww*C$Q9qxbKj-{^jhzEksj-hceaY--Z{@9=u_tm%%B07u3+T)nvBFj^bzbq^YsnumSX&U!w!6o?NFAsf zN>R5Tj!>79S({;4^c!=kSkdAk4Ae4m`+X8PpRS$ut7bsEH3e1zY!W(&gp#)Mekb2z zTn8B&g=dm>C{~AGI%3`N5uj5tId<3g8WV04oJtv}4Q(Mk(zlf1$U-9|hDS?2i*>hKC|P5w&!4Y-lyz*`oGvKU=9At&4>u1P9V079_kMim9DAEIQ}j-_&w(PayuLNnU{(3aoQcFP*vx@Q>l;NAGrV!{gs{`?&&{-2^2n~XX((rYw3rRSH(cpSz zLg@zu5(KFU6W$@_BpQ#g3|S8Mjxu5^FUyMK#=a)B@<-y2;tBA>TE*b zQVO-Q8@z4-U!gE^647`{Ivdc^NL@`A?tYY#odcu52d9bLFCwogZAsG({e61Qmi-)N zCj%I*UnSI?BFxSUF$U9Y z1=)|51q}j%5DMlt5PUFkC_*iHjnSE_DQh-Pieg-%dPo{~%53vqqCmf%xsll_zFI50 zdWlM6i5A#Zs;k0cVW=@=#W0=rw-e}sKZNyc63v?VTIyYT%`CI^IXux$S<{P3H6N~-7bMg0o9;&Y}@9KgatrlMg0&?0c(hK9SY zi`qB*2o^?r05-Mx1)vpt;FBkL&~|A{`Z5T8wO^7(<6?MAv%qXR<8LM#^()>z$v&`~ zb&wAo25WYrz)sqen9H0^N`P~j*EZd4pt|$BG?xG`{k*@HPUqV^AI_LY#)-`-1 z0*x#vl`bQ>6}Z;xS8Avzi zNQVQgvE1zOkaSCi>{LZ@4<&uAW1Y?7k+odt{H~FO^?(;cmNM;E>$`F~ER8U*B=S-S zrkHJ@U=q3<%>|c`#46p5H0(-NN8_C6sH4EWsF7)t?jrii&Odt+BzubT6)+G`)bHN( zZ>Nu~sUxkEiKEj$N3PLIH8CiRh-VMfKSWx`+n_naXI#wDT7wSJ1<&pfFiz%Osyn7c zT8Wgu`^~7ZgkgtAfP6o!+%!u7eG9lc7nMMWv)fB|zu8}67NUe752iw90x=49&Rtbc zO%AFz7KE^->gUZ>5j0)n4=@6Eq=AM~kQNlgRTpa+$cv;b{OlOk7}mvHUYdtHlXpV} znGb|Q^xf#B-oR{AsX|7)L|2oGwKW$!f`O3v%*jCWOo4P_0E&fu}c{zZTMQTZ=B~gqns~z>jSw#O%>(wn?8C@ZSxv9xXhN^0A z@Stv0d||kAjq63~$;#KvlXAVtK2!HVR+k>u$z%serrFAP=9ss$csx!++kl;Ykzg64 z&&;+3Qa=w4@w?&RAT%9zU)c|Czv9%PDAM;`t|zdd@L(5bp1AVydUK|&Z2Z|i#5*Pk z3xBtbIyfMp-|v4Gcl~Z3|7;p_s$;glo5t^ZQtCs=GEfBm_o}%s;__u+_5x6x>lTK` zukmL(6y%7xc;>+N{C;49xSPU2(BFx`+NGyizW#J`ow1%~SyK!OqCaUEVBUCe?{BnO zL5F`ri;I8+2yJIHjCwB+!pAY1F$}09J}qDKE2UZtJx^<{_5d271tflzxa0k8X1=Yhqu8p2 zH4yUT6+dgttbFZ4uMG!(lA(jdGdAawDn9)@y$7BiYH7RvN~60o4H}407&Op0MTBw>U+^`v`(rq%G3@92BBm=FR{nb)oQUhkIV*4{kMGvjC zW==#qJ~^){r#5GTV=AvZ9nm%63RajgVnKn}7&A3SsV#Rw>&{+E9XMb1xlipq*~@^k zaCO~wajPcBO!InLm0o(4oIO+JQv7ly9{K@YP9^|=t)zk0uHk%D4`$H|uw|MUmI|jr zS3@)l+0WMo;e@pe)12_T#`&{5k2d!I;{1KMcZT?HceZme`fI8@u}!gu0a3)$H`tdy z0-hPwHr<~JP6+9^p`L`uLxdXV`r*g7G-c)Hx>j$UwK*(kLaH#+&~WKX9iGOyDYvz` zDpDaV?{#o)4zGHB?LCIT5I7x`1w34rhIfLgK(4%n?vReK{MLDjfNhBBM=a(8np^X5 z@+S(jsL_K#XS4doM{sD3&`Z@2%=fqhNB$F%&uqs)l&-Am)Z3@(-!aK21kq+lG?#`= zv5jQhaXqB*m=jnGn8!2u217C_@~F@$L&1L4vQCX${%hj<~6>4e3Y(YQ)2zzv)39$q*9HiY}mQ?)5^)*`O)ra*S_50ET|)W;xd z^a}Ko_-?dd`f|7Mw2egM46h;<Jd4%1#CIO?Otu=1Ys8-w` zE-|>xs{<;mZ;(uh9~z=4bu_@z!W|#xN3Txk(eEDe=RhOBc-F9;Ph_9S@jN@t+0u-s z{!BD;<=edJi&ZYisDvSl9?b} z6LLg|Z5A8YOD_c3uzcP^19s%MGHyySQqQ_Vmf=@ON%}?58Z2vF*1ez}Zi1R=Xq;+p zUn;-?m)quFtWJlxFbI)+w@e8#+rXY7qi1!2==jqW5tTmrv%;tDuh0rM&|ND?scu&^ z64rAf&mp!V^$C`ZoxKuAdZH3(%TI{1X)Vlm(X@iR{2^;i8Aru{j2vv z01+&ug4?Q&C&M_hI`;ZIC|vn$OPp535NjU>m&E z=4vnPnOQtbW`hB<;M10Z_v;$;liaR>vPkUrdPIMTnaf|b(0;(dQ-(?mzG6iMtG_Z- z8fM;FIFqE12!EDqWb-4VFjpVEyA>zz!o-gEJzlmg<@Zy}ZX;qCnrmS?$zW;&_d-o< zf!n`(R>y3Tz&L_V01+JU2J-2B?Uhx~4Oxh!(83_>Q7s|HD~Y_iR)E=B@OQ%&<+cBU zb05P#8i32I@d)sFNbGhiOHa5(+lorpNqyeR0_*|lBDZh*D@C^|a(GkO>Ib!+$@VB~ zl@wv?)EN=XS{tDGEKDeO%pH9*$ggza?)^f1R$0b&auyOk*PpJjv4AVX%I_#<6CbnA z(z-@>#DYVcA0ypEqF&Kt*2vgmV;|fvD8H+n17%c5xD;EZ!?pEaOD<%wBgHNi zDZpJIO%o!-?R5yGKu*dAnCFac?9$)k3nAS2b%egfh|-#(wnb*e?IEjfu3%#mhYn^> z4zz?>_9h5`E@#m0{V1Bnp)H)@E@#bDIaOChdjb2LGWyfLO|5DKVv2Tm_>x}rYgu|W z-1e@z+Veek{Z=w9p7iHIF5+5-I%F67a<2A~rui+}i5oAbpDoF9TNkJHsv&(OONmtB zdvhe}Dg&geg5jJR=TokgBohS@`~dQ|l5b=>xI3?5WD3hiHZCna2r0!+iT0hr^Bi(v zJ)FoA=`)FIdA!5K#EZp)diMp$2guM~1c}Jui8tg(hpfqTh%>jPLqDF9hlEz0Ynqxu z4tCzmOV+SfHCIPk;EfXbqt3gR1PkT8ZnZOI&&_)*;tzF1v#b|xQMG#6wqr`-$oyhp zmi(ygj{L7dwF2(~@d54*_>_j_Mr{+tuPb~@U<&J~D_57+m1B@~ktx-&);| zhE;_tsZuMgffFnD0$rSai_{T@UWZ<^#Vv38*4lc^NcUe3vy^Z}cYb;;E}X-e1#_o% zx|F9@o(8(#4cf+@-xe?HuXf&rl@A|y9 z<>towE$UzcyZ34H-jHpw==JI4$k?S=cr4^{$3N{el;ESzc6G#T$OcZ}F7XJG7C!Ac zyp)1ml7;N@xQ>)7#iM4e$gY%n!vlH*YdEmcHK%AD{H_U<*-qH)626qNoa%yf(?04| zBEI8ibemn1hXIUGwAlwVW2FwE+NCsl>dyv(2oIY{3R$Oy0_)`P@)F=a?Jyf-wPwdJPuWmCSv*xh7meP(IRwAa_5;Tswd< z*z^z^|0}|paLQ+fT9J)&onF-C=NWmpHbZ#q@Jp2Sy%90Y9$0lDHbVqH;FpaEZ%1mVp`iDXt=JtHp@iT_C3mT^C8Pg-F3D%M-$4?dw-Hdf#a?Dg%4dsaxJA&*?CYUSc|vJlZB$oOFl@?8f~O-@K^i{D~VgG z_wk0r8A}5}m*oQ#C8GuK0mu>H(Rp($$z|VS2O2%a-V(*`)fqIU*`=CRJNlDnXR?fl z+m{ZO#0(Ek9hQGC|ZW?1l)24O!+<7B$O*~#M zJ1+=3ch;!-yiPBX!>W-YwbKLP5b=cRFsND0U(b zIc-sQg*wje6i8&awJ26JK;_iZH^!;oW~QErYld(Ku0>i%;#o)^N;yN66_KvxWFclD z^DXuZOd?dv<#~ELPtC~OY?)N$ zM%`;`E|zP{k6gdB4JEf5@tIJCZPD|y#Q+C600a`sy_`KA8d6f#I^*H))Q!vpuG=+X zE-kgtgy(qwD)Ij1cAcZv%!nJSDh$gCvhr!b&eDi3#COpiM4e(Z6Z(u1-X3$xJ9wJZG#vPv~-3(%8$O>582)SHw-*EGVwTEvw&Wr-_Rfh;MZG|7A5@Q zBcP2kuS%T56vFEXX01Th2+|-W6R}x^GAkH>o>?kU=oDcPQ)LgdV&6`^M$+8*?!%3D z7s8i?d*92}3i+73OD?=sMn4syjipxE%!^g=+L1|*oY8ay^G>*CvDfJb4?27iY0)J> z%Kr_cHZj>+Jb!(uZ%CtR0*n4rrHG7D=2`Mcl^(s)?)RE-Z3W99L*gvIG6_kkg64HY zE~%iE(L~ijOqdA+`Brbj++~Qfza-NFo zc%O7w-j9@Q;uQy#Y#$8M@-Pgq22Y$QVVR)4f7uvBgGqj&HCh1Ygd=h!KQAP7!zZ!f zxbD=J%z6s*X+X<7b0J;Fx}!m8a$;=Rn>jfr{#4%wE&4t$i;?LVSz$X6cnM~UgYcdI zW_i>8+E8+<~!pDeDrfI`4_2;P8ibo2Fk$6=muO$1EFeH9C z%{?|;1u{36elB%}St%}gJGs-W&`?-IjEJ0F3b|3*%|!f?&*0ZtWh%&LR|NWbMye4k zj6IK@U>9e+>ZccS6Nn?-^W&hQC3PEGc!kYrn@p6=^#E6_^$rT#q7KEb+;5}4k#yKq zw&;xHG!+CytLi|r!Leqdxv-MfTv;KuO5xh%N{Ya2>yl!0O32ArnF(f5IGW;DB*SBP zG__0{9StJ9&hLH>lBhpQ%LK6(CzYosvD50U7R%;O?nEmr*sM&;=WI34EM;bBR8(-H zLn<>YWo%f`DvIb7WVzM|oXSl!Z5lLGZi^JEwu*`*lsf4=U2elM0CtBS*OnjNdB^}h=StHaQ>6vU_(hOw;`TcdSa$_D-Q z>vM;?0xh9c6I;h2zvSns)Xn=WK@l}cEuj?jMjVCdAwyqE$NzB680$Wl!`L!5GBA8= z%?vUXxiwGRaL6HWzzy@H#iY@^-3)T3knI=i2pri7M%ZC>Ap(l0f%9yvN7m7P4DAqj z->vqvckp53<>5Q7C?ej~lz_m~%zFQFo`pc?Be4Qu6=dH5pI|NQgW@*R3$=vE_zap3 zAKuX3ddzb)?IvfM6+DoRBiw!%+uu=lF3{POA2Hdf5jZHDgk^b7(aM>K&h(YRl~+dW zy1^dNjcW+S1Z|*y9LfHYM&>XhA@J(vXnl|tz<)p|kVM}dYW)xaHkmwNn;?9I;lXu9 zG$8E5&!2{<<1f4oj^~;2kjg%10}`1H?9d&;IzdbrFPXciYGKS!5Gld$7itt?q{K#J z&8@&ceJ27xI8XrbwFD>~WqVg!@@a3#%~$KDgM%FW{pD4jPLoCN3_9cMle>VdbX>Ha z4Z31~O|eUgs74)kKvcQJ)6rv#2xLRd*(!|H59H@`<4PX#j0B~{^o2raTR!!Ip-TwN zaY^v|gyh*^TJ|_JpcB}b(U@tROEsDqag0dn(uhP80g+UIm^C8Hx96AO9@PSkU+$zb zxsCpD>SMTY0NP_UVt0K;d;}alb>kiq^q6m#v&_J%7Hrss+^;%GS^TRBnFIjPrWd8t z?zbRMT@LPAP@XP*Eecm* z*l65$i07TjSF6d7p{>aF*t~#7Fkil!gyCtch-9!7KCwYbcabZ)NMtqBD)8-zZ4)2( zmduCM#OMI__jfZZk+c&^@#j^r*0!F@TO1b0cjwI(wYoymh4-q&gT^t(m3_bp+r(?C z*t~B`TdCsn|4gL<&HCNT{=VczVEFG;s-wfdE_kt*epl;UW>uAdL0!eIYe~9&uhtF- z7UT>Lq?CmtrZHQ=^MkI5bCm_irXEKD-o@91IrCA-E*W4^QjquJ$z z3Ko6+8Y;M0{&&)iwi`{gR^~coj`%K7_^DEbs-Kr(lWNd2`W;&@vbOr791xK(W^Okr zy&$v^>KHT{Kg6edo~r2XN!vmvQ*~P*s;seYQcZwhU9!_KTggDWTIvTpn& zNH(#~UZ}aG_7zX_vO}mvs@1frpW6ksmkELm^XXF;kDJ=g&P$zC8J0s7NbL=p)-@s^ z4~a>jHG|D2+c-Fy3x4u?oB{dpSAz*b!{fQo$Dk@ZI#FnGA%mYJVS-}k7liQ-g-n9| zghl@WrQ?=Vu$zT;BOz7_6Nfn_(rZSFwq%F|s-_r%&|G_WuM9&BoT0Rhy-FZjk!gFe z{n*9NXeQV^DyA!+>xExV9goV%xtXIDRmH5k2DWra3bldw7FZVDwo~cfins8NaaNy~ zmrIyRp2&HKhf4yGY3K7zMp-^7iv1~(*At&Dr%s~P1HwWQqy)xvsoEKP%`bad1j171 zug-I1-HLIOk=J#n9hcgk)56u_>2_jweW|H?Y}yxO%^4$wPLX$AL%x_{n+ zCP|r^I;Df#fCUmwjS{78hLJKPIAu}aYNjc9gFC}lY$hz(;1*BX#|2cxedUQt`)I)a`54*O&PmoZiwnqIbcjzDrj41)(igew< zbYpdUUpMEn0YeyWI?V*6@W+Hf3lnY9%;QLD5(y7)j^Ge0^p0sVM*F2 z!M_`uo$oaEJ~kD}_;9yq@vnY;7?qPySEX&rU$&SdUtYQK;p&`%LPuDPeNn&|u)?*IVD5ERG zVZk(4t5tSChz7~QGgR#u$UROsy5ql|PC#rc)9A7lNAQy&mTLSoW#lsBl1g-%@iQX^ zD&~D#1GB%yepr`}gXiH@9#glc(779+m}xGWg|Rd&0PyV+0>vUTgYwxN+D|*(33#~R zXKsGC_-FdX%s@6EIy__H;0A4SLY;+uMoBdEug}U#{KQ|?<7Ix-vHUXnhT$~RyJQW) z*ZYK)ZYEmAL_bS5q*Ni{;vhF%m?*wj$Y+fn{X=G|uK1c{aaK&$Wl-L*UVw#4)La*p zJU|3DQISKjfr?5BBQ$>PScv>66^Ix2+Z8QMzcCutIXy8EHs)Q%)9oiwF-r2px)^oT zg7$kE-Hh_Q%;Ti#aIg#c5F{0=x_k<*Jr*N8q_N_L^uu4!#S{xHy?4mdGIZRjm(D{)iJ+QxwylXYw82$oc#K$%*a{il{u;t9SYdU5)c&G%Snx094v54V2=}1CQr-5 zW_5Otp~o{)E2oFMuboeOAT-J9Q1Z~JW?krK6CyDkfoeNQVtvPAf2mQwL!%N+1lRL5 zyK`+%uQOTN4giz|TynnECvy1pMP&PP{52{U)5!vtK+X4yv3y)>=nhF}RV4dBp-5KJ zRipE$uKRr$m1q(-TLQ@etcAHJ$K`xPT>C?yDnVKyT_Loa``6M0)2;**4JENai-Raw zcv(LR8wz-Q;DJ+HVd&2Cu<6>3;Sd#aH1-QuSJp#9$5tg>Wi5O(Bi&!ttU2D4Tky_BP$z4i{Bly+|lwH|@gQ zf3yQfsx_RAR*G>)AIwK0=X}gXR2{r~TPd;3e@~vGuZ;3(Pw}s^#{)M9g-HWkzbnd2SbMCm8GQ4sNcFp^$iHF|V7scmNcVa^;h=4^1UM7bslOmW@ zt2U1dAg8L$^dYTE2UK5PM5U@6T>fw~7P*;mtv=&EETICf)QpmJJn z;R>%4gL2qr$0w`TsC>X>s3YfN)wM+m0O?C=4=Q6(iGJBg(f6OImRC7}8(i(H&@|c? zg<_p5!rsp|0FsqYNV4WYi~yhVynTd(oqK#6l*YWMA5GJ!OQAn{Pq7o(@m4dP3L`aP zmyf5HytHHbfE-`4{ST0OzyILWc!!Xe0tVp&`u`poM)KR0^N)q#pPzp@bUr>n4CY_I z00UtHafONeN@QL6Z2LNA{tS5js3DCb__s9vjGO(a5rO`f z#-HJ{A2l}G`2Uv1pIL_=HSB+f-2P)b{*!$85&w%#;BVpojLG_lPbT^c|3_%nM+sCn zp}!^ZXD+};3CQ1tX8+iNk0}8k6)x%j-hTMAe)6M&0P9~0|E;F{$gh(8dwfJG zgY5s}|EEmuBcBD~@A3ci0)OPQ3jM|ZuQT`~AKdWo@&9y4e&qX#{)_+7FZod-^y%+4 z(?3miA0=|c|0D5F@5o2G-Q?e+|LOVpNVk>#i~es1&`0{;UH3ojE+6SrGJnzkFu#11 z(2@Cjd*IKTOCKfrRsSXNpIc2I`C>$WkN@XL{v*G|;4l8a$MqlS|NpTR{I|IZ2> /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.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: 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: 1 + 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.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.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/agent-common/real_project/szgz/k8s-srs.yaml b/agent-common/real_project/szgz/k8s-srs.yaml new file mode 100644 index 0000000..0301f2a --- /dev/null +++ b/agent-common/real_project/szgz/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:2023-SA + 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: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: 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/agent-common/real_project/szgz/old/k8s-backend.yaml b/agent-common/real_project/szgz/old/k8s-backend.yaml new file mode 100644 index 0000000..17d20c9 --- /dev/null +++ b/agent-common/real_project/szgz/old/k8s-backend.yaml @@ -0,0 +1,6811 @@ +--- +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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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 +--- +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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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-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/cmii/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 + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +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 diff --git a/agent-common/real_project/szgz/old/k8s-configmap.yaml b/agent-common/real_project/szgz/old/k8s-configmap.yaml new file mode 100644 index 0000000..306042e --- /dev/null +++ b/agent-common/real_project/szgz/old/k8s-configmap.yaml @@ -0,0 +1,602 @@ +--- +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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-smauth + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "smauth", + 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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-blockchain + namespace: szgz +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "172.31.2.7:8088", + ApplicationShortName: "blockchain", + AppClientId: "empty" + } diff --git a/agent-common/real_project/szgz/old/k8s-dashboard.yaml b/agent-common/real_project/szgz/old/k8s-dashboard.yaml new file mode 100644 index 0000000..799fcf7 --- /dev/null +++ b/agent-common/real_project/szgz/old/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/cmii/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/cmii/cmii/metrics-scraper:v1.0.4 + ports: + - containerPort: 8000 + protocol: TCP + livenessProbe: + httpGet: + scheme: HTTP + path: / + port: 8000 + initialDelaySeconds: 30 + timeoutSeconds: 30 + volumeMounts: + - mountPath: /tmp + name: tmp-volume + securityContext: + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + runAsUser: 1001 + runAsGroup: 2001 + serviceAccountName: kubernetes-dashboard + # Comment the following tolerations if Dashboard must not be deployed on master + tolerations: + - key: node-role.kubernetes.io/master + effect: NoSchedule + volumes: + - name: tmp-volume + emptyDir: {} +--- +apiVersion: v1 +kind: ServiceAccount +metadata: + name: admin-user + namespace: kube-system + +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: admin-user +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: + - kind: ServiceAccount + name: admin-user + namespace: kube-system diff --git a/agent-common/real_project/szgz/old/k8s-emqx.yaml b/agent-common/real_project/szgz/old/k8s-emqx.yaml new file mode 100644 index 0000000..616e6bb --- /dev/null +++ b/agent-common/real_project/szgz/old/k8s-emqx.yaml @@ -0,0 +1,276 @@ +--- +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/cmii/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: 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/agent-common/real_project/szgz/old/k8s-frontend.yaml b/agent-common/real_project/szgz/old/k8s-frontend.yaml new file mode 100644 index 0000000..f261902 --- /dev/null +++ b/agent-common/real_project/szgz/old/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-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/cmii/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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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 +--- +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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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 + 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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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-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/cmii/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 diff --git a/agent-common/real_project/szgz/old/k8s-ingress.yaml b/agent-common/real_project/szgz/old/k8s-ingress.yaml new file mode 100644 index 0000000..4d3693b --- /dev/null +++ b/agent-common/real_project/szgz/old/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/agent-common/real_project/szgz/old/k8s-mongo.yaml b/agent-common/real_project/szgz/old/k8s-mongo.yaml new file mode 100644 index 0000000..4048d14 --- /dev/null +++ b/agent-common/real_project/szgz/old/k8s-mongo.yaml @@ -0,0 +1,78 @@ +--- +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/cmii/cmii/mongo:5.0 + resources: {} + ports: + - containerPort: 27017 + name: mongo27017 + protocol: TCP + env: + - name: MONGO_INITDB_ROOT_USERNAME + value: cmlc + - name: MONGO_INITDB_ROOT_PASSWORD + value: REdPza8#oVlt + volumeMounts: + - name: mongo-data + mountPath: /data/db + readOnly: false + subPath: default/helm-mongo/data/db + volumes: + - name: mongo-data + persistentVolumeClaim: + claimName: helm-mongo +--- diff --git a/agent-common/real_project/szgz/old/k8s-mysql.yaml b/agent-common/real_project/szgz/old/k8s-mysql.yaml new file mode 100644 index 0000000..c7f9bda --- /dev/null +++ b/agent-common/real_project/szgz/old/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/cmii/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/cmii/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/agent-common/real_project/szgz/old/k8s-nacos.yaml b/agent-common/real_project/szgz/old/k8s-nacos.yaml new file mode 100644 index 0000000..3771934 --- /dev/null +++ b/agent-common/real_project/szgz/old/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/cmii/cmii/nacos-server:v2.1.2 + ports: + - containerPort: 8848 + name: dashboard + - containerPort: 9848 + name: tcp-9848 + - containerPort: 9849 + name: tcp-9849 + env: + - name: NACOS_AUTH_ENABLE + value: "false" + - name: NACOS_REPLICAS + value: "1" + - name: MYSQL_SERVICE_DB_NAME + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.db.name + - name: MYSQL_SERVICE_PORT + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.port + - name: MYSQL_SERVICE_USER + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.user + - name: MYSQL_SERVICE_PASSWORD + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.password + - name: MYSQL_SERVICE_HOST + valueFrom: + configMapKeyRef: + name: helm-nacos-cm + key: mysql.db.host + - name: NACOS_SERVER_PORT + value: "8848" + - name: NACOS_APPLICATION_PORT + value: "8848" + - name: PREFER_HOST_MODE + value: "hostname" + - name: MODE + value: standalone + - name: SPRING_DATASOURCE_PLATFORM + value: mysql +--- diff --git a/agent-common/real_project/szgz/old/k8s-nfs-test.yaml b/agent-common/real_project/szgz/old/k8s-nfs-test.yaml new file mode 100644 index 0000000..f4dc3cd --- /dev/null +++ b/agent-common/real_project/szgz/old/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/cmii/cmii/busybox:latest + command: + - "/bin/sh" + args: + - "-c" + - "touch /mnt/NFS-CREATE-SUCCESS && exit 0 || exit 1" #创建一个SUCCESS文件后退出 + volumeMounts: + - name: nfs-pvc + mountPath: "/mnt" + restartPolicy: "Never" + volumes: + - name: nfs-pvc + persistentVolumeClaim: + claimName: test-claim #与PVC名称保持一致 diff --git a/agent-common/real_project/szgz/old/k8s-nfs.yaml b/agent-common/real_project/szgz/old/k8s-nfs.yaml new file mode 100644 index 0000000..f352410 --- /dev/null +++ b/agent-common/real_project/szgz/old/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/cmii/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.9 + - name: NFS_PATH + value: /var/lib/docker/nfs_data + volumes: + - name: nfs-client-root + nfs: + server: 172.31.2.9 + path: /var/lib/docker/nfs_data diff --git a/agent-common/real_project/szgz/old/k8s-pvc.yaml b/agent-common/real_project/szgz/old/k8s-pvc.yaml new file mode 100644 index 0000000..b53f995 --- /dev/null +++ b/agent-common/real_project/szgz/old/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/agent-common/real_project/szgz/old/k8s-rabbitmq.yaml b/agent-common/real_project/szgz/old/k8s-rabbitmq.yaml new file mode 100644 index 0000000..7954f33 --- /dev/null +++ b/agent-common/real_project/szgz/old/k8s-rabbitmq.yaml @@ -0,0 +1,328 @@ +--- +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/cmii/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/cmii/cmii/rabbitmq:3.9.12-debian-10-r3 + imagePullPolicy: "Always" + env: + - name: BITNAMI_DEBUG + value: "false" + - name: MY_POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: MY_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: MY_POD_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: K8S_SERVICE_NAME + value: "helm-rabbitmq-headless" + - name: K8S_ADDRESS_TYPE + value: hostname + - name: RABBITMQ_FORCE_BOOT + value: "no" + - name: RABBITMQ_NODE_NAME + value: "rabbit@$(MY_POD_NAME).$(K8S_SERVICE_NAME).$(MY_POD_NAMESPACE).svc.cluster.local" + - name: K8S_HOSTNAME_SUFFIX + value: ".$(K8S_SERVICE_NAME).$(MY_POD_NAMESPACE).svc.cluster.local" + - name: RABBITMQ_MNESIA_DIR + value: "/bitnami/rabbitmq/mnesia/$(RABBITMQ_NODE_NAME)" + - name: RABBITMQ_LDAP_ENABLE + value: "no" + - name: RABBITMQ_LOGS + value: "-" + - name: RABBITMQ_ULIMIT_NOFILES + value: "65536" + - name: RABBITMQ_USE_LONGNAME + value: "true" + - name: RABBITMQ_ERL_COOKIE + valueFrom: + secretKeyRef: + name: helm-rabbitmq + key: rabbitmq-erlang-cookie + - name: RABBITMQ_LOAD_DEFINITIONS + value: "no" + - name: RABBITMQ_SECURE_PASSWORD + value: "yes" + - name: RABBITMQ_USERNAME + value: "admin" + - name: RABBITMQ_PASSWORD + valueFrom: + secretKeyRef: + name: helm-rabbitmq + key: rabbitmq-password + - name: RABBITMQ_PLUGINS + value: "rabbitmq_management, rabbitmq_peer_discovery_k8s, rabbitmq_shovel, rabbitmq_shovel_management, rabbitmq_auth_backend_ldap" + ports: + - name: amqp + containerPort: 5672 + - name: dist + containerPort: 25672 + - name: dashboard + containerPort: 15672 + - name: epmd + containerPort: 4369 + livenessProbe: + exec: + command: + - /bin/bash + - -ec + - rabbitmq-diagnostics -q ping + initialDelaySeconds: 120 + periodSeconds: 30 + timeoutSeconds: 20 + successThreshold: 1 + failureThreshold: 6 + readinessProbe: + exec: + command: + - /bin/bash + - -ec + - rabbitmq-diagnostics -q check_running && rabbitmq-diagnostics -q check_local_alarms + initialDelaySeconds: 10 + periodSeconds: 30 + timeoutSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + lifecycle: + preStop: + exec: + command: + - /bin/bash + - -ec + - | + if [[ -f /opt/bitnami/scripts/rabbitmq/nodeshutdown.sh ]]; then + /opt/bitnami/scripts/rabbitmq/nodeshutdown.sh -t "120" -d "false" + else + rabbitmqctl stop_app + fi + resources: + limits: {} + requests: {} + volumeMounts: + - name: configuration + mountPath: /bitnami/rabbitmq/conf + - name: data + mountPath: /bitnami/rabbitmq/mnesia + volumes: + - name: configuration + configMap: + name: helm-rabbitmq-config + items: + - key: rabbitmq.conf + path: rabbitmq.conf + - name: data + persistentVolumeClaim: + claimName: helm-rabbitmq diff --git a/agent-common/real_project/szgz/old/k8s-redis.yaml b/agent-common/real_project/szgz/old/k8s-redis.yaml new file mode 100644 index 0000000..fd8e31c --- /dev/null +++ b/agent-common/real_project/szgz/old/k8s-redis.yaml @@ -0,0 +1,585 @@ +--- +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 + + [[ -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: 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/cmii/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: 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: 1 + 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/cmii/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.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/agent-common/real_project/szgz/old/k8s-srs.yaml b/agent-common/real_project/szgz/old/k8s-srs.yaml new file mode 100644 index 0000000..3ff74d2 --- /dev/null +++ b/agent-common/real_project/szgz/old/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/cmii/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/cmii/cmii/cmii-srs-oss-adaptor:2023-SA + 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/cmii/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: 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/agent-common/real_project/uavcloud-demo/aware.yaml b/agent-common/real_project/uavcloud-demo/aware.yaml index e69de29..babe39e 100644 --- a/agent-common/real_project/uavcloud-demo/aware.yaml +++ b/agent-common/real_project/uavcloud-demo/aware.yaml @@ -0,0 +1,103 @@ + --- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-awareness + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-awareness + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-awareness + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-awareness + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-awareness + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-awareness:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-demo + - name: APPLICATION_NAME + value: cmii-uav-platform-awareness + 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-awareness + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-awareness + namespace: uavcloud-demo + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-awareness + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-awareness + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- + kind: ConfigMap + apiVersion: v1 + metadata: + name: tenant-prefix-awareness + namespace: uavcloud-demo + data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "www.demo.uavcmlc.com", + ApplicationShortName: "awareness", + AppClientId: "empty" + } \ No newline at end of file diff --git a/agent-common/real_project/uavcloud-devflight/k8s-backend.yaml b/agent-common/real_project/uavcloud-devflight/k8s-backend.yaml index f4f5992..2532b83 100644 --- a/agent-common/real_project/uavcloud-devflight/k8s-backend.yaml +++ b/agent-common/real_project/uavcloud-devflight/k8s-backend.yaml @@ -2,289 +2,11 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-material-warehouse + name: cmii-uav-grid-datasource namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-material-warehouse - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-material-warehouse - image: harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-material-warehouse - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-material-warehouse - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-material-warehouse - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-industrial-portfolio - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-industrial-portfolio - image: harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-industrial-portfolio - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-industrial-portfolio - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-industrial-portfolio - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-kpi-monitor - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor + cmii.app: cmii-uav-grid-datasource octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -296,12 +18,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-kpi-monitor + cmii.app: cmii-uav-grid-datasource template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-kpi-monitor + cmii.app: cmii-uav-grid-datasource spec: affinity: nodeAffinity: @@ -315,14 +37,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-kpi-monitor - image: harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:6.0.0 + - name: cmii-uav-grid-datasource + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-kpi-monitor + value: cmii-uav-grid-datasource - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -388,7 +110,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-kpi-monitor + subPath: uavcloud-devflight/cmii-uav-grid-datasource volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -397,11 +119,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-kpi-monitor + name: cmii-uav-grid-datasource namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-kpi-monitor + cmii.app: cmii-uav-grid-datasource octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -409,7 +131,285 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-kpi-monitor + cmii.app: cmii-uav-grid-datasource + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-surveillance + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-surveillance + image: harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-surveillance + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-surveillance + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-surveillance + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-surveillance + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-brain + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-brain + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-brain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-brain:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-brain + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-brain + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-brain + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-brain ports: - name: backend-tcp port: 8080 @@ -558,150 +558,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-autowaypoint + name: cmii-uav-advanced5g namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-autowaypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-autowaypoint - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-autowaypoint - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-autowaypoint - image: harbor.cdcyy.com.cn/cmii/cmii-uav-autowaypoint:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-autowaypoint - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/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-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-autowaypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-autowaypoint - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-mqtthandler - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler + cmii.app: cmii-uav-advanced5g octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -713,12 +574,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-mqtthandler + cmii.app: cmii-uav-advanced5g template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-mqtthandler + cmii.app: cmii-uav-advanced5g spec: affinity: nodeAffinity: @@ -732,14 +593,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-mqtthandler - image: harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:6.0.0 + - name: cmii-uav-advanced5g + image: harbor.cdcyy.com.cn/cmii/cmii-uav-advanced5g:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-mqtthandler + value: cmii-uav-advanced5g - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -805,7 +666,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-mqtthandler + subPath: uavcloud-devflight/cmii-uav-advanced5g volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -814,11 +675,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-mqtthandler + name: cmii-uav-advanced5g namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-mqtthandler + cmii.app: cmii-uav-advanced5g octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -826,7 +687,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-mqtthandler + cmii.app: cmii-uav-advanced5g ports: - name: backend-tcp port: 8080 @@ -836,11 +697,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-waypoint + name: cmii-uav-iot-dispatcher namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-waypoint + cmii.app: cmii-uav-iot-dispatcher octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -852,12 +713,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-waypoint + cmii.app: cmii-uav-iot-dispatcher template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-waypoint + cmii.app: cmii-uav-iot-dispatcher spec: affinity: nodeAffinity: @@ -871,14 +732,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-waypoint - image: harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:6.0.0 + - name: cmii-uav-iot-dispatcher + image: harbor.cdcyy.com.cn/cmii/cmii-uav-iot-dispatcher:6.1.0-v5 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-waypoint + value: cmii-uav-iot-dispatcher - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -944,7 +805,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-waypoint + subPath: uavcloud-devflight/cmii-uav-iot-dispatcher volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -953,11 +814,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-waypoint + name: cmii-uav-iot-dispatcher namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-waypoint + cmii.app: cmii-uav-iot-dispatcher octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -965,2370 +826,7 @@ 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-depotautoreturn - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-depotautoreturn - image: harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-depotautoreturn - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-depotautoreturn - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-depotautoreturn - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-cms - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cms - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-cms - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-cms - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-cms - image: harbor.cdcyy.com.cn/cmii/cmii-uav-cms:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-cms - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-cms - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-cms - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cms - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.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-sync - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-sync - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-sync - image: harbor.cdcyy.com.cn/cmii/cmii-uav-sync:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-sync - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-sync - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-sync - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-sync - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-sync - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-data-post-process - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-data-post-process - image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-data-post-process - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-data-post-process - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-data-post-process - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-cloud-live - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-cloud-live - image: harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-cloud-live - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-cloud-live - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-cloud-live - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-logger - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-logger - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-logger - image: harbor.cdcyy.com.cn/cmii/cmii-uav-logger:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-logger - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-logger - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-logger - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-logger - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-grid-manage - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-manage - image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-grid-manage - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-grid-manage - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-grid-manage - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-bridge - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-bridge - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-bridge - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-bridge - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-bridge - image: harbor.cdcyy.com.cn/cmii/cmii-uav-bridge:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-bridge - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-bridge - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-bridge - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-bridge - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-bridge - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-admin-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-admin-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-admin-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-admin-gateway:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-admin-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-admin-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-admin-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-admin-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-user - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-user - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-user - image: harbor.cdcyy.com.cn/cmii/cmii-uav-user:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-user - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-user - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-user - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-sense-adapter - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-sense-adapter - image: harbor.cdcyy.com.cn/cmii/cmii-uav-sense-adapter:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-sense-adapter - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-sense-adapter - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-sense-adapter - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-fwdd - namespace: uavcloud-devflight - 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.0.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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-fwdd - image: harbor.cdcyy.com.cn/cmii/cmii-uav-fwdd:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - 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.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/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-devflight - 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.0.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-device - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-device - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-device - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-device - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-device - image: harbor.cdcyy.com.cn/cmii/cmii-uav-device:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-device - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-device - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-device - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-device - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-device - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-surveillance - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-surveillance - image: harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-surveillance - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-surveillance - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-surveillance - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-surveillance - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-data-classification - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-data-classification - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-data-classification - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-data-classification - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-data-classification - image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-classification:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-data-classification - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-data-classification - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-data-classification - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-data-classification - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-data-classification - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-oauth - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-oauth - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-oauth - image: harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-oauth - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-oauth - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-oauth - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-oauth - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uavms-security-center - namespace: uavcloud-devflight - 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.0.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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uavms-security-center - image: harbor.cdcyy.com.cn/cmii/cmii-uavms-security-center:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - 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.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/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-devflight - 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.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uavms-security-center + cmii.app: cmii-uav-iot-dispatcher ports: - name: backend-tcp port: 8080 @@ -3476,284 +974,6 @@ spec: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-suav-supervision - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-suav-supervision - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-suav-supervision - image: harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-suav-supervision - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-suav-supervision - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-suav-supervision - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-suav-supervision - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-developer - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-developer - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-developer - image: harbor.cdcyy.com.cn/cmii/cmii-uav-developer:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-developer - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-developer - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-developer - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-developer - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: cmii-uas-lifecycle namespace: uavcloud-devflight @@ -3791,7 +1011,7 @@ spec: - name: harborsecret containers: - name: cmii-uas-lifecycle - image: harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:6.0.0 + image: harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -3894,150 +1114,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-open-gateway + name: cmii-uav-emergency namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-open-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-open-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-open-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-open-gateway:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-open-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-open-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-open-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-open-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-sky-converge - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-sky-converge + cmii.app: cmii-uav-emergency octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -4049,12 +1130,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-sky-converge + cmii.app: cmii-uav-emergency template: metadata: labels: cmii.type: backend - cmii.app: cmii-sky-converge + cmii.app: cmii-uav-emergency spec: affinity: nodeAffinity: @@ -4068,14 +1149,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-sky-converge - image: harbor.cdcyy.com.cn/cmii/cmii-sky-converge:6.2.0 + - name: cmii-uav-emergency + image: harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-sky-converge + value: cmii-uav-emergency - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -4141,7 +1222,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-sky-converge + subPath: uavcloud-devflight/cmii-uav-emergency volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -4150,11 +1231,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-sky-converge + name: cmii-uav-emergency namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-sky-converge + cmii.app: cmii-uav-emergency octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -4162,7 +1243,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-sky-converge + cmii.app: cmii-uav-emergency ports: - name: backend-tcp port: 8080 @@ -4172,11 +1253,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-gis-server + name: cmii-uav-data-post-process namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-gis-server + cmii.app: cmii-uav-data-post-process octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -4188,12 +1269,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-gis-server + cmii.app: cmii-uav-data-post-process template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-gis-server + cmii.app: cmii-uav-data-post-process spec: affinity: nodeAffinity: @@ -4207,14 +1288,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-gis-server - image: harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:6.0.0 + - name: cmii-uav-data-post-process + image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-gis-server + value: cmii-uav-data-post-process - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -4280,7 +1361,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-gis-server + subPath: uavcloud-devflight/cmii-uav-data-post-process volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -4289,11 +1370,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-gis-server + name: cmii-uav-data-post-process namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-gis-server + cmii.app: cmii-uav-data-post-process octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -4301,7 +1382,563 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-gis-server + cmii.app: cmii-uav-data-post-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: helm-live-op-v2 + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: helm-live-op-v2 + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: helm-live-op-v2 + template: + metadata: + labels: + cmii.type: backend + cmii.app: helm-live-op-v2 + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: helm-live-op-v2 + image: harbor.cdcyy.com.cn/cmii/helm-live-op-v2:5.2.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: helm-live-op-v2 + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/helm-live-op-v2 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-live-op-v2 + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: helm-live-op-v2 + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: helm-live-op-v2 + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-threedsimulation + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-threedsimulation + image: harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-threedsimulation + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-threedsimulation + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-threedsimulation + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mission + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mission + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mission + image: harbor.cdcyy.com.cn/cmii/cmii-uav-mission:5.7.0-szga + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-mission + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-mission + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mission + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mission + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-device + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-device + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-device + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-device + image: harbor.cdcyy.com.cn/cmii/cmii-uav-device:5.7.0-szga + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-device + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-device + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-device + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-device ports: - name: backend-tcp port: 8080 @@ -4449,6 +2086,3203 @@ spec: --- apiVersion: apps/v1 kind: Deployment +metadata: + name: cmii-uav-clusters + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-clusters + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-clusters + image: harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-clusters + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-clusters + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-clusters + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-clusters + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-sync + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sync + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.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: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sync + image: harbor.cdcyy.com.cn/cmii/cmii-uav-sync:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-sync + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-sync + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sync + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sync + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-sync + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-oauth + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-oauth + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-oauth + image: harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-oauth + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-oauth + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-oauth + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-oauth + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-airspace + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-airspace + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-airspace + image: harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-airspace + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-airspace + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-airspace + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-airspace + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-autowaypoint + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-autowaypoint + image: harbor.cdcyy.com.cn/cmii/cmii-uav-autowaypoint:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-autowaypoint + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/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-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-autowaypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cms + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cms + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-cms:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-cms + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-cms + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cms + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.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-kpi-monitor + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-kpi-monitor + image: harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-kpi-monitor + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-kpi-monitor + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-kpi-monitor + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-alarm + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-alarm + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-alarm + image: harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:6.2.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-alarm + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-alarm + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-alarm + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-alarm + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-container-scanner-go + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner-go + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner-go + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner-go + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-container-scanner-go + image: harbor.cdcyy.com.cn/cmii/cmii-uav-container-scanner-go:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-container-scanner-go + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-container-scanner-go + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-container-scanner-go + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner-go + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-container-scanner-go + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-blockchain + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-blockchain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-blockchain + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-blockchain + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-blockchain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-blockchain:6.0.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-blockchain + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-blockchain + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-blockchain + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-blockchain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-blockchain + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mqtthandler + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mqtthandler + image: harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-mqtthandler + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-mqtthandler + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mqtthandler + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-user + image: harbor.cdcyy.com.cn/cmii/cmii-uav-user:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-logger + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-logger + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-logger + image: harbor.cdcyy.com.cn/cmii/cmii-uav-logger:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-logger + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-logger + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-logger + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-logger + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cloud-live + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cloud-live + image: harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-cloud-live + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-cloud-live + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cloud-live + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-waypoint + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-waypoint + image: harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-waypoint + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-waypoint + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-waypoint + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-waypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: uav-auth-backend + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: uav-auth-backend + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: uav-auth-backend + template: + metadata: + labels: + cmii.type: backend + cmii.app: uav-auth-backend + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: uav-auth-backend + image: harbor.cdcyy.com.cn/cmii/uav-auth-backend:6.0.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: uav-auth-backend + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/uav-auth-backend + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: uav-auth-backend + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: uav-auth-backend + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: uav-auth-backend + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-depotautoreturn + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-depotautoreturn + image: harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-depotautoreturn + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-depotautoreturn + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-depotautoreturn + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uas-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uas-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-user + image: harbor.cdcyy.com.cn/cmii/cmii-admin-user:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-admin-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-admin-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-sky-converge + namespace: uavcloud-devflight + 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.0.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: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-sky-converge + image: harbor.cdcyy.com.cn/cmii/cmii-sky-converge:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - 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.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-sky-converge + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-sky-converge + namespace: uavcloud-devflight + 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.0.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-suav-supervision + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-suav-supervision + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-supervision + image: harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-suav-supervision + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-suav-supervision + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-supervision + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-suav-supervision + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uavms-security-center + namespace: uavcloud-devflight + 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.0.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: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uavms-security-center + image: harbor.cdcyy.com.cn/cmii/cmii-uavms-security-center:6.0.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - 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.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/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-devflight + 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.0.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-container-scanner + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-container-scanner + image: harbor.cdcyy.com.cn/cmii/cmii-uav-container-scanner:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-container-scanner + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-container-scanner + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-container-scanner + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-container-scanner + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment metadata: name: cmii-uav-notice namespace: uavcloud-devflight @@ -4728,28 +5562,28 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-container-scanner-go + name: cmii-uav-gis-server namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-container-scanner-go + cmii.app: cmii-uav-gis-server octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 spec: - replicas: 1 + replicas: 0 strategy: rollingUpdate: maxUnavailable: 1 selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-container-scanner-go + cmii.app: cmii-uav-gis-server template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-container-scanner-go + cmii.app: cmii-uav-gis-server spec: affinity: nodeAffinity: @@ -4763,14 +5597,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-container-scanner-go - image: harbor.cdcyy.com.cn/cmii/cmii-uav-container-scanner-go:5.7.0-snapshot + - name: cmii-uav-gis-server + image: harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-container-scanner-go + value: cmii-uav-gis-server - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -4836,7 +5670,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-container-scanner-go + subPath: uavcloud-devflight/cmii-uav-gis-server volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -4845,11 +5679,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-container-scanner-go + name: cmii-uav-gis-server namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-container-scanner-go + cmii.app: cmii-uav-gis-server octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -4857,7 +5691,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-container-scanner-go + cmii.app: cmii-uav-gis-server ports: - name: backend-tcp port: 8080 @@ -4867,11 +5701,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-advanced5g + name: cmii-uav-sense-adapter namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-advanced5g + cmii.app: cmii-uav-sense-adapter octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -4883,12 +5717,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-advanced5g + cmii.app: cmii-uav-sense-adapter template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-advanced5g + cmii.app: cmii-uav-sense-adapter spec: affinity: nodeAffinity: @@ -4902,14 +5736,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-advanced5g - image: harbor.cdcyy.com.cn/cmii/cmii-uav-advanced5g:5.7.0-snapshot + - name: cmii-uav-sense-adapter + image: harbor.cdcyy.com.cn/cmii/cmii-uav-sense-adapter:6.2.0-25021802 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-advanced5g + value: cmii-uav-sense-adapter - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -4975,7 +5809,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-advanced5g + subPath: uavcloud-devflight/cmii-uav-sense-adapter volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -4984,11 +5818,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-advanced5g + name: cmii-uav-sense-adapter namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-advanced5g + cmii.app: cmii-uav-sense-adapter octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -4996,7 +5830,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-advanced5g + cmii.app: cmii-uav-sense-adapter ports: - name: backend-tcp port: 8080 @@ -5006,28 +5840,28 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: helm-live-op-v2 + name: cmii-open-gateway namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: helm-live-op-v2 + cmii.app: cmii-open-gateway octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 spec: - replicas: 1 + replicas: 0 strategy: rollingUpdate: maxUnavailable: 1 selector: matchLabels: cmii.type: backend - cmii.app: helm-live-op-v2 + cmii.app: cmii-open-gateway template: metadata: labels: cmii.type: backend - cmii.app: helm-live-op-v2 + cmii.app: cmii-open-gateway spec: affinity: nodeAffinity: @@ -5041,14 +5875,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: helm-live-op-v2 - image: harbor.cdcyy.com.cn/cmii/helm-live-op-v2:5.2.0 + - name: cmii-open-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-open-gateway:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: helm-live-op-v2 + value: cmii-open-gateway - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -5114,7 +5948,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/helm-live-op-v2 + subPath: uavcloud-devflight/cmii-open-gateway volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -5123,11 +5957,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: helm-live-op-v2 + name: cmii-open-gateway namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: helm-live-op-v2 + cmii.app: cmii-open-gateway octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -5135,7 +5969,146 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: helm-live-op-v2 + cmii.app: cmii-open-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-integration + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-integration + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-integration + image: harbor.cdcyy.com.cn/cmii/cmii-uav-integration:5.7.0-szga + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-integration + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-integration + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-integration + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-integration ports: - name: backend-tcp port: 8080 @@ -5284,289 +6257,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-brain + name: uav-secret-backend namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-brain - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-brain - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-brain - image: harbor.cdcyy.com.cn/cmii/cmii-uav-brain:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-brain - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-brain - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-brain - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-brain - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-integration - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-integration - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-integration - image: harbor.cdcyy.com.cn/cmii/cmii-uav-integration:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-integration - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-integration - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-integration - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-integration - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-emergency - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency + cmii.app: uav-secret-backend octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -5578,12 +6273,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-emergency + cmii.app: uav-secret-backend template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-emergency + cmii.app: uav-secret-backend spec: affinity: nodeAffinity: @@ -5597,14 +6292,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-emergency - image: harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:6.0.0 + - name: uav-secret-backend + image: harbor.cdcyy.com.cn/cmii/uav-secret-backend:6.0.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-emergency + value: uav-secret-backend - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -5670,7 +6365,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-emergency + subPath: uavcloud-devflight/uav-secret-backend volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -5679,11 +6374,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-emergency + name: uav-secret-backend namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-emergency + cmii.app: uav-secret-backend octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -5691,424 +6386,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-emergency - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uas-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uas-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uas-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uas-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uas-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uas-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uas-gateway - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-blockchain - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-blockchain - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-blockchain - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-blockchain - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-blockchain - image: harbor.cdcyy.com.cn/cmii/cmii-uav-blockchain:6.0.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-blockchain - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-blockchain - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-blockchain - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-blockchain - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-blockchain - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-clusters - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-clusters - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-clusters - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-clusters - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-clusters - image: harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-clusters - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-clusters - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-clusters - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-clusters - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-clusters + cmii.app: uav-secret-backend ports: - name: backend-tcp port: 8080 @@ -6257,11 +6535,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-mission + name: cmii-uav-bridge namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-mission + cmii.app: cmii-uav-bridge octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -6273,12 +6551,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-mission + cmii.app: cmii-uav-bridge template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-mission + cmii.app: cmii-uav-bridge spec: affinity: nodeAffinity: @@ -6292,14 +6570,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-mission - image: harbor.cdcyy.com.cn/cmii/cmii-uav-mission:6.0.0 + - name: cmii-uav-bridge + image: harbor.cdcyy.com.cn/cmii/cmii-uav-bridge:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-mission + value: cmii-uav-bridge - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -6365,7 +6643,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-mission + subPath: uavcloud-devflight/cmii-uav-bridge volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -6374,11 +6652,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-mission + name: cmii-uav-bridge namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-mission + cmii.app: cmii-uav-bridge octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -6386,7 +6664,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-mission + cmii.app: cmii-uav-bridge ports: - name: backend-tcp port: 8080 @@ -6396,11 +6674,289 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-alarm + name: cmii-uav-industrial-portfolio namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-alarm + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-industrial-portfolio + image: harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-industrial-portfolio + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-industrial-portfolio + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-industrial-portfolio + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-security-trace + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-security-trace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-security-trace + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-security-trace + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-security-trace + image: harbor.cdcyy.com.cn/cmii/cmii-uav-security-trace:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-security-trace + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-security-trace + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-security-trace + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-security-trace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-security-trace + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-developer + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-developer octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -6412,12 +6968,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-alarm + cmii.app: cmii-uav-developer template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-alarm + cmii.app: cmii-uav-developer spec: affinity: nodeAffinity: @@ -6431,14 +6987,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-alarm - image: harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:6.0.0 + - name: cmii-uav-developer + image: harbor.cdcyy.com.cn/cmii/cmii-uav-developer:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-alarm + value: cmii-uav-developer - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -6504,7 +7060,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-alarm + subPath: uavcloud-devflight/cmii-uav-developer volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -6513,11 +7069,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-alarm + name: cmii-uav-developer namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-alarm + cmii.app: cmii-uav-developer octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -6525,7 +7081,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-alarm + cmii.app: cmii-uav-developer ports: - name: backend-tcp port: 8080 @@ -6535,11 +7091,150 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-grid-datasource + name: cmii-uav-sec-awareness namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-grid-datasource + cmii.app: cmii-uav-sec-awareness + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-sec-awareness + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-sec-awareness + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sec-awareness + image: harbor.cdcyy.com.cn/cmii/cmii-uav-sec-awareness:6.0.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-sec-awareness + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-sec-awareness + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sec-awareness + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sec-awareness + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-sec-awareness + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-fwdd + namespace: uavcloud-devflight + 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.0.0 @@ -6551,12 +7246,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-grid-datasource + cmii.app: cmii-uav-fwdd template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-grid-datasource + cmii.app: cmii-uav-fwdd spec: affinity: nodeAffinity: @@ -6570,14 +7265,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-grid-datasource - image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:6.0.0 + - name: cmii-uav-fwdd + image: harbor.cdcyy.com.cn/cmii/cmii-uav-fwdd:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-grid-datasource + value: cmii-uav-fwdd - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -6643,7 +7338,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-grid-datasource + subPath: uavcloud-devflight/cmii-uav-fwdd volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -6652,11 +7347,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-grid-datasource + name: cmii-uav-fwdd namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-grid-datasource + cmii.app: cmii-uav-fwdd octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -6664,563 +7359,7 @@ 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-iot-dispatcher - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-iot-dispatcher - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-iot-dispatcher - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-iot-dispatcher - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-iot-dispatcher - image: harbor.cdcyy.com.cn/cmii/cmii-uav-iot-dispatcher:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-iot-dispatcher - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-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-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-iot-dispatcher - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-iot-dispatcher - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-airspace - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-airspace - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-airspace - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-airspace - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-airspace - image: harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-airspace - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-airspace - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-airspace - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-airspace - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-airspace - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-threedsimulation - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-threedsimulation - image: harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-threedsimulation - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-uav-threedsimulation - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-threedsimulation - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-admin-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-admin-user - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-admin-user - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-user - image: harbor.cdcyy.com.cn/cmii/cmii-admin-user:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-admin-user - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 6.0.0 - - name: SYS_CONFIG_GROUP - value: 6.0.0 - - name: IMAGE_VERSION - value: 6.0.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 200Mi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/health - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: uavcloud-devflight/cmii-admin-user - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-admin-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-admin-user + cmii.app: cmii-uav-fwdd ports: - name: backend-tcp port: 8080 @@ -7369,11 +7508,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-container-scanner + name: cmii-uav-data-classification namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-container-scanner + cmii.app: cmii-uav-data-classification octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -7385,12 +7524,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-container-scanner + cmii.app: cmii-uav-data-classification template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-container-scanner + cmii.app: cmii-uav-data-classification spec: affinity: nodeAffinity: @@ -7404,14 +7543,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-container-scanner - image: harbor.cdcyy.com.cn/cmii/cmii-uav-container-scanner:5.7.0-snapshot + - name: cmii-uav-data-classification + image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-classification:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-container-scanner + value: cmii-uav-data-classification - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -7477,7 +7616,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-container-scanner + subPath: uavcloud-devflight/cmii-uav-data-classification volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -7486,11 +7625,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-container-scanner + name: cmii-uav-data-classification namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-container-scanner + cmii.app: cmii-uav-data-classification octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.0.0 @@ -7498,7 +7637,424 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-container-scanner + cmii.app: cmii-uav-data-classification + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-manage + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-manage + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-grid-manage + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-grid-manage + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-manage + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-admin-gateway:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-admin-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-admin-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-material-warehouse + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-material-warehouse + image: harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-material-warehouse + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-material-warehouse + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-material-warehouse + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse ports: - name: backend-tcp port: 8080 diff --git a/agent-common/real_project/uavcloud-devflight/k8s-configmap.yaml b/agent-common/real_project/uavcloud-devflight/k8s-configmap.yaml index 49a9770..fd06e35 100644 --- a/agent-common/real_project/uavcloud-devflight/k8s-configmap.yaml +++ b/agent-common/real_project/uavcloud-devflight/k8s-configmap.yaml @@ -1,6 +1,34 @@ --- kind: ConfigMap apiVersion: v1 +metadata: + name: tenant-prefix-traffic + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "traffic", + AppClientId: "APP_Jc8i2wOQ1t73QEJS" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-smsecret + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "smsecret", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 metadata: name: tenant-prefix-armypeople namespace: uavcloud-devflight @@ -30,28 +58,28 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-mws + name: tenant-prefix-share namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "mws", - AppClientId: "APP_uKniXPELlRERBBwK" + ApplicationShortName: "share", + AppClientId: "APP_4lVSVI0ZGxTssir8" } --- kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-dispatchh5 + name: tenant-prefix-qingdao namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "dispatchh5", + ApplicationShortName: "qingdao", AppClientId: "empty" } --- @@ -72,14 +100,14 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-smsecret + name: tenant-prefix-blockchain namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "smsecret", + ApplicationShortName: "blockchain", AppClientId: "empty" } --- @@ -99,6 +127,174 @@ data: --- kind: ConfigMap apiVersion: v1 +metadata: + name: tenant-prefix-cmsportal + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "cmsportal", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-logistics + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "logistics", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qinghaitourism + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "qinghaitourism", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-securityh5 + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "securityh5", + AppClientId: "APP_N3ImO0Ubfu9peRHD" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-threedsimulation + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "threedsimulation", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uas + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "uas", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dispatchh5 + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "dispatchh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-base + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "base", + AppClientId: "APP_9LY41OaKSqk2btY0" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-media + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "media", + AppClientId: "APP_4AU8lbifESQO4FD6" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-open + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "open", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pilot2cloud + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "pilot2cloud", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-awareness + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "awareness", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 metadata: name: tenant-prefix-pangu namespace: uavcloud-devflight @@ -114,14 +310,14 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-eventsh5 + name: tenant-prefix-oms namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "eventsh5", + ApplicationShortName: "oms", AppClientId: "empty" } --- @@ -141,48 +337,6 @@ data: --- kind: ConfigMap apiVersion: v1 -metadata: - name: tenant-prefix-hljtt - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "hljtt", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-uasms - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "uasms", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-smauth - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "smauth", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 metadata: name: tenant-prefix-uavmsmanager namespace: uavcloud-devflight @@ -212,43 +366,43 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-securityh5 + name: tenant-prefix-ai-brain namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "securityh5", - AppClientId: "APP_N3ImO0Ubfu9peRHD" + ApplicationShortName: "ai-brain", + AppClientId: "APP_rafnuCAmBESIVYMH" } --- kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-security + name: tenant-prefix-splice namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "security", - AppClientId: "APP_JUSEMc7afyWXxvE7" + ApplicationShortName: "splice", + AppClientId: "APP_zE0M3sTRXrCIJS8Y" } --- kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-traffic + name: tenant-prefix-smauth namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "traffic", - AppClientId: "APP_Jc8i2wOQ1t73QEJS" + ApplicationShortName: "smauth", + AppClientId: "empty" } --- kind: ConfigMap @@ -268,14 +422,28 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-uas + name: tenant-prefix-uasms namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "uas", + ApplicationShortName: "uasms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-classification + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "classification", AppClientId: "empty" } --- @@ -310,15 +478,43 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-ai-brain + name: tenant-prefix-supervision namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "ai-brain", - AppClientId: "APP_rafnuCAmBESIVYMH" + ApplicationShortName: "supervision", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-mws + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "mws", + AppClientId: "APP_uKniXPELlRERBBwK" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-security + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "security", + AppClientId: "APP_JUSEMc7afyWXxvE7" } --- kind: ConfigMap @@ -338,126 +534,14 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-logistics + name: tenant-prefix-eventsh5 namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "logistics", - AppClientId: "APP_PvdfRRRBPL8xbIwl" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-splice - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "splice", - AppClientId: "APP_zE0M3sTRXrCIJS8Y" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-threedsimulation - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "threedsimulation", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-classification - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "classification", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-seniclive - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "seniclive", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-emergency - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "emergency", - AppClientId: "APP_aGsTAY1uMZrpKdfk" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-oms - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "oms", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-qingdao - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "qingdao", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-pilot2cloud - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "pilot2cloud", + ApplicationShortName: "eventsh5", AppClientId: "empty" } --- @@ -478,29 +562,29 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-blockchain + name: tenant-prefix-emergency namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "blockchain", - AppClientId: "empty" + ApplicationShortName: "emergency", + AppClientId: "APP_aGsTAY1uMZrpKdfk" } --- kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-base + name: tenant-prefix-seniclive namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "base", - AppClientId: "APP_9LY41OaKSqk2btY0" + ApplicationShortName: "seniclive", + AppClientId: "empty" } --- kind: ConfigMap @@ -520,83 +604,13 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-cmsportal + name: tenant-prefix-hljtt namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "cmsportal", + ApplicationShortName: "hljtt", AppClientId: "empty" } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-media - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "media", - AppClientId: "APP_4AU8lbifESQO4FD6" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-open - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "open", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-share - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "share", - AppClientId: "APP_4lVSVI0ZGxTssir8" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-qinghaitourism - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "qinghaitourism", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-supervision - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "supervision", - AppClientId: "APP_qqSu82THfexI8PLM" - } diff --git a/agent-common/real_project/uavcloud-devflight/k8s-frontend.yaml b/agent-common/real_project/uavcloud-devflight/k8s-frontend.yaml index 4f982e9..41925aa 100644 --- a/agent-common/real_project/uavcloud-devflight/k8s-frontend.yaml +++ b/agent-common/real_project/uavcloud-devflight/k8s-frontend.yaml @@ -27,100 +27,11 @@ data: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-dispatchh5 + name: cmii-uav-platform-uasms namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-dispatchh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-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:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - 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-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-dispatchh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.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-hljtt - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt + cmii.app: cmii-uav-platform-uasms octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 6.0.0 spec: @@ -131,24 +42,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt + cmii.app: cmii-uav-platform-uasms template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt + cmii.app: cmii-uav-platform-uasms spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-hljtt - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:5.6.0 + - name: cmii-uav-platform-uasms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uasms:master-1.1.0-250117 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-hljtt + value: cmii-uav-platform-uasms ports: - name: platform-9528 containerPort: 9528 @@ -176,7 +87,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-hljtt + name: tenant-prefix-uasms items: - key: ingress-config.js path: ingress-config.js @@ -184,18 +95,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-hljtt + name: cmii-uav-platform-uasms namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt + cmii.app: cmii-uav-platform-uasms octopus.control: frontend-app-wdd app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt + cmii.app: cmii-uav-platform-uasms ports: - name: web-svc-port port: 9528 @@ -205,100 +116,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-qinghaitourism + name: cmii-uav-platform-threedsimulation namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-qinghaitourism - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-qinghaitourism - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-qinghaitourism - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-qinghaitourism - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-suav-platform-supervision - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-threedsimulation octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 6.0.0 spec: @@ -309,24 +131,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-threedsimulation template: metadata: labels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-threedsimulation spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-suav-platform-supervision - image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervision:5.6.0 + - name: cmii-uav-platform-threedsimulation + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-threedsimulation:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-suav-platform-supervision + value: cmii-uav-platform-threedsimulation ports: - name: platform-9528 containerPort: 9528 @@ -354,7 +176,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-supervision + name: tenant-prefix-threedsimulation items: - key: ingress-config.js path: ingress-config.js @@ -362,18 +184,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-suav-platform-supervision + name: cmii-uav-platform-threedsimulation namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-threedsimulation octopus.control: frontend-app-wdd app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-suav-platform-supervision + cmii.app: cmii-uav-platform-threedsimulation ports: - name: web-svc-port port: 9528 @@ -383,11 +205,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-multiterminal + name: cmii-uav-platform-open namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal + cmii.app: cmii-uav-platform-open octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 6.0.0 spec: @@ -398,24 +220,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal + cmii.app: cmii-uav-platform-open template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal + cmii.app: cmii-uav-platform-open spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-multiterminal - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:5.6.0 + - name: cmii-uav-platform-open + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-open:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-multiterminal + value: cmii-uav-platform-open ports: - name: platform-9528 containerPort: 9528 @@ -443,7 +265,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-multiterminal + name: tenant-prefix-open items: - key: ingress-config.js path: ingress-config.js @@ -451,374 +273,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-multiterminal + name: cmii-uav-platform-open namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal + cmii.app: cmii-uav-platform-open octopus.control: frontend-app-wdd app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-splice - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-splice - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-splice - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-splice - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-splice - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-base - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-base - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-base - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-base - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-base - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-mws - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-mws - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-mws - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-mws - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-mws - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-qingdao - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-qingdao - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-qingdao - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-qingdao - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-qingdao - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao + cmii.app: cmii-uav-platform-open ports: - name: web-svc-port port: 9528 @@ -1005,95 +471,6 @@ spec: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-platform-smauth - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-smauth - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-smauth - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-smauth - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-smauth - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-smauth:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-smauth - 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-smauth - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-smauth - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-smauth - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-smauth - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: cmii-uav-platform namespace: uavcloud-devflight @@ -1121,7 +498,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-platform - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform:6.1.0-snapshot + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -1183,896 +560,6 @@ spec: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-platform-securityh5 - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-securityh5 - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-securityh5:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-securityh5 - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-securityh5 - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-securityh5 - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-security - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-security - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-security - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-security - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-security - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-security:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-security - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-security - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-security - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-security - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.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-hyperspectral - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hyperspectral - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hyperspectral - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hyperspectral - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-hyperspectral - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hyperspectral:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-hyperspectral - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-hyper - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-hyperspectral - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hyperspectral - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-hyperspectral - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-visualization - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-visualization - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-visualization - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-visualization - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-visualization - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-jiangsuwenlv - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-jiangsuwenlv - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-jiangsuwenlv - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-jiangsuwenlv - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-jiangsuwenlv - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-uas - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-uas - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uas:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-uas - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-uas - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-uas - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-suav-platform-supervisionh5 - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-suav-platform-supervisionh5 - image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-suav-platform-supervisionh5 - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-supervisionh5 - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-suav-platform-supervisionh5 - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.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-manager - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uavms-platform-manager - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-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: harbor.cdcyy.com.cn/cmii/cmii-uavms-platform-manager:6.0.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - 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: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uavms-platform-manager - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.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-emergency-rescue - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-emergency-rescue - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-emergency-rescue:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-emergency-rescue - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-emergency - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-emergency-rescue - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-emergency-rescue - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-uasms - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 0 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-uasms - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uasms:master-1.1.0-250117 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-uasms - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-uasms - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-uasms - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: cmii-uavms-platform-security-center namespace: uavcloud-devflight @@ -2163,11 +650,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-logistics + name: cmii-uav-platform-smauth namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-logistics + cmii.app: cmii-uav-platform-smauth octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 6.0.0 spec: @@ -2178,24 +665,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-logistics + cmii.app: cmii-uav-platform-smauth template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-logistics + cmii.app: cmii-uav-platform-smauth spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-logistics - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-logistics:5.6.0 + - name: cmii-uav-platform-smauth + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-smauth:6.0.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-logistics + value: cmii-uav-platform-smauth ports: - name: platform-9528 containerPort: 9528 @@ -2223,7 +710,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-logistics + name: tenant-prefix-smauth items: - key: ingress-config.js path: ingress-config.js @@ -2231,374 +718,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-logistics + name: cmii-uav-platform-smauth namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-logistics + cmii.app: cmii-uav-platform-smauth octopus.control: frontend-app-wdd app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-logistics - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-open - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-open - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-open:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-open - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-open - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-open - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-scanner - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-scanner - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-scanner - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-scanner - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-scanner - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-scanner:5.5.0-integration - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-scanner - 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-scanner - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-scanner - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-scanner - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-scanner - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-cms-portal - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-cms-portal - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-cms-portal - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-cmsportal - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-cms-portal - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-ai-brain - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-ai-brain - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-ai-brain - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-ai-brain - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-ai-brain - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain + cmii.app: cmii-uav-platform-smauth ports: - name: web-svc-port port: 9528 @@ -2697,11 +828,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-blockchain + name: cmii-uav-platform-detection namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-blockchain + cmii.app: cmii-uav-platform-detection octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 6.0.0 spec: @@ -2712,24 +843,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-blockchain + cmii.app: cmii-uav-platform-detection template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-blockchain + cmii.app: cmii-uav-platform-detection spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-blockchain - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-blockchain:5.7.0-snapshot + - name: cmii-uav-platform-detection + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-blockchain + value: cmii-uav-platform-detection ports: - name: platform-9528 containerPort: 9528 @@ -2757,7 +888,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-blockchain + name: tenant-prefix-detection items: - key: ingress-config.js path: ingress-config.js @@ -2765,18 +896,107 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-blockchain + name: cmii-uav-platform-detection namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-blockchain + cmii.app: cmii-uav-platform-detection octopus.control: frontend-app-wdd app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-blockchain + 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: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-mws + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-mws + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-mws + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-mws + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws ports: - name: web-svc-port port: 9528 @@ -2875,11 +1095,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-pilot2-to-cloud + name: cmii-uav-platform-awareness namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-pilot2-to-cloud + cmii.app: cmii-uav-platform-awareness octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 6.0.0 spec: @@ -2890,24 +1110,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-pilot2-to-cloud + cmii.app: cmii-uav-platform-awareness template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-pilot2-to-cloud + cmii.app: cmii-uav-platform-awareness spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-pilot2-to-cloud - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-pilot2-to-cloud:5.7.0-snapshot + - name: cmii-uav-platform-awareness + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-awareness:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-pilot2-to-cloud + value: cmii-uav-platform-awareness ports: - name: platform-9528 containerPort: 9528 @@ -2935,7 +1155,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-pilot2cloud + name: tenant-prefix-awareness items: - key: ingress-config.js path: ingress-config.js @@ -2943,107 +1163,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-pilot2-to-cloud + name: cmii-uav-platform-awareness namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-pilot2-to-cloud + cmii.app: cmii-uav-platform-awareness octopus.control: frontend-app-wdd app.kubernetes.io/version: 6.0.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-detection - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.0.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-detection - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-detection - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-detection - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-detection - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.0.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection + cmii.app: cmii-uav-platform-awareness ports: - name: web-svc-port port: 9528 @@ -3142,11 +1273,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-share + name: cmii-uav-platform-pilot2-to-cloud namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-share + cmii.app: cmii-uav-platform-pilot2-to-cloud octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 6.0.0 spec: @@ -3157,24 +1288,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-share + cmii.app: cmii-uav-platform-pilot2-to-cloud template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-share + cmii.app: cmii-uav-platform-pilot2-to-cloud spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-share - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:5.7.0-snapshot + - name: cmii-uav-platform-pilot2-to-cloud + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-pilot2-to-cloud:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-share + value: cmii-uav-platform-pilot2-to-cloud ports: - name: platform-9528 containerPort: 9528 @@ -3202,7 +1333,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-share + name: tenant-prefix-pilot2cloud items: - key: ingress-config.js path: ingress-config.js @@ -3210,18 +1341,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-share + name: cmii-uav-platform-pilot2-to-cloud namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-share + cmii.app: cmii-uav-platform-pilot2-to-cloud octopus.control: frontend-app-wdd app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-share + cmii.app: cmii-uav-platform-pilot2-to-cloud ports: - name: web-svc-port port: 9528 @@ -3231,11 +1362,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-threedsimulation + name: cmii-uav-platform-splice namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation + cmii.app: cmii-uav-platform-splice octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 6.0.0 spec: @@ -3246,24 +1377,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation + cmii.app: cmii-uav-platform-splice template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation + cmii.app: cmii-uav-platform-splice spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-threedsimulation - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-threedsimulation:5.6.0 + - name: cmii-uav-platform-splice + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-platform-threedsimulation + value: cmii-uav-platform-splice ports: - name: platform-9528 containerPort: 9528 @@ -3291,7 +1422,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-threedsimulation + name: tenant-prefix-splice items: - key: ingress-config.js path: ingress-config.js @@ -3299,18 +1430,552 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-threedsimulation + name: cmii-uav-platform-splice namespace: uavcloud-devflight labels: cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation + cmii.app: cmii-uav-platform-splice octopus.control: frontend-app-wdd app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation + 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-securityh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-securityh5 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-securityh5:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-securityh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-securityh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-securityh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-hljtt + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-hljtt + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-hljtt + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-hljtt + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-hljtt + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-base + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-base + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-base + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-base + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-base + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-cms-portal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-cms-portal + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-cms-portal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-cmsportal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-cms-portal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-uas + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-uas + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uas:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-uas + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-uas + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-uas + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-blockchain + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-blockchain + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-blockchain + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-blockchain + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-blockchain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-blockchain:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-blockchain + 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-blockchain + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-blockchain + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-blockchain + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-blockchain ports: - name: web-svc-port port: 9528 @@ -3405,3 +2070,1427 @@ spec: port: 9528 protocol: TCP targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-scanner + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-scanner + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-scanner + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-scanner + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-scanner + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-scanner:5.5.0-integration + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-scanner + 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-scanner + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-scanner + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-scanner + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-scanner + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-logistics + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-logistics + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-logistics:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-logistics + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-logistics + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-logistics + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-share + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-share + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-share + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-share + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-share + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-ai-brain + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-ai-brain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-ai-brain + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-ai-brain + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-ai-brain + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uavms-platform-manager + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-manager + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-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: harbor.cdcyy.com.cn/cmii/cmii-uavms-platform-manager:6.0.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - 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: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-manager + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.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-suav-platform-supervision + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervision + image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervision:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-suav-platform-supervision + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervision + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervision + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-jiangsuwenlv + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-jiangsuwenlv + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-jiangsuwenlv + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-security + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-security + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-security:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-security + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-security + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-security + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.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-suav-platform-supervisionh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervisionh5 + image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-suav-platform-supervisionh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervisionh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.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-qingdao + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qingdao + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-qingdao + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qingdao + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qingdao + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-dispatchh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-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:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - 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-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.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-qinghaitourism + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qinghaitourism + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-qinghaitourism + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qinghaitourism + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-visualization + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-visualization + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-visualization + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-visualization + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-visualization + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-emergency-rescue + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-emergency-rescue + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-emergency-rescue:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-emergency-rescue + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-emergency + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-emergency-rescue + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-emergency-rescue + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-multiterminal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-multiterminal + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-multiterminal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-multiterminal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-multiterminal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-hyperspectral + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-hyperspectral + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hyperspectral:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-hyperspectral + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-hyper + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-hyperspectral + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 diff --git a/agent-common/real_project/uavcloud-devflight/k8s-ingress.yaml b/agent-common/real_project/uavcloud-devflight/k8s-ingress.yaml index c4c7c86..0909901 100644 --- a/agent-common/real_project/uavcloud-devflight/k8s-ingress.yaml +++ b/agent-common/real_project/uavcloud-devflight/k8s-ingress.yaml @@ -19,6 +19,7 @@ metadata: rewrite ^(/pangu)$ $1/ redirect; rewrite ^(/ai-brain)$ $1/ redirect; rewrite ^(/armypeople)$ $1/ redirect; + rewrite ^(/awareness)$ $1/ redirect; rewrite ^(/base)$ $1/ redirect; rewrite ^(/blockchain)$ $1/ redirect; rewrite ^(/classification)$ $1/ redirect; @@ -92,6 +93,11 @@ spec: backend: serviceName: cmii-uav-platform-armypeople servicePort: 9528 + - path: /devflight/awareness/?(.*) + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-platform-awareness + servicePort: 9528 - path: /devflight/base/?(.*) pathType: ImplementationSpecific backend: @@ -626,6 +632,22 @@ spec: backend: serviceName: cmii-uav-process servicePort: 8080 + - host: cmii-uav-sec-awareness.uavcloud-devflight.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sec-awareness + servicePort: 8080 + - host: cmii-uav-security-trace.uavcloud-devflight.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-security-trace + servicePort: 8080 - host: cmii-uav-sense-adapter.uavcloud-devflight.io http: paths: @@ -706,8 +728,8 @@ metadata: 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"; + proxy_set_header upgradePrefix $http_upgrade; + proxy_set_header Connection "upgradePrefix"; spec: rules: - host: fake-domain.uavcloud-devflight.io diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-backend.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-backend.yaml index c6f3df2..26c093a 100644 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-backend.yaml +++ b/agent-common/real_project/uavcloud-devflight/old/k8s-backend.yaml @@ -1,3064 +1,6 @@ --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-industrial-portfolio - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-industrial-portfolio - image: harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-industrial-portfolio - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-industrial-portfolio - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-industrial-portfolio - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-grid-datasource - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-datasource - image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-grid-datasource - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-grid-datasource - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-grid-datasource - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-sky-converge - namespace: uavcloud-devflight - 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-sky-converge - image: harbor.cdcyy.com.cn/cmii/cmii-sky-converge:6.2.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - 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: uavcloud-devflight/cmii-sky-converge - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-sky-converge - namespace: uavcloud-devflight - 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-cloud-live - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-cloud-live - image: harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-cloud-live - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-cloud-live - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-cloud-live - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cloud-live - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-admin-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-user - image: harbor.cdcyy.com.cn/cmii/cmii-admin-user:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-admin-user - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-admin-user - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-admin-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-mqtthandler - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-mqtthandler - image: harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-mqtthandler - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-mqtthandler - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-mqtthandler - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-mqtthandler - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-brain - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-brain - image: harbor.cdcyy.com.cn/cmii/cmii-uav-brain:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-brain - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-brain - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-brain - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-brain - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-oauth - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-oauth - image: harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-oauth - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-oauth - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-oauth - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-container-scanner - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-container-scanner - 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-container-scanner - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-container-scanner - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-container-scanner - image: harbor.cdcyy.com.cn/cmii/cmii-uav-container-scanner:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-container-scanner - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - 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: uavcloud-devflight/cmii-uav-container-scanner - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-container-scanner - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-container-scanner - 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-container-scanner - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-threedsimulation - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-threedsimulation - image: harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-threedsimulation - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-threedsimulation - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-threedsimulation - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-bridge - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-bridge - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-bridge - image: harbor.cdcyy.com.cn/cmii/cmii-uav-bridge:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-bridge - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-bridge - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-bridge - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-bridge - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-app-release - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-app-release - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-app-release - image: harbor.cdcyy.com.cn/cmii/cmii-app-release:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-app-release - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-app-release - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-app-release - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-app-release - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-alarm - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-alarm - image: harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-alarm - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-alarm - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-alarm - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-data-classification - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-data-classification - 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-classification - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-data-classification - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-data-classification - image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-classification:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-data-classification - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - 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: uavcloud-devflight/cmii-uav-data-classification - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-data-classification - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-data-classification - 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-classification - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-blockchain - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-blockchain - 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-blockchain - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-blockchain - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-blockchain - image: harbor.cdcyy.com.cn/cmii/cmii-uav-blockchain:6.0.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-blockchain - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - 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: uavcloud-devflight/cmii-uav-blockchain - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-blockchain - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-blockchain - 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-blockchain - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-surveillance - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-surveillance - image: harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-surveillance - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-surveillance - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-surveillance - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-admin-data - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-data - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-data - image: harbor.cdcyy.com.cn/cmii/cmii-admin-data:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-admin-data - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-admin-data - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-admin-data - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-data - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-sync - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-sync - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-sync - image: harbor.cdcyy.com.cn/cmii/cmii-uav-sync:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-sync - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-sync - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-sync - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-sync - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-tower - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-tower - image: harbor.cdcyy.com.cn/cmii/cmii-uav-tower:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-tower - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-tower - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-tower - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-container-scanner-go - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-container-scanner-go - 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-container-scanner-go - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-container-scanner-go - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-container-scanner-go - image: harbor.cdcyy.com.cn/cmii/cmii-uav-container-scanner-go:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-container-scanner-go - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - 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: uavcloud-devflight/cmii-uav-container-scanner-go - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-container-scanner-go - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-container-scanner-go - 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-container-scanner-go - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-advanced5g - namespace: uavcloud-devflight - 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-advanced5g - image: harbor.cdcyy.com.cn/cmii/cmii-uav-advanced5g:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - 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: uavcloud-devflight/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-devflight - 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-open-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-open-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-open-gateway:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-open-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-open-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-open-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-airspace namespace: uavcloud-devflight @@ -3067,7 +9,7 @@ metadata: 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 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 1 strategy: @@ -3114,11 +56,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 6.2.0 + value: 6.0.0 - name: SYS_CONFIG_GROUP - value: 6.2.0 + value: 6.0.0 - name: IMAGE_VERSION - value: 6.2.0 + value: 6.0.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -3184,7 +126,7 @@ metadata: 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 + app.kubernetes.io/app-version: 6.0.0 spec: type: ClusterIP selector: @@ -3198,2647 +140,6 @@ spec: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-grid-manage - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-manage - image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-grid-manage - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-grid-manage - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-grid-manage - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: helm-live-op-v2 - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: helm-live-op-v2 - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.2.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: helm-live-op-v2 - template: - metadata: - labels: - cmii.type: backend - cmii.app: helm-live-op-v2 - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: helm-live-op-v2 - image: harbor.cdcyy.com.cn/cmii/helm-live-op-v2:5.2.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: helm-live-op-v2 - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/helm-live-op-v2 - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: helm-live-op-v2 - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: helm-live-op-v2 - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.2.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: helm-live-op-v2 - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-suav-supervision - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-suav-supervision - image: harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-suav-supervision - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-suav-supervision - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-suav-supervision - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-developer - image: harbor.cdcyy.com.cn/cmii/cmii-uav-developer:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-developer - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-developer - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-developer - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-grid-engine - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-engine - image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-grid-engine - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-grid-engine - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-grid-engine - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-autowaypoint - namespace: uavcloud-devflight - 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-autowaypoint - image: harbor.cdcyy.com.cn/cmii/cmii-uav-autowaypoint:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - 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: uavcloud-devflight/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-devflight - 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-clusters - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-clusters - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-clusters - image: harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-clusters - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-clusters - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-clusters - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-clusters - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-process - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-process - image: harbor.cdcyy.com.cn/cmii/cmii-uav-process:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-process - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-process - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-process - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: uav-auth-backend - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: uav-auth-backend - 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: uav-auth-backend - template: - metadata: - labels: - cmii.type: backend - cmii.app: uav-auth-backend - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: uav-auth-backend - image: harbor.cdcyy.com.cn/cmii/uav-auth-backend:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: uav-auth-backend - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - 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: uavcloud-devflight/uav-auth-backend - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: uav-auth-backend - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: uav-auth-backend - 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: uav-auth-backend - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-emergency - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-emergency - image: harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-emergency - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-emergency - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-emergency - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-fwdd - namespace: uavcloud-devflight - 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-fwdd - image: harbor.cdcyy.com.cn/cmii/cmii-uav-fwdd:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - 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: uavcloud-devflight/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-devflight - 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-uavms-security-center - namespace: uavcloud-devflight - 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uavms-security-center - image: harbor.cdcyy.com.cn/cmii/cmii-uavms-security-center:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - 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: uavcloud-devflight/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-devflight - 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-uas-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uas-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uas-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uas-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uas-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uas-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-logger - image: harbor.cdcyy.com.cn/cmii/cmii-uav-logger:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-logger - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-logger - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-logger - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-mission - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-mission - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-mission - image: harbor.cdcyy.com.cn/cmii/cmii-uav-mission:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-mission - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-mission - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-mission - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-mission - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-cms - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cms - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-cms - image: harbor.cdcyy.com.cn/cmii/cmii-uav-cms:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-cms - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-cms - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-cms - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-cms - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-user - image: harbor.cdcyy.com.cn/cmii/cmii-uav-user:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-user - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-user - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-user - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-material-warehouse - image: harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-material-warehouse - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-material-warehouse - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-material-warehouse - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-iot-dispatcher - namespace: uavcloud-devflight - 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-iot-dispatcher - image: harbor.cdcyy.com.cn/cmii/cmii-uav-iot-dispatcher:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - 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: uavcloud-devflight/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-devflight - 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-uas-lifecycle namespace: uavcloud-devflight @@ -5847,7 +148,7 @@ metadata: 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 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 0 strategy: @@ -5894,11 +195,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 6.2.0 + value: 6.0.0 - name: SYS_CONFIG_GROUP - value: 6.2.0 + value: 6.0.0 - name: IMAGE_VERSION - value: 6.2.0 + value: 6.0.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -5964,7 +265,7 @@ metadata: 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 + app.kubernetes.io/app-version: 6.0.0 spec: type: ClusterIP selector: @@ -5979,431 +280,14 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-admin-gateway + name: cmii-uav-autowaypoint namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-admin-gateway + 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: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-admin-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-admin-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-admin-gateway:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-admin-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-admin-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-admin-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-admin-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-gateway - image: harbor.cdcyy.com.cn/cmii/cmii-uav-gateway:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-gateway - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-gateway - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-gateway - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-device - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-device - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-device - image: harbor.cdcyy.com.cn/cmii/cmii-uav-device:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-device - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-device - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-device - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-device - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.2.0 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 0 strategy: @@ -6412,12 +296,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-depotautoreturn + cmii.app: cmii-uav-autowaypoint template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-depotautoreturn + cmii.app: cmii-uav-autowaypoint spec: affinity: nodeAffinity: @@ -6431,14 +315,14 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-depotautoreturn - image: harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:6.0.0 + - name: cmii-uav-autowaypoint + image: harbor.cdcyy.com.cn/cmii/cmii-uav-autowaypoint:6.0.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME - value: cmii-uav-depotautoreturn + value: cmii-uav-autowaypoint - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY @@ -6450,11 +334,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 6.2.0 + value: 6.0.0 - name: SYS_CONFIG_GROUP - value: 6.2.0 + value: 6.0.0 - name: IMAGE_VERSION - value: 6.2.0 + value: 6.0.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -6504,7 +388,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: uavcloud-devflight/cmii-uav-depotautoreturn + subPath: uavcloud-devflight/cmii-uav-autowaypoint volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -6513,853 +397,19 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-depotautoreturn + name: cmii-uav-autowaypoint namespace: uavcloud-devflight labels: cmii.type: backend - cmii.app: cmii-uav-depotautoreturn + 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 + app.kubernetes.io/app-version: 6.0.0 spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-depotautoreturn - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-integration - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-integration - image: harbor.cdcyy.com.cn/cmii/cmii-uav-integration:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-integration - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-integration - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-integration - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-kpi-monitor - image: harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-kpi-monitor - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-kpi-monitor - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-kpi-monitor - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-notice - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-notice - image: harbor.cdcyy.com.cn/cmii/cmii-uav-notice:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-notice - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-notice - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-notice - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-sense-adapter - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-sense-adapter - image: harbor.cdcyy.com.cn/cmii/cmii-uav-sense-adapter:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-sense-adapter - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-sense-adapter - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-sense-adapter - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-sense-adapter - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-gis-server - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-gis-server - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-gis-server - image: harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-gis-server - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-gis-server - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-gis-server - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-gis-server - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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-data-post-process - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 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: - - devflight - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-data-post-process - image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:6.0.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-data-post-process - - name: CUST_JAVA_OPTS - value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 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: uavcloud-devflight/cmii-uav-data-post-process - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-data-post-process - namespace: uavcloud-devflight - labels: - cmii.type: backend - cmii.app: cmii-uav-data-post-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 6.2.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-data-post-process + cmii.app: cmii-uav-autowaypoint ports: - name: backend-tcp port: 8080 @@ -7376,7 +426,7 @@ metadata: 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 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 1 strategy: @@ -7405,7 +455,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-waypoint - image: harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:6.0.0 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:5.7.0-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -7423,11 +473,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 6.2.0 + value: 6.0.0 - name: SYS_CONFIG_GROUP - value: 6.2.0 + value: 6.0.0 - name: IMAGE_VERSION - value: 6.2.0 + value: 6.0.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -7493,7 +543,7 @@ metadata: 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 + app.kubernetes.io/app-version: 6.0.0 spec: type: ClusterIP selector: @@ -7507,6 +557,4593 @@ spec: --- apiVersion: apps/v1 kind: Deployment +metadata: + name: cmii-uav-grid-engine + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-engine + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-grid-engine + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-grid-engine + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-engine + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-brain + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-brain + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-brain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-brain:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-brain + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-brain + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-brain + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-brain + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-kpi-monitor + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-kpi-monitor + image: harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-kpi-monitor + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-kpi-monitor + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-kpi-monitor + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-data-classification + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-data-classification + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-data-classification + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-data-classification + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-data-classification + image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-classification:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-data-classification + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-data-classification + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-data-classification + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-data-classification + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-data-classification + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-threedsimulation + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-threedsimulation + image: harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-threedsimulation + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-threedsimulation + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-threedsimulation + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-emergency + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-emergency + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-emergency + image: harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-emergency + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-emergency + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-emergency + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-emergency + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-sky-converge + namespace: uavcloud-devflight + 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.0.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: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-sky-converge + image: harbor.cdcyy.com.cn/cmii/cmii-sky-converge:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - 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.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-sky-converge + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-sky-converge + namespace: uavcloud-devflight + 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.0.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-fwdd + namespace: uavcloud-devflight + 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.0.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: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-fwdd + image: harbor.cdcyy.com.cn/cmii/cmii-uav-fwdd:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - 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.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/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-devflight + 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.0.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-alarm + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-alarm + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-alarm + image: harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:6.2.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-alarm + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-alarm + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-alarm + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-alarm + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-sec-awareness + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sec-awareness + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-sec-awareness + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-sec-awareness + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sec-awareness + image: harbor.cdcyy.com.cn/cmii/cmii-uav-sec-awareness:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-sec-awareness + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-sec-awareness + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sec-awareness + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sec-awareness + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-sec-awareness + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-integration + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-integration + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-integration + image: harbor.cdcyy.com.cn/cmii/cmii-uav-integration:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-integration + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-integration + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-integration + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-integration + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-integration + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-data + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-data + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-data + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-data + image: harbor.cdcyy.com.cn/cmii/cmii-admin-data:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-admin-data + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-admin-data + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-data + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.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-container-scanner + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-container-scanner + image: harbor.cdcyy.com.cn/cmii/cmii-uav-container-scanner:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-container-scanner + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-container-scanner + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-container-scanner + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-container-scanner + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-open-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-open-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-open-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-open-gateway:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-open-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-open-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-open-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-open-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mission + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mission + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mission + image: harbor.cdcyy.com.cn/cmii/cmii-uav-mission:5.7.0-hebei + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-mission + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-mission + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mission + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mission + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uas-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uas-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uas-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uas-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uas-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uas-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uas-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uas-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-developer + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-developer + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-developer + image: harbor.cdcyy.com.cn/cmii/cmii-uav-developer:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-developer + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-developer + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-developer + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-developer + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-container-scanner-go + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner-go + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner-go + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner-go + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-container-scanner-go + image: harbor.cdcyy.com.cn/cmii/cmii-uav-container-scanner-go:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-container-scanner-go + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-container-scanner-go + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-container-scanner-go + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-container-scanner-go + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-container-scanner-go + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-notice + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-notice + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-notice + image: harbor.cdcyy.com.cn/cmii/cmii-uav-notice:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-notice + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-notice + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-notice + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-notice + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-app-release + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-app-release + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-app-release + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-app-release + image: harbor.cdcyy.com.cn/cmii/cmii-app-release:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-app-release + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-app-release + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-app-release + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-app-release + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-surveillance + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-surveillance + image: harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-surveillance + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-surveillance + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-surveillance + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-surveillance + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-security-trace + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-security-trace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-security-trace + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-security-trace + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-security-trace + image: harbor.cdcyy.com.cn/cmii/cmii-uav-security-trace:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-security-trace + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-security-trace + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-security-trace + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-security-trace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-security-trace + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-clusters + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-clusters + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-clusters + image: harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-clusters + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-clusters + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-clusters + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-clusters + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-clusters + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-process + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-process + image: harbor.cdcyy.com.cn/cmii/cmii-uav-process:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-process + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-tower + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-tower + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-tower + image: harbor.cdcyy.com.cn/cmii/cmii-uav-tower:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-tower + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-tower + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-tower + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-tower + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-sync + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sync + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.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: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sync + image: harbor.cdcyy.com.cn/cmii/cmii-uav-sync:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-sync + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-sync + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sync + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sync + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-sync + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-depotautoreturn + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-depotautoreturn + image: harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-depotautoreturn + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-depotautoreturn + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-depotautoreturn + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-depotautoreturn + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: helm-live-op-v2 + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: helm-live-op-v2 + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: helm-live-op-v2 + template: + metadata: + labels: + cmii.type: backend + cmii.app: helm-live-op-v2 + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: helm-live-op-v2 + image: harbor.cdcyy.com.cn/cmii/helm-live-op-v2:5.2.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: helm-live-op-v2 + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/helm-live-op-v2 + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: helm-live-op-v2 + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: helm-live-op-v2 + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: helm-live-op-v2 + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-data-post-process + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-data-post-process + image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-data-post-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-data-post-process + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-data-post-process + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-data-post-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-iot-dispatcher + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-iot-dispatcher + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-iot-dispatcher + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-iot-dispatcher + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-iot-dispatcher + image: harbor.cdcyy.com.cn/cmii/cmii-uav-iot-dispatcher:6.1.0-v5 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-iot-dispatcher + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-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-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-iot-dispatcher + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-iot-dispatcher + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-supervision + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-suav-supervision + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-supervision + image: harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-suav-supervision + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-suav-supervision + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-supervision + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-suav-supervision + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-device + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-device + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-device + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-device + image: harbor.cdcyy.com.cn/cmii/cmii-uav-device:5.7.0-szga + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-device + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-device + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-device + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-device + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-device + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-advanced5g + namespace: uavcloud-devflight + 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.0.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: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-advanced5g + image: harbor.cdcyy.com.cn/cmii/cmii-uav-advanced5g:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - 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.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/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-devflight + 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.0.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-multilink namespace: uavcloud-devflight @@ -7515,7 +5152,7 @@ metadata: 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 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 0 strategy: @@ -7562,11 +5199,11 @@ spec: - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP - value: 6.2.0 + value: 6.0.0 - name: SYS_CONFIG_GROUP - value: 6.2.0 + value: 6.0.0 - name: IMAGE_VERSION - value: 6.2.0 + value: 6.0.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD @@ -7632,7 +5269,7 @@ metadata: 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 + app.kubernetes.io/app-version: 6.0.0 spec: type: ClusterIP selector: @@ -7643,3 +5280,2505 @@ spec: port: 8080 protocol: TCP targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-uav-gateway:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-industrial-portfolio + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-industrial-portfolio + image: harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-industrial-portfolio + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-industrial-portfolio + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-industrial-portfolio + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-industrial-portfolio + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-material-warehouse + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-material-warehouse + image: harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-material-warehouse + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-material-warehouse + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-material-warehouse + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-logger + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-logger + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-logger + image: harbor.cdcyy.com.cn/cmii/cmii-uav-logger:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-logger + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-logger + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-logger + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-logger + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-user + image: harbor.cdcyy.com.cn/cmii/cmii-uav-user:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cloud-live + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cloud-live + image: harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-cloud-live + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-cloud-live + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cloud-live + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-cloud-live + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-oauth + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-oauth + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-oauth + image: harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-oauth + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-oauth + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-oauth + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-oauth + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uavms-security-center + namespace: uavcloud-devflight + 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.0.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: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uavms-security-center + image: harbor.cdcyy.com.cn/cmii/cmii-uavms-security-center:6.0.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - 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.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/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-devflight + 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.0.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-bridge + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-bridge + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-bridge + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-bridge + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-bridge + image: harbor.cdcyy.com.cn/cmii/cmii-uav-bridge:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-bridge + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-bridge + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-bridge + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-bridge + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-bridge + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gis-server + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gis-server + image: harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-gis-server + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-gis-server + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-gis-server + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-gis-server + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-gateway + image: harbor.cdcyy.com.cn/cmii/cmii-admin-gateway:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-admin-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-admin-gateway + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-gateway + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-datasource + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-datasource + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-grid-datasource + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-grid-datasource + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-datasource + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-datasource + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-cms + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cms + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-cms:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-cms + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-cms + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-cms + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.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-sense-adapter + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-sense-adapter + image: harbor.cdcyy.com.cn/cmii/cmii-uav-sense-adapter:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-sense-adapter + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-sense-adapter + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-sense-adapter + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-sense-adapter + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-user + image: harbor.cdcyy.com.cn/cmii/cmii-admin-user:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-admin-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-admin-user + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-admin-user + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-admin-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-manage + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-manage + image: harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:6.0.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-grid-manage + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-grid-manage + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-grid-manage + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mqtthandler + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mqtthandler + image: harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-mqtthandler + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-mqtthandler + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-mqtthandler + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mqtthandler + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-blockchain + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-blockchain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-blockchain + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-blockchain + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - devflight + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-blockchain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-blockchain:6.0.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-blockchain + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 6.0.0 + - name: SYS_CONFIG_GROUP + value: 6.0.0 + - name: IMAGE_VERSION + value: 6.0.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/health + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: uavcloud-devflight/cmii-uav-blockchain + volumes: + - name: nfs-backend-log-volume + persistentVolumeClaim: + claimName: nfs-backend-log-pvc +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-blockchain + namespace: uavcloud-devflight + labels: + cmii.type: backend + cmii.app: cmii-uav-blockchain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-blockchain + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-configmap.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-configmap.yaml index 587ab48..0c700fd 100644 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-configmap.yaml +++ b/agent-common/real_project/uavcloud-devflight/old/k8s-configmap.yaml @@ -1,342 +1,6 @@ --- kind: ConfigMap apiVersion: v1 -metadata: - name: tenant-prefix-smauth - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "smauth", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-dikongzhixingh5 - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "dikongzhixingh5", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-supervision - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "supervision", - AppClientId: "APP_qqSu82THfexI8PLM" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-mws - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "mws", - AppClientId: "APP_uKniXPELlRERBBwK" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-traffic - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "traffic", - AppClientId: "APP_Jc8i2wOQ1t73QEJS" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-uasms - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "uasms", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-pilot2cloud - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "pilot2cloud", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-detection - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "detection", - AppClientId: "APP_FDHW2VLVDWPnnOCy" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-logistics - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "logistics", - AppClientId: "APP_PvdfRRRBPL8xbIwl" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-securityh5 - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "securityh5", - AppClientId: "APP_N3ImO0Ubfu9peRHD" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-threedsimulation - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "threedsimulation", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-hljtt - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "hljtt", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-base - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "base", - AppClientId: "APP_9LY41OaKSqk2btY0" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-jiangsuwenlv - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "jiangsuwenlv", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-qinghaitourism - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "qinghaitourism", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-uas - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "uas", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-mianyangbackend - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "mianyangbackend", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-cmsportal - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "cmsportal", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-media - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "media", - AppClientId: "APP_4AU8lbifESQO4FD6" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-visualization - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "visualization", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-eventsh5 - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "eventsh5", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-blockchain - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "blockchain", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-renyike - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "renyike", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-security - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "security", - AppClientId: "APP_JUSEMc7afyWXxvE7" - } ---- -kind: ConfigMap -apiVersion: v1 metadata: name: tenant-prefix-seniclive namespace: uavcloud-devflight @@ -365,6 +29,20 @@ data: --- kind: ConfigMap apiVersion: v1 +metadata: + name: tenant-prefix-security + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "security", + AppClientId: "APP_JUSEMc7afyWXxvE7" + } +--- +kind: ConfigMap +apiVersion: v1 metadata: name: tenant-prefix-qingdao namespace: uavcloud-devflight @@ -380,14 +58,196 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-dispatchh5 + name: tenant-prefix-blockchain namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "dispatchh5", + ApplicationShortName: "blockchain", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervision + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "supervision", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-ai-brain + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "ai-brain", + AppClientId: "APP_rafnuCAmBESIVYMH" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-logistics + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "logistics", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-mws + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "mws", + AppClientId: "APP_uKniXPELlRERBBwK" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-oms + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "oms", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-eventsh5 + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "eventsh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-mianyangbackend + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "mianyangbackend", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dikongzhixingh5 + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "dikongzhixingh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-renyike + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "renyike", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-base + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "base", + AppClientId: "APP_9LY41OaKSqk2btY0" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-emergency + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "emergency", + AppClientId: "APP_aGsTAY1uMZrpKdfk" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-open + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "open", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-pilot2cloud + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "pilot2cloud", AppClientId: "empty" } --- @@ -422,98 +282,42 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-ai-brain + name: tenant-prefix-media namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "ai-brain", - AppClientId: "APP_rafnuCAmBESIVYMH" + ApplicationShortName: "media", + AppClientId: "APP_4AU8lbifESQO4FD6" } --- kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-emergency + name: tenant-prefix-jiangsuwenlv namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "emergency", - AppClientId: "APP_aGsTAY1uMZrpKdfk" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-oms - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "oms", + ApplicationShortName: "jiangsuwenlv", AppClientId: "empty" } --- kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-open + name: tenant-prefix-uasms namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "open", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-armypeople - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "armypeople", - AppClientId: "APP_UIegse6Lfou9pO1U" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-smsecret - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "smsecret", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-secenter - namespace: uavcloud-devflight -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "devflight", - CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "secenter", + ApplicationShortName: "uasms", AppClientId: "empty" } --- @@ -534,15 +338,43 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-supervisionh5 + name: tenant-prefix-secenter namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "supervisionh5", - AppClientId: "APP_qqSu82THfexI8PLM" + ApplicationShortName: "secenter", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-cmsportal + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "cmsportal", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-detection + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "detection", + AppClientId: "APP_FDHW2VLVDWPnnOCy" } --- kind: ConfigMap @@ -562,28 +394,56 @@ data: kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-share + name: tenant-prefix-qinghaitourism namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "share", - AppClientId: "APP_4lVSVI0ZGxTssir8" + ApplicationShortName: "qinghaitourism", + AppClientId: "empty" } --- kind: ConfigMap apiVersion: v1 metadata: - name: tenant-prefix-hyper + name: tenant-prefix-hljtt namespace: uavcloud-devflight data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "devflight", CloudHOST: "lab.uavcmlc.com", - ApplicationShortName: "hyper", + ApplicationShortName: "hljtt", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-uas + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "uas", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-smsecret + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "smsecret", AppClientId: "empty" } --- @@ -600,3 +460,143 @@ data: ApplicationShortName: "classification", AppClientId: "empty" } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-smauth + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "smauth", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervisionh5 + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "supervisionh5", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-securityh5 + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "securityh5", + AppClientId: "APP_N3ImO0Ubfu9peRHD" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-threedsimulation + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "threedsimulation", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-visualization + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "visualization", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-dispatchh5 + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "dispatchh5", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-armypeople + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "armypeople", + AppClientId: "APP_UIegse6Lfou9pO1U" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-share + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "share", + AppClientId: "APP_4lVSVI0ZGxTssir8" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-traffic + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "traffic", + AppClientId: "APP_Jc8i2wOQ1t73QEJS" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-hyper + namespace: uavcloud-devflight +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "devflight", + CloudHOST: "lab.uavcmlc.com", + ApplicationShortName: "hyper", + AppClientId: "empty" + } diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-frontend.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-frontend.yaml index 7d79a2d..1ed05f2 100644 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-frontend.yaml +++ b/agent-common/real_project/uavcloud-devflight/old/k8s-frontend.yaml @@ -26,3210 +26,6 @@ data: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-platform-pilot2-to-cloud - namespace: uavcloud-devflight - 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:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - 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-devflight - 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-visualization - namespace: uavcloud-devflight - 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-visualization - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-visualization - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-visualization - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-visualization - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-classification - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-classification - 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-classification - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-classification - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-classification - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-classification:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-classification - 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-classification - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-classification - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-classification - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.2.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-classification - 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-devflight - 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.0.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - 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-devflight - 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-security - namespace: uavcloud-devflight - 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-security - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-security - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-security - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-security - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-qinghaitourism - namespace: uavcloud-devflight - 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-qinghaitourism - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-qinghaitourism - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-qinghaitourism - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-hyperspectral - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hyperspectral - 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-hyperspectral - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hyperspectral - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-hyperspectral - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hyperspectral:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-hyperspectral - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-hyper - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-hyperspectral - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hyperspectral - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.2.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-hyperspectral - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-cms-portal - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-cms-portal - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-cmsportal - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-cms-portal - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-logistics - namespace: uavcloud-devflight - 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-logistics - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-logistics - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-logistics - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-logistics - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-mws - namespace: uavcloud-devflight - 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-mws - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-mws - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-mws - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-share - namespace: uavcloud-devflight - 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:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-share - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-share - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-share - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-share - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-ai-brain - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-ai-brain - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-ai-brain - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-ai-brain - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-ai-brain - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-qingdao - namespace: uavcloud-devflight - 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-qingdao - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-qingdao - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-qingdao - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qingdao - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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: uavcloud-devflight - 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:master-1.1.0-250117 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-uasms - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-uasms - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-uasms - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uasms - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-suav-platform-supervision - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervision - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-suav-platform-supervision - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-supervision - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-suav-platform-supervision - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervision - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-jiangsuwenlv - namespace: uavcloud-devflight - 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-jiangsuwenlv - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-jiangsuwenlv - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-jiangsuwenlv - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-smauth - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-smauth - 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-smauth - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-smauth - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-smauth - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-smauth:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-smauth - 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-smauth - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-smauth - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-smauth - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.2.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-smauth - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-seniclive - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-seniclive - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-seniclive - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-seniclive - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-seniclive - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-detection - namespace: uavcloud-devflight - 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-detection - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-detection - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-detection - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-detection - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-suav-platform-supervisionh5 - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-suav-platform-supervisionh5 - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-supervisionh5 - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-suav-platform-supervisionh5 - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervisionh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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 - namespace: uavcloud-devflight - 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.1.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-pangu - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-armypeople - namespace: uavcloud-devflight - 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:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-armypeople - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-armypeople - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-armypeople - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-devflight - 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:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - 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-devflight - 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-securityh5 - namespace: uavcloud-devflight - 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-securityh5 - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-securityh5 - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-securityh5 - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-oms - namespace: uavcloud-devflight - 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:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-oms - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-oms - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-oms - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-smsecret - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-smsecret - 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-smsecret - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-smsecret - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-smsecret - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-smsecret:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-smsecret - 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-smsecret - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-smsecret - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-smsecret - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.2.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-smsecret - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-hljtt - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-hljtt - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-hljtt - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-hljtt - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-hljtt - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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: uavcloud-devflight - 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: harbor.cdcyy.com.cn/cmii/cmii-uavms-platform-manager:6.0.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - 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: uavcloud-devflight - 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-scanner - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-scanner - 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-scanner - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-scanner - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-scanner - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-scanner:5.5.0-integration - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-scanner - 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-scanner - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-scanner - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-scanner - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.2.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-scanner - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-blockchain - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-blockchain - 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-blockchain - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-blockchain - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-blockchain - image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-blockchain:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-blockchain - 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-blockchain - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-blockchain - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-blockchain - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.2.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-blockchain - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-base - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-base - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-base - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-base - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-multiterminal - namespace: uavcloud-devflight - 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-multiterminal - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-multiterminal - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-multiterminal - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-uav-platform-open - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-open - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-open - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-open - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-threedsimulation - namespace: uavcloud-devflight - 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-threedsimulation - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-threedsimulation - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-threedsimulation - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-splice - namespace: uavcloud-devflight - 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:5.6.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-splice - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-splice - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-splice - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-uas - namespace: uavcloud-devflight - 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:5.7.0-snapshot - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: uavcloud-devflight - - name: APPLICATION_NAME - value: cmii-uav-platform-uas - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 50m - memory: 50Mi - volumeMounts: - - name: nginx-conf - mountPath: /etc/nginx/conf.d/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-uas - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-uas - namespace: uavcloud-devflight - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-uas - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 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-emergency-rescue namespace: uavcloud-devflight @@ -3237,7 +33,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-emergency-rescue octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.2.0 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 1 strategy: @@ -3305,7 +101,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-emergency-rescue octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.2.0 + app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: @@ -3319,6 +115,184 @@ spec: --- apiVersion: apps/v1 kind: Deployment +metadata: + name: cmii-uav-platform-classification + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-classification + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-classification + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-classification + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-classification + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-classification:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-classification + 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-classification + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-classification + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-classification + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-classification + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-logistics + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-logistics + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-logistics:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-logistics + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-logistics + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-logistics + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-logistics + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment metadata: name: cmii-uav-platform-media namespace: uavcloud-devflight @@ -3326,7 +300,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-media octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 6.2.0 + app.kubernetes.io/app-version: 6.0.0 spec: replicas: 1 strategy: @@ -3394,7 +368,7 @@ metadata: cmii.type: frontend cmii.app: cmii-uav-platform-media octopus.control: frontend-app-wdd - app.kubernetes.io/version: 6.2.0 + app.kubernetes.io/version: 6.0.0 spec: type: ClusterIP selector: @@ -3405,3 +379,3029 @@ spec: port: 9528 protocol: TCP targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-base + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-base + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-base + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-base + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-base + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.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-uas + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-uas + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uas:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-uas + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-uas + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-uas + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-uas + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-oms + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-oms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-oms:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-oms + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-oms + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-oms + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-threedsimulation + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-threedsimulation + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-threedsimulation:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-threedsimulation + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-threedsimulation + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-threedsimulation + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-pilot2-to-cloud + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-pilot2-to-cloud + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-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:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - 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-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-pilot2-to-cloud + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.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-jiangsuwenlv + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-jiangsuwenlv + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-jiangsuwenlv + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-jiangsuwenlv + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-jiangsuwenlv + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-jiangsuwenlv + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-blockchain + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-blockchain + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-blockchain + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-blockchain + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-blockchain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-blockchain:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-blockchain + 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-blockchain + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-blockchain + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-blockchain + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-blockchain + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-detection + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-detection + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-detection + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-detection + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-detection + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-detection + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-mws + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-mws + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-mws + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-mws + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-mws + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-securityh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-securityh5 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-securityh5:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-securityh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-securityh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-securityh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uavms-platform-manager + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-manager + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-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: harbor.cdcyy.com.cn/cmii/cmii-uavms-platform-manager:6.0.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - 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: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-manager + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.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-dispatchh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-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:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - 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-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-dispatchh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.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-cms-portal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-cms-portal + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-cms-portal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-cmsportal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-cms-portal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-pangu + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-security + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-security + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-security:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-security + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-security + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-security + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.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-qingdao + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qingdao + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-qingdao + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qingdao + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qingdao + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qingdao + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uavms-platform-security-center + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-security-center + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-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.0.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - 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-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uavms-platform-security-center + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.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-scanner + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-scanner + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-scanner + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-scanner + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-scanner + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-scanner:5.5.0-integration + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-scanner + 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-scanner + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-scanner + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-scanner + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-scanner + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-ai-brain + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-ai-brain + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-ai-brain + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-ai-brain + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-ai-brain + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-ai-brain + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-open + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-open + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-open:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-open + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-open + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-open + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qinghaitourism + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-qinghaitourism + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qinghaitourism + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-hljtt + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-hljtt + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-hljtt + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-hljtt + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-hljtt + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-hljtt + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-seniclive + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-seniclive + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-seniclive:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-seniclive + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-seniclive + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-seniclive + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-seniclive + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervisionh5 + image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-suav-platform-supervisionh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervisionh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervisionh5 + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervisionh5 + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-splice + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-splice + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-splice + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-splice + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-splice + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-hyperspectral + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-hyperspectral + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hyperspectral:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-hyperspectral + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-hyper + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-hyperspectral + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-hyperspectral + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-smauth + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-smauth + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-smauth + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-smauth + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-smauth + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-smauth:6.0.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-smauth + 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-smauth + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-smauth + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-smauth + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-smauth + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-armypeople + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-armypeople + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-armypeople:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-armypeople + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-armypeople + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-armypeople + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-armypeople + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-share + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-share + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-share + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-share + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-share + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-uasms + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 0 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-uasms + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uasms:master-1.1.0-250117 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-uasms + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-uasms + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-uasms + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-uasms + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-visualization + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-visualization + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-visualization + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-visualization + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-visualization + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-visualization + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-multiterminal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-multiterminal + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-multiterminal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-multiterminal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-multiterminal + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.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-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervision + image: harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervision:5.6.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-suav-platform-supervision + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 50m + memory: 50Mi + volumeMounts: + - name: nginx-conf + mountPath: /etc/nginx/conf.d/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervision + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervision + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-smsecret + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-smsecret + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 6.0.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-smsecret + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-smsecret + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-smsecret + image: harbor.cdcyy.com.cn/cmii/cmii-uav-platform-smsecret:5.7.0-snapshot + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: uavcloud-devflight + - name: APPLICATION_NAME + value: cmii-uav-platform-smsecret + 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-smsecret + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-smsecret + namespace: uavcloud-devflight + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-smsecret + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 6.0.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-smsecret + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-ingress.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-ingress.yaml index 232df4a..c70c9fa 100644 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-ingress.yaml +++ b/agent-common/real_project/uavcloud-devflight/old/k8s-ingress.yaml @@ -8,7 +8,7 @@ metadata: type: frontend octopus.control: all-ingress-config-wdd app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 6.2.0 + app.kubernetes.io/version: 6.0.0 annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/enable-cors: "true" @@ -292,7 +292,7 @@ metadata: type: backend octopus.control: all-ingress-config-wdd app.kubernetes.io/managed-by: octopus-control - app.kubernetes.io/version: 6.2.0 + app.kubernetes.io/version: 6.0.0 annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/enable-cors: "true" @@ -626,6 +626,22 @@ spec: backend: serviceName: cmii-uav-process servicePort: 8080 + - host: cmii-uav-sec-awareness.uavcloud-devflight.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-sec-awareness + servicePort: 8080 + - host: cmii-uav-security-trace.uavcloud-devflight.io + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + serviceName: cmii-uav-security-trace + servicePort: 8080 - host: cmii-uav-sense-adapter.uavcloud-devflight.io http: paths: @@ -700,14 +716,14 @@ metadata: 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 + app.kubernetes.io/version: 6.0.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"; + proxy_set_header upgradePrefix $http_upgrade; + proxy_set_header Connection "upgradePrefix"; spec: rules: - host: fake-domain.uavcloud-devflight.io diff --git a/agent-common/real_project/uavcloud-devflight/old/k8s-srs.yaml b/agent-common/real_project/uavcloud-devflight/old/k8s-srs.yaml index cfc2f77..125e5a6 100644 --- a/agent-common/real_project/uavcloud-devflight/old/k8s-srs.yaml +++ b/agent-common/real_project/uavcloud-devflight/old/k8s-srs.yaml @@ -458,7 +458,7 @@ data: info: name: cmii-live-operator description: cmii-live-operator - version: 6.2.0 + version: 6.0.0 scanPackage: com.cmii.live.op cloud: nacos: @@ -468,11 +468,11 @@ data: server-addr: helm-nacos:8848 extension-configs: - data-id: cmii-live-operator.yml - group: 6.2.0 + group: 6.0.0 refresh: true shared-configs: - data-id: cmii-backend-system.yml - group: 6.2.0 + group: 6.0.0 refresh: true discovery: enabled: false diff --git a/agent-deploy/d_app/CmiiImageConfig.go b/agent-deploy/d_app/CmiiImageConfig.go index d9eb8e1..bc38216 100755 --- a/agent-deploy/d_app/CmiiImageConfig.go +++ b/agent-deploy/d_app/CmiiImageConfig.go @@ -50,6 +50,8 @@ var CmiiBackendAppMap = map[string]string{ "cmii-uav-fwdd": "5.7.0", "cmii-uav-advanced5g": "5.7.0", "cmii-sky-converge": "5.7.0", + "cmii-uav-sec-awareness": "5.7.0", + "cmii-uav-security-trace": "5.7.0", } var CmiiFrontendAppMap = map[string]string{ @@ -85,6 +87,7 @@ var CmiiFrontendAppMap = map[string]string{ "cmii-uavms-platform-security-center": "5.2.0", "cmii-uav-platform-dispatchh5": "5.2.0", "cmii-uavms-platform-manager": "5.2.0", + "cmii-uav-platform-awareness": "5.2.0", } var IgnoreCmiiBackendAppName = map[string]string{ diff --git a/agent-deploy/d_app/FrontendConfigMap.go b/agent-deploy/d_app/FrontendConfigMap.go index 171e90d..ba2ddd7 100755 --- a/agent-deploy/d_app/FrontendConfigMap.go +++ b/agent-deploy/d_app/FrontendConfigMap.go @@ -44,6 +44,7 @@ var FrontendShortNameMaps = map[string]string{ "cmii-uav-platform-dikongzhixingh5": "dikongzhixingh5", "cmii-uavms-platform-manager": "uavmsmanager", "cmii-uav-platform-renyike": "renyike", + "cmii-uav-platform-awareness": "awareness", } var FrontendClientIdMaps = map[string]string{ @@ -90,4 +91,5 @@ var FrontendClientIdMaps = map[string]string{ "cmii-uav-platform-dikongzhixingh5": "empty", "cmii-uavms-platform-manager": "empty", "cmii-uav-platform-renyike": "empty", + "cmii-uav-platform-awareness": "empty", } diff --git a/agent-deploy/d_app/TemplateCmiiSRS.go b/agent-deploy/d_app/TemplateCmiiSRS.go index 2139172..936b5ce 100755 --- a/agent-deploy/d_app/TemplateCmiiSRS.go +++ b/agent-deploy/d_app/TemplateCmiiSRS.go @@ -263,7 +263,7 @@ spec: imagePullPolicy: Always - name: oss-adaptor {{- if .HarborPort }} - image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/cmii-srs-oss-adaptor:2023-SA + image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/cmii-srs-oss-adaptor:2023-SA-skip-CHL {{- else }} image: {{ .HarborIPOrCustomImagePrefix }}cmii-srs-oss-adaptor:2023-SA-skip-CHL {{- end }} diff --git a/agent-operator/CmiiDeployOperator_test.go b/agent-operator/CmiiDeployOperator_test.go index afad0d8..d7ff8d3 100755 --- a/agent-operator/CmiiDeployOperator_test.go +++ b/agent-operator/CmiiDeployOperator_test.go @@ -3,7 +3,7 @@ package main import ( "testing" "wdd.io/agent-operator/config" - + image2 "wdd.io/agent-common/image" "wdd.io/agent-common/real_project" "wdd.io/agent-common/real_project/zhejianyidong_erjipingtai" @@ -11,13 +11,13 @@ import ( ) func TestCmiiEnvDeploy(t *testing.T) { - + // dev // devflight // devoperation - + deployNamespace := config.DevFlight - + // deploy to cmii environment cmiiDeployCommonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "lab.uavcmlc.com", @@ -32,13 +32,13 @@ func TestCmiiEnvDeploy(t *testing.T) { NFSServerIP: "123.0.0.1", ApplyFilePrefix: "", } - + CmiiEnvDeploy(cmiiDeployCommonEnv, false, deployNamespace) - + } func TestCmiiEnvDeploy_ChongQingSanHua(t *testing.T) { - + // chongqing sanhua commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "36.133.115.164", @@ -48,13 +48,13 @@ func TestCmiiEnvDeploy_ChongQingSanHua(t *testing.T) { Namespace: "wrj", TagVersion: "5.6.0", } - + CmiiEnvDeploy(commonEnv, true, config.Demo) - + } func TestCmiiEnvDeploy_JiangSuNanTongErJiPingTai(t *testing.T) { - + // 江苏南通二级平台 2025-01 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "10.40.51.5", @@ -69,19 +69,19 @@ func TestCmiiEnvDeploy_JiangSuNanTongErJiPingTai(t *testing.T) { NFSServerIP: "10.40.51.5", ApplyFilePrefix: "", } - + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii611ImageList) - + } func TestCmiiEnvDeploy_ShenZhenGuiZiXiangMu(t *testing.T) { - + // 深证规自项目 2025-02 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "172.31.2.7", WebPort: "8088", HarborIPOrCustomImagePrefix: "172.31.2.7", - HarborPort: "8033/cmii", + HarborPort: "8033/admin", Namespace: "szgz", TagVersion: "6.2.0", TenantEnv: "", @@ -90,13 +90,13 @@ func TestCmiiEnvDeploy_ShenZhenGuiZiXiangMu(t *testing.T) { NFSServerIP: "172.31.2.9", ApplyFilePrefix: "", } - - CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii611ImageList) - + + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii620ArmImageList) + } func TestCmiiEnvDeploy_LiuXiTongGan(t *testing.T) { - + // 刘喜通感 // 修改 commonEnv := &z_dep.CommonEnvironmentConfig{ @@ -112,13 +112,13 @@ func TestCmiiEnvDeploy_LiuXiTongGan(t *testing.T) { NFSServerIP: "10.250.0.200", ApplyFilePrefix: "", } - + CmiiEnvDeploy(commonEnv, true, config.Demo) - + } func TestCmiiEnvDeploy_ZheJiangYiDongErJiPingTai(t *testing.T) { - + // 浙江移动二级平台 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "111.2.224.59", @@ -130,13 +130,13 @@ func TestCmiiEnvDeploy_ZheJiangYiDongErJiPingTai(t *testing.T) { NFSServerIP: "192.168.10.3", MinioInnerIP: "192.168.10.2", } - + CmiiEnvDeployOffline(commonEnv, true, zhejianyidong_erjipingtai.Cmii570ImageList) - + } func TestCmiiEnvDeploy_ZiyangTongGan(t *testing.T) { - + // 资阳通感 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "80.192.1.46", @@ -151,13 +151,13 @@ func TestCmiiEnvDeploy_ZiyangTongGan(t *testing.T) { NFSServerIP: "80.192.1.48", ApplyFilePrefix: "/root/wddproject/ProjectOctopus/agent-common/real_project/zygajg", } - + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii600ImageList) - + } func TestCmiiEnvDeploy_JiChengCeShiHuanJing(t *testing.T) { - + // 2024上线测试-集成测试环境 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "integration.uavcmlc.com", @@ -172,13 +172,13 @@ func TestCmiiEnvDeploy_JiChengCeShiHuanJing(t *testing.T) { NFSServerIP: "10.40.51.5", ApplyFilePrefix: "", } - + CmiiEnvDeploy(commonEnv, false, "") - + } func TestCmiiEnvDeploy_XinDEMO(t *testing.T) { - + // 202501 新DEMO commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "www.demo.uavcmlc.com", @@ -193,13 +193,33 @@ func TestCmiiEnvDeploy_XinDEMO(t *testing.T) { NFSServerIP: "192.168.118.15", ApplyFilePrefix: "", } - + CmiiEnvDeploy(commonEnv, true, "") + +} +func TestCmiiEnvDeploy_JiangXiOldShengJi(t *testing.T) { + // 江西 旧平台 升级 + // 2025年2月20日 + commonEnv := &z_dep.CommonEnvironmentConfig{ + WebIP: "36.138.132.240", + WebPort: "30800", + HarborIPOrCustomImagePrefix: "10.20.1.130", + HarborPort: "8033", + Namespace: "jxyd", + TagVersion: "6.2.0", + TenantEnv: "", + MinioPublicIP: "", + MinioInnerIP: "10.20.1.132", + NFSServerIP: "10.20.1.132", + ApplyFilePrefix: "", + } + + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii620ImageList) } func TestCmiiEnvDeploy_JiangXiTongGanErJiPingTai(t *testing.T) { - + // 江西同感二级平台 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "36.138.111.244", @@ -214,13 +234,13 @@ func TestCmiiEnvDeploy_JiangXiTongGanErJiPingTai(t *testing.T) { NFSServerIP: "10.20.1.135", ApplyFilePrefix: "", } - + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii600ImageList) - + } func TestCmiiEnvDeploy_ShangDongErJiPingTai(t *testing.T) { - + // 山东二级平台 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "134.80.124.6", @@ -235,13 +255,13 @@ func TestCmiiEnvDeploy_ShangDongErJiPingTai(t *testing.T) { NFSServerIP: "134.80.124.21", ApplyFilePrefix: "", } - + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii600ImageList) - + } func TestCmiiEnvDeploy_JiangSuNanTong(t *testing.T) { - + // 江苏南通 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "10.40.51.5", @@ -253,13 +273,13 @@ func TestCmiiEnvDeploy_JiangSuNanTong(t *testing.T) { NFSServerIP: "10.40.51.5", MinioInnerIP: "10.40.51.5", } - + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii570ImageList) - + } func TestCmiiEnvDeploy_ChongQingErJiPingTai(t *testing.T) { - + // 江苏南通 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "36.133.115.174", @@ -274,13 +294,13 @@ func TestCmiiEnvDeploy_ChongQingErJiPingTai(t *testing.T) { NFSServerIP: "192.168.9.11", ApplyFilePrefix: "", } - + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii570ImageList) - + } func TestCmiiEnvDeploy_YunNanErJiPingTai(t *testing.T) { - + // 江苏南通 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "36.147.6.78", @@ -295,13 +315,13 @@ func TestCmiiEnvDeploy_YunNanErJiPingTai(t *testing.T) { NFSServerIP: "192.168.118.15", ApplyFilePrefix: "", } - + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii570ImageList) - + } func TestCmiiEnvDeploy_LiaoNingYingJiPingTai(t *testing.T) { - + // 辽宁应急 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "120.201.112.20", @@ -316,13 +336,13 @@ func TestCmiiEnvDeploy_LiaoNingYingJiPingTai(t *testing.T) { NFSServerIP: "192.168.40.193", ApplyFilePrefix: "", } - + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii620ImageList) - + } func TestCmiiEnvDeploy_ZhuHaiHengQing(t *testing.T) { - + // 珠海横琴 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "10.129.80.218", @@ -337,13 +357,13 @@ func TestCmiiEnvDeploy_ZhuHaiHengQing(t *testing.T) { NFSServerIP: "10.129.80.217", ApplyFilePrefix: "", } - + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii600ImageList) - + } func TestCmiiEnvDeploy_ZheJiangErJiPingTai(t *testing.T) { - + // 浙江二级平台扩容 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "111.2.224.59", @@ -358,13 +378,13 @@ func TestCmiiEnvDeploy_ZheJiangErJiPingTai(t *testing.T) { NFSServerIP: "192.168.10.2", ApplyFilePrefix: "", } - + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii611ImageList) - + } func TestCmiiEnvDeploy_JiLinYiDong(t *testing.T) { - + // 吉林移动 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "36.135.17.162", @@ -379,13 +399,13 @@ func TestCmiiEnvDeploy_JiLinYiDong(t *testing.T) { NFSServerIP: "192.168.118.15", ApplyFilePrefix: "", } - + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii580ImageList) - + } func TestCmiiEnvDeploy_GanSuErJiPingTai(t *testing.T) { - + // 甘肃二级平台 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "117.156.17.88", @@ -400,13 +420,13 @@ func TestCmiiEnvDeploy_GanSuErJiPingTai(t *testing.T) { NFSServerIP: "10.215.66.89", ApplyFilePrefix: "", } - + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii611ImageList) - + } func TestCmiiEnvDeploy_YunNanErJiXin(t *testing.T) { - + // 云南二级平台-新 commonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "39.129.174.66", @@ -421,15 +441,15 @@ func TestCmiiEnvDeploy_YunNanErJiXin(t *testing.T) { NFSServerIP: "192.168.186.15", ApplyFilePrefix: "", } - + CmiiEnvDeployOffline(commonEnv, true, real_project.Cmii611ImageList) - + } func TestCmiiNewAppDeploy(t *testing.T) { - + deployNamespace := config.DevOperation - + // deploy to cmii environment cmiiDeployCommonEnv := &z_dep.CommonEnvironmentConfig{ WebIP: "lab.uavcmlc.com", @@ -439,7 +459,7 @@ func TestCmiiNewAppDeploy(t *testing.T) { Namespace: deployNamespace, TagVersion: "5.6.0", } - + CmiiNewAppDeploy(cmiiDeployCommonEnv, deployNamespace) - + } diff --git a/agent-operator/CmiiImageSyncOperator_test.go b/agent-operator/CmiiImageSyncOperator_test.go index 4cbfbc7..0b66490 100644 --- a/agent-operator/CmiiImageSyncOperator_test.go +++ b/agent-operator/CmiiImageSyncOperator_test.go @@ -10,61 +10,57 @@ import ( */ func TestFetchDependencyRepos_Middle(t *testing.T) { - + errorPullImageList, errorGzipImageList, realCmiiImageName, allGzipFileNameList := C_DownloadCompressUploadDependency(true, false, false) - + utils.BeautifulPrintListWithTitle(errorPullImageList, "errorPullImageList") utils.BeautifulPrintListWithTitle(errorGzipImageList, "errorGzipImageList") utils.BeautifulPrintListWithTitle(realCmiiImageName, "realCmiiImageName") utils.BeautifulPrintListWithTitle(allGzipFileNameList, "allGzipFileNameList") - + } func TestFetchDependencyRepos_RKE(t *testing.T) { - + errorPullImageList, errorGzipImageList, realCmiiImageName, allGzipFileNameList := C_DownloadCompressUploadDependency(true, false, true) - + utils.BeautifulPrintListWithTitle(errorPullImageList, "errorPullImageList") utils.BeautifulPrintListWithTitle(errorGzipImageList, "errorGzipImageList") utils.BeautifulPrintListWithTitle(realCmiiImageName, "realCmiiImageName") utils.BeautifulPrintListWithTitle(allGzipFileNameList, "allGzipFileNameList") - + } func TestLoadSplitGzipImageToTargetHarbor(t *testing.T) { errorLoadImageNameList, errorPushImageNameList := LoadSplitCmiiGzipImageToTargetHarbor("xmyd", DirectPushDeployHarborHost) - + utils.BeautifulPrintListWithTitle(errorLoadImageNameList, "errorLoadImageNameList") utils.BeautifulPrintListWithTitle(errorPushImageNameList, "errorPushImageNameList") } func TestLoadSplitDepGzipImageToTargetHarbor(t *testing.T) { errorLoadImageNameList, errorPushImageNameList := LoadSplitDepGzipImageToTargetHarbor(DirectPushDeployHarborHost) - + utils.BeautifulPrintListWithTitle(errorLoadImageNameList, "errorLoadImageNameList") utils.BeautifulPrintListWithTitle(errorPushImageNameList, "errorPushImageNameList") } func TestPullFromEntityAndSyncConditionally(t *testing.T) { - + // 下载镜像的核心函数 sync := ImageSyncEntity{ DownloadCondition: &DownloadEntity{ ShouldDownloadImage: true, - ProjectName: "szgz_6.2.0", - ProjectVersion: "6.2.0-szgz-arm", - CmiiNameTagList: []string{ + ProjectName: "6.2.0_demo", + ProjectVersion: "6.2.0-demo", + CmiiNameTagList: []string{ //"cmii-uav-mqtthandler:5.4.0-bjdyt-052102", }, - FullNameImageList: []string{ - "harbor.cdcyy.com.cn/cmii/cmii-uav-mission:6.2.0-szgz-arm", - "harbor.cdcyy.com.cn/cmii/cmii-uav-advanced5g:6.2.0-szgz-arm", - "harbor.cdcyy.com.cn/cmii/cmii-uav-sense-adapter:6.2.0-szgz-arm", - }, + FullNameImageList: []string{}, DownloadAuthUserName: "", DownloadAuthPassword: "", }, - + CompressCondition: &CompressEntity{ ShouldCompressImageToGzip: true, ShouldGzipSplit: true, @@ -76,12 +72,12 @@ func TestPullFromEntityAndSyncConditionally(t *testing.T) { DirectHarborHost: "harbor.wdd.io:8033", ShouldDirectPushToHarbor: false, } - + // 调用函数并获取结果。这里需要根据你的实际需求来验证返回的结果是否符合预期。 result := sync.PullFromEntityAndSyncConditionally() - + utils.BeautifulPrint(result) - + // 添加断言以检查函数的输出,例如: // ...其他验证逻辑... } @@ -93,7 +89,7 @@ func TestPullFromEntityAndSyncConditionally_ChongQingErJiPingTai(t *testing.T) { ShouldDownloadImage: true, ProjectName: "cqejpt", ProjectVersion: "", - CmiiNameTagList: []string{ + CmiiNameTagList: []string{ //"cmii-uav-mqtthandler:5.4.0-bjdyt-052102", }, FullNameImageList: []string{ @@ -162,7 +158,7 @@ func TestPullFromEntityAndSyncConditionally_ChongQingErJiPingTai(t *testing.T) { DownloadAuthUserName: "", DownloadAuthPassword: "", }, - + CompressCondition: &CompressEntity{ ShouldCompressImageToGzip: false, ShouldGzipSplit: true, @@ -174,43 +170,43 @@ func TestPullFromEntityAndSyncConditionally_ChongQingErJiPingTai(t *testing.T) { DirectHarborHost: "chongqingshcis-a189ec98.ecis.chongqing-1.cmecloud.cn", ShouldDirectPushToHarbor: true, } - + // 调用函数并获取结果。这里需要根据你的实际需求来验证返回的结果是否符合预期。 result := sync.PullFromEntityAndSyncConditionally() - + utils.BeautifulPrint(result) - + // 添加断言以检查函数的输出,例如: // ...其他验证逻辑... } func TestDownloadLoadTagUpload(t *testing.T) { - + localGzipFileList := []string{ "/root/octopus_image/middle", "/root/octopus_image/rke", "/root/octopus_image/xjyd", } - + for _, s := range localGzipFileList { log.InfoF("start to sync => %s", s) - + targetImageFullNameList := A_DownloadLoadTagUpload(false, "", "", s, "172.28.0.251:8033") - + utils.BeautifulPrintListWithTitle(targetImageFullNameList, "targetImageFullNameList") - + } - + } func TestConcatAndUniformCmiiImage(t *testing.T) { // 创建一个模拟的fullImageList和cmiiImageList,用于测试函数的行为。这里需要根据你的实际需求来设置mock数据和预期结果。 fullImageList := []string{"image3", "image4"} cmiiImageList := []string{"image1", "image2"} - + // 调用函数并获取结果。这里需要根据你的实际需求来验证返回的结果是否符合预期。 result := concatAndUniformCmiiImage(fullImageList, cmiiImageList) - + // 添加断言以检查函数的输出,例如: expectedResult := []string{"image3", "image4", image2.CmiiHarborPrefix + "image1", image2.CmiiHarborPrefix + "image2"} if len(result) != len(expectedResult) { @@ -232,9 +228,9 @@ func TestImageSyncEntity_PullFromEntityAndSyncConditionally(t *testing.T) { }, DirectHarborHost: "36.134.71.138", } - + imageSyncResult := imageSyncEntity.PullFromEntityAndSyncConditionally() - + utils.BeautifulPrint(imageSyncResult) - + } diff --git a/agent-operator/image/middle-image-arm64-250218.txt b/agent-operator/image/middle-image-arm64-250218.txt index e69de29..f5e9dc1 100644 --- a/agent-operator/image/middle-image-arm64-250218.txt +++ b/agent-operator/image/middle-image-arm64-250218.txt @@ -0,0 +1,17 @@ +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: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 +dyrnq/nfs-subdir-external-provisioner:v4.0.2 +jerrychina2020/rke-tools:v0.175-linux +jerrychina2020/rke-tools:v0.175 +busybox:latest diff --git a/agent-operator/image/middle-image.txt b/agent-operator/image/middle-image.txt index c4a37db..b6104a6 100755 --- a/agent-operator/image/middle-image.txt +++ b/agent-operator/image/middle-image.txt @@ -1,25 +1,18 @@ -bitnami/redis:6.2.6-debian-10-r0 bitnami/redis:6.2.14-debian-11-r1 -bitnami/mysql:8.0.35-debian-11-r1 bitnami/mysql:8.1.0-debian-11-r42 simonrupf/chronyd:0.4.3 -bitnami/bitnami-shell:10-debian-10-r140 bitnami/bitnami-shell:11-debian-11-r136 -bitnami/rabbitmq:3.9.12-debian-10-r3 bitnami/rabbitmq:3.11.26-debian-11-r2 -ossrs/srs:v4.0.136 ossrs/srs:v5.0.195 -emqx/emqx:4.2.12 emqx/emqx:5.5.1 nacos/nacos-server:v2.1.2 nacos/nacos-server:v2.1.2-slim mongo:5.0 -rabbitmq:3.9-management -bitnami/minio:2022.5.4 bitnami/minio:2023.5.4 kubernetesui/dashboard:v2.0.1 kubernetesui/metrics-scraper:v1.0.4 -nginx:1.21.3 -redis:6.0.20-alpine +nginx:1.24.0 dyrnq/nfs-subdir-external-provisioner:v4.0.2 +jerrychina2020/rke-tools:v0.175-linux +jerrychina2020/rke-tools:v0.175 busybox:latest diff --git a/agent-wdd/cmd/Base.go b/agent-wdd/cmd/Base.go index 0378c6f..19427df 100644 --- a/agent-wdd/cmd/Base.go +++ b/agent-wdd/cmd/Base.go @@ -4,7 +4,9 @@ import ( "agent-wdd/config" "agent-wdd/log" "agent-wdd/op" + "agent-wdd/utils" "fmt" + "github.com/spf13/cobra" ) @@ -15,6 +17,8 @@ var ( centosCommonTools = []string{ "deltarpm", "net-tools", "iputils", "bind-utils", "lsof", "curl", "wget", "vim", "mtr", "htop", } + + dockerLocalInstallPath = "/root/wdd/docker-20.10.15.tgz" // 本地安装docker的文件路径 ) // 添加base子命令 @@ -77,7 +81,22 @@ func addDockerSubcommands(cmd *cobra.Command) { Short: "网络安装Docker", Args: cobra.ExactArgs(1), Run: func(cmd *cobra.Command, args []string) { - fmt.Printf("Installing Docker version: %s\n", args[0]) + + // 检查参数 + if len(args) > 0 { + fmt.Printf("Installing Docker version: %s\n", args[0]) + } + + // 没有传递参数,使用默认参数 + version := "26.0.7" + log.Info("Installing Docker version: %s", version) + + // 安装docker + packOperator := op.AgentPackOperator + packOperator.PackageInit() + // ubuntu 和 centos的安装命令是不是一样的 + packOperator.Install([]string{"docker-ce", "docker-ce-cli", "containerd.io", "docker-buildx-plugin", "docker-compose-plugin"}) + }, } @@ -94,7 +113,14 @@ func addDockerSubcommands(cmd *cobra.Command) { Short: "本地安装Docker", Args: cobra.ExactArgs(1), Run: func(cmd *cobra.Command, args []string) { - fmt.Printf("Installing Docker from: %s\n", args[0]) + exist := utils.FileExistAndNotNull(dockerLocalInstallPath) + if !exist { + log.Error("Docker local install file not found: %s", dockerLocalInstallPath) + return + } + + // 解压文件 + utils.Unzip(dockerLocalInstallPath, "/root/wdd") }, } diff --git a/agent-wdd/one-build-and-run.ps1 b/agent-wdd/one-build-and-run.ps1 index 1e52cb1..ec2f5d2 100644 --- a/agent-wdd/one-build-and-run.ps1 +++ b/agent-wdd/one-build-and-run.ps1 @@ -16,7 +16,7 @@ try { Write-Host "4. Exec the command ..." -ForegroundColor Blue Write-Host "" Write-Host "" - ssh root@192.168.35.71 "chmod +x agent-wdd_linux_amd64 && ./agent-wdd_linux_amd64 base tools" + ssh root@192.168.35.71 "chmod +x agent-wdd_linux_amd64 && ./agent-wdd_linux_amd64 info disk" Write-Host "" Write-Host "" Write-Host "5. Cheak Info Result ..." -ForegroundColor Blue diff --git a/agent-wdd/op/Operator.go b/agent-wdd/op/Operator.go index 937f27b..7316a85 100644 --- a/agent-wdd/op/Operator.go +++ b/agent-wdd/op/Operator.go @@ -53,6 +53,7 @@ func (op *PackageOperator) Install(tools []string) { } } +// PackageInit 初始化包管理器, 如果本机是ubuntu或者debian, 则使用apt, 否则使用yum func (op *PackageOperator) PackageInit() { log.Info("PackageInit !")