diff --git a/agent-common/image/ImageNameConvert.go b/agent-common/image/ImageNameConvert.go index b517fa5..bc493cf 100644 --- a/agent-common/image/ImageNameConvert.go +++ b/agent-common/image/ImageNameConvert.go @@ -1,6 +1,8 @@ package image import ( + "os" + "path/filepath" "strings" "wdd.io/agent-common/logger" ) @@ -172,3 +174,31 @@ func GzipFileNameToImageNameAndTag(gzipFileName string) (imageName, imageTag str return "", "" } + +func GzipFolderPathToCmiiImageTagMaps(gzipFolderPath string) (frontendImageVersionMap, backendImageVersionMap, srsImageVersionMap map[string]string) { + + frontendImageVersionMap = make(map[string]string) + backendImageVersionMap = make(map[string]string) + srsImageVersionMap = make(map[string]string) + + filepath.WalkDir(gzipFolderPath, func(path string, d os.DirEntry, err error) error { + //fmt.Println(path) + name := d.Name() + if strings.HasSuffix(name, ".tar.gz") { + imageName, imageTag := GzipFileNameToImageNameAndTag(name) + if strings.Contains(imageName, "platform") { + frontendImageVersionMap[imageName] = imageTag + } else if strings.Contains(imageName, "srs") { + srsImageVersionMap[imageName] = imageTag + } else if strings.Contains(imageName, "operator") { + srsImageVersionMap[imageName] = imageTag + } else { + backendImageVersionMap[imageName] = imageTag + } + } + + return nil + }) + + return frontendImageVersionMap, backendImageVersionMap, srsImageVersionMap +} diff --git a/agent-common/image/ImageNameConvert_test.go b/agent-common/image/ImageNameConvert_test.go index 4cf44ca..315e7d3 100644 --- a/agent-common/image/ImageNameConvert_test.go +++ b/agent-common/image/ImageNameConvert_test.go @@ -2,7 +2,11 @@ package image import ( "fmt" + "os" + "path/filepath" + "strings" "testing" + "wdd.io/agent-common/utils" ) func TestImageFullNameToGzipFileName(t *testing.T) { @@ -195,3 +199,34 @@ func TestGzipFileNameToImageFullName(t *testing.T) { fmt.Println("--------------------") } } + +func TestImageGzipFileNameToImageFullName(t *testing.T) { + + frontendMap := make(map[string]string) + backendMap := make(map[string]string) + srsMap := make(map[string]string) + + gzipFilePrefix := "/root/octopus_image/xjyd/" + filepath.WalkDir(gzipFilePrefix, func(path string, d os.DirEntry, err error) error { + //fmt.Println(path) + name := d.Name() + if strings.HasSuffix(name, ".tar.gz") { + imageName, imageTag := GzipFileNameToImageNameAndTag(name) + if strings.Contains(imageName, "platform") { + frontendMap[imageName] = imageTag + } else if strings.Contains(imageName, "srs") { + srsMap[imageName] = imageTag + } else if strings.Contains(imageName, "operator") { + srsMap[imageName] = imageTag + } else { + backendMap[imageName] = imageTag + } + } + + return nil + }) + + utils.BeautifulPrint(backendMap) + utils.BeautifulPrint(frontendMap) + utils.BeautifulPrint(srsMap) +} diff --git a/agent-go/a_init/AgentInitialization.go b/agent-go/a_init/AgentInitialization.go index 8f1752a..b15f9a1 100644 --- a/agent-go/a_init/AgentInitialization.go +++ b/agent-go/a_init/AgentInitialization.go @@ -308,10 +308,15 @@ func uniformAgentServerName(agentInfo *a_status.AgentInfo, agentServerInfo *a_ag // 不是标准的AgentName格式 city := agentServerInfo.City - city = strings.Title(city) - if strings.Contains(city, " ") { - city = strings.Join(strings.Split(city, " "), "") + if city == "" { + city = "Local" + } else { + city = strings.Title(city) + if strings.Contains(city, " ") { + city = strings.Join(strings.Split(city, " "), "") + } } + // uniform city format agentServerInfo.City = city diff --git a/agent-go/main.go b/agent-go/main.go index f7a5f60..83c114d 100644 --- a/agent-go/main.go +++ b/agent-go/main.go @@ -9,6 +9,8 @@ import ( var log = logger.Log +// C:\Users\wddsh\go\bin\gox.exe -osarch="linux/amd64" -output "build/agent-operator_{{.OS}}_{{.Arch}}" +// /root/go/bin/gox -osarch="linux/amd64" -output "build/octopus-agent_{{.OS}}_{{.Arch}}" func main() { // 解析命令行参数 diff --git a/agent-operator/CmiiK8sOperator_test.go b/agent-operator/CmiiK8sOperator_test.go index a3f5364..35fd70c 100644 --- a/agent-operator/CmiiK8sOperator_test.go +++ b/agent-operator/CmiiK8sOperator_test.go @@ -253,7 +253,7 @@ func TestUpdateCmiiDeploymentImageTag(t *testing.T) { // 计算20:00的时间 now := time.Now() - targetTime := time.Date(now.Year(), now.Month(), now.Day(), 8, 58, 30, 0, now.Location()) + targetTime := time.Date(now.Year(), now.Month(), now.Day(), 18, 30, 00, 0, now.Location()) duration := time.Duration(0) @@ -271,21 +271,28 @@ func TestUpdateCmiiDeploymentImageTag(t *testing.T) { time.Sleep(duration) cmiiEnv := demo - //appName := "cmii-uav-platform" + //appName := "cmii-uav-platform"i //newTag := "5.4.0-032601" appNameTagMap := map[string]string{ //"cmii-uav-multilink": "5.5.0", - "cmii-uav-industrial-portfolio": "5.5.0-050801", + "cmii-uav-platform": "5.6.0-051301", } for appName, newTag := range appNameTagMap { ok, oldImageTag, newImageTag := UpdateCmiiDeploymentImageTag(cmiiEnv, appName, newTag) - assert.Equal(t, ok, true, "update image tag failed !") + + if !ok { + log.ErrorF("update image tag failed !") + UpdateCmiiDeploymentImageTag(cmiiEnv, appName, oldImageTag) + } utils.SplitLinePrint() check := DefaultCmiiOperator.DeploymentStatusCheck(cmiiEnv, appName, 300) assert.Equal(t, check, true, "deployment run failed!") + if !check { + UpdateCmiiDeploymentImageTag(cmiiEnv, appName, oldImageTag) + } deploy := DefaultCmiiOperator.DeploymentOneInterface(cmiiEnv, appName) diff --git a/agent-operator/CmiiOperator_test.go b/agent-operator/CmiiOperator_test.go index ea4054f..9b35608 100644 --- a/agent-operator/CmiiOperator_test.go +++ b/agent-operator/CmiiOperator_test.go @@ -53,10 +53,11 @@ func TestPullFromEntityAndSyncConditionally(t *testing.T) { }, FullNameImageList: nil, ProjectVersion: "", - ProjectName: "xjyd", + ProjectName: "szga", DirectHarborHost: "harbor.wdd.io", + DownloadImage: true, CompressImageToGzip: true, - UploadToDemoMinio: true, + UploadToDemoMinio: false, ShouldDirectPushToHarbor: false, } diff --git a/agent-operator/deploy/OctopusDeploy.go b/agent-operator/deploy/OctopusDeploy.go index a813856..d46a5f0 100644 --- a/agent-operator/deploy/OctopusDeploy.go +++ b/agent-operator/deploy/OctopusDeploy.go @@ -2,14 +2,13 @@ package deploy import ( "os" + image2 "wdd.io/agent-common/image" "wdd.io/agent-common/logger" "wdd.io/agent-operator/deploy/a_dashboard" "wdd.io/agent-operator/deploy/a_nfs" "wdd.io/agent-operator/deploy/b_middle" "wdd.io/agent-operator/deploy/c_app" "wdd.io/agent-operator/deploy/z_dep" - "wdd.io/agent-operator/image" - "wdd.io/agent-operator/real_project/zjjt" ) var log = logger.Log @@ -30,6 +29,30 @@ func OctopusDeploy() { NFSServerIP: "192.168.0.14", } + //a_dashboard.K8sDashboardDeploy(common) + // + //a_nfs.NFSDeploy(common) + //a_nfs.NFSTestDeploy(common) + // + //// pvc + //b_middle.PVCDeploy(common) + // + //// middlewares + //b_middle.MidMySQlDeploy(common) + //b_middle.MidRedisDeploy(common) + //b_middle.MidEmqxDeploy(common) + //b_middle.MidMongoDeploy(common) + //b_middle.MidRabbitMQDeploy(common) + //b_middle.MidRabbitMQDeploy(common) + //b_middle.MidNacosDeploy(common) + // + //configMapDeploy(common) + //c_app.IngressDeploy(common) + // + //frontendImageVersionMap, backendImageVersionMap := image.FrontendBackendSrsImageMapFromCmiiImageMap(zjjt.CmiiImageMap) + // + //backendDeploy(common, backendImageVersionMap) + //frontendDeploy(common, frontendImageVersionMap) a_dashboard.K8sDashboardDeploy(common) a_nfs.NFSDeploy(common) @@ -61,19 +84,21 @@ func CmiiAppDeploy() { // common environment common := &z_dep.CommonEnvironmentConfig{ - WebIP: "10.100.2.121", + WebIP: "36.133.201.78", WebPort: "8888", - HarborIP: "10.100.2.121", + HarborIP: "192.168.0.14", HarborPort: "8033", - Namespace: "zjjt", + Namespace: "xjyd", TagVersion: "5.5.0", TenantEnv: "", - MinioPublicIP: "10.100.2.116", - MinioInnerIP: "10.100.2.116", - NFSServerIP: "10.100.2.121", + MinioPublicIP: "36.133.201.146", + MinioInnerIP: "192.168.0.21", + NFSServerIP: "192.168.0.14", } - frontendImageVersionMap, backendImageVersionMap := image.FrontendBackendImageMapFromCmiiImageMap(zjjt.CmiiImageMap) + //frontendImageVersionMap, backendImageVersionMap, _ := image.FrontendBackendSrsImageMapFromCmiiImageMap(zjjt.CmiiImageMap) + gzipFilePrefix := "/root/octopus_image/xjyd/" + frontendImageVersionMap, backendImageVersionMap, _ := image2.GzipFolderPathToCmiiImageTagMaps(gzipFilePrefix) backendDeploy(common, backendImageVersionMap) frontendDeploy(common, frontendImageVersionMap) diff --git a/agent-operator/deploy/z_dep/G.go b/agent-operator/deploy/z_dep/G.go index 4d01103..bff19ce 100644 --- a/agent-operator/deploy/z_dep/G.go +++ b/agent-operator/deploy/z_dep/G.go @@ -20,7 +20,7 @@ var log = logger.Log func init() { switch runtime.GOOS { case "linux": - ApplyFilePrefix = "Linux value" + ApplyFilePrefix = "/home/wdd/IdeaProjects/ProjectOctopus/agent-operator/deploy/z_file/" case "darwin": // macOS ApplyFilePrefix = "MacOS value" case "windows": diff --git a/agent-operator/deploy/z_file/k8s-backend.yaml b/agent-operator/deploy/z_file/k8s-backend.yaml index 5eb4ab6..e15abc0 100644 --- a/agent-operator/deploy/z_file/k8s-backend.yaml +++ b/agent-operator/deploy/z_file/k8s-backend.yaml @@ -1,982 +1,9 @@ --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-grid-datasource - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-datasource - image: 10.100.2.121:8033/cmii/cmii-uav-grid-datasource:5.2.0-24810 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-grid-datasource - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-datasource - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-suav-supervision - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-suav-supervision - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-suav-supervision - image: 10.100.2.121:8033/cmii/cmii-suav-supervision:5.4.0-032501 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-suav-supervision - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-suav-supervision - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-developer - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-developer - image: 10.100.2.121:8033/cmii/cmii-uav-developer:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-developer - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-developer - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-tower - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-tower - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-tower - image: 10.100.2.121:8033/cmii/cmii-uav-tower:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-tower - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-tower - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-oauth - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-oauth - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-oauth - image: 10.100.2.121:8033/cmii/cmii-uav-oauth:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-oauth - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-oauth - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-device - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-device - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-device - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-device - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-device - image: 10.100.2.121:8033/cmii/cmii-uav-device:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-device - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-device - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-threedsimulation - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-threedsimulation - image: 10.100.2.121:8033/cmii/cmii-uav-threedsimulation:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-threedsimulation - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-threedsimulation - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-mqtthandler - namespace: zjjt + namespace: xjyd labels: cmii.type: backend cmii.app: cmii-uav-mqtthandler @@ -1011,15 +38,15 @@ spec: - name: harborsecret containers: - name: cmii-uav-mqtthandler - image: 10.100.2.121:8033/cmii/cmii-uav-mqtthandler:5.5.0 + image: 192.168.0.14:8033/cmii/cmii-uav-mqtthandler:5.5.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: zjjt + value: xjyd - name: APPLICATION_NAME value: cmii-uav-mqtthandler - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -1043,12 +70,12 @@ spec: containerPort: 8080 protocol: TCP resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m livenessProbe: httpGet: path: /cmii/ping @@ -1083,7 +110,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: zjjt/cmii-uav-mqtthandler + subPath: xjyd/cmii-uav-mqtthandler volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -1093,7 +120,7 @@ apiVersion: v1 kind: Service metadata: name: cmii-uav-mqtthandler - namespace: zjjt + namespace: xjyd labels: cmii.type: backend cmii.app: cmii-uav-mqtthandler @@ -1113,3345 +140,9 @@ spec: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-app-release - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-app-release - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-app-release - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-app-release - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-app-release - image: 10.100.2.121:8033/cmii/cmii-app-release:4.2.0-validation - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-app-release - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-app-release - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-logger - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-logger - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-logger - image: 10.100.2.121:8033/cmii/cmii-uav-logger:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-logger - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-logger - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-surveillance - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-surveillance - image: 10.100.2.121:8033/cmii/cmii-uav-surveillance:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-surveillance - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-surveillance - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-user - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-user - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-user - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-user - image: 10.100.2.121:8033/cmii/cmii-uav-user:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-user - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-srs-oss-adaptor - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-srs-oss-adaptor - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-srs-oss-adaptor - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-srs-oss-adaptor - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-srs-oss-adaptor - image: 10.100.2.121:8033/cmii/cmii-srs-oss-adaptor:2023-SA - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-srs-oss-adaptor - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/cmii-srs-oss-adaptor - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-srs-oss-adaptor - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-srs-oss-adaptor - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-srs-oss-adaptor - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-gis-server - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-gis-server - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-gis-server - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-gis-server - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-gis-server - image: 10.100.2.121:8033/cmii/cmii-uav-gis-server:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-gis-server - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-gis-server - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-open-gateway - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-open-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-open-gateway - image: 10.100.2.121:8033/cmii/cmii-open-gateway:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-open-gateway - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-open-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-autowaypoint - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-autowaypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-autowaypoint - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-autowaypoint - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-autowaypoint - image: 10.100.2.121:8033/cmii/cmii-uav-autowaypoint:4.2.0-beta - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-autowaypoint - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-autowaypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-grid-manage - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-manage - image: 10.100.2.121:8033/cmii/cmii-uav-grid-manage:5.1.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-grid-manage - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-manage - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-alarm - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-alarm - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-alarm - image: 10.100.2.121:8033/cmii/cmii-uav-alarm:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-alarm - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-alarm - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-alarm - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-gateway - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-gateway - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-gateway - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-gateway - image: 10.100.2.121:8033/cmii/cmii-uav-gateway:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-gateway - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-gateway - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-industrial-portfolio - image: 10.100.2.121:8033/cmii/cmii-uav-industrial-portfolio:5.5.0-041801 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-industrial-portfolio - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-industrial-portfolio - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-process - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-process - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-process - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-process - image: 10.100.2.121:8033/cmii/cmii-uav-process:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-process - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-process - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-kpi-monitor - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-kpi-monitor - image: 10.100.2.121:8033/cmii/cmii-uav-kpi-monitor:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-kpi-monitor - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-kpi-monitor - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-waypoint - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-waypoint - image: 10.100.2.121:8033/cmii/cmii-uav-waypoint:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-waypoint - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-waypoint - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-integration - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-integration - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-integration - image: 10.100.2.121:8033/cmii/cmii-uav-integration:5.5.0-0419 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-integration - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-integration - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-integration - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-notice - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-notice - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-notice - image: 10.100.2.121:8033/cmii/cmii-uav-notice:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-notice - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-notice - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-notice - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-material-warehouse - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-material-warehouse - image: 10.100.2.121:8033/cmii/cmii-uav-material-warehouse:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-material-warehouse - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-uav-material-warehouse - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-admin-user - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-admin-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-admin-user - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-admin-user - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-admin-user - image: 10.100.2.121:8033/cmii/cmii-admin-user:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-admin-user - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-admin-user - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-multilink - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-multilink - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-multilink - image: 10.100.2.121:8033/cmii/cmii-uav-multilink:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-multilink - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-multilink - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-live-operator - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-live-operator - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-live-operator - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-live-operator - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-live-operator - image: 10.100.2.121:8033/cmii/cmii-live-operator:5.2.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-live-operator - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/cmii-live-operator - volumes: - - name: nfs-backend-log-volume - persistentVolumeClaim: - claimName: nfs-backend-log-pvc ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-live-operator - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-live-operator - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - type: ClusterIP - selector: - cmii.type: backend - cmii.app: cmii-live-operator - ports: - - name: backend-tcp - port: 8080 - protocol: TCP - targetPort: 8080 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-airspace - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-airspace - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-airspace - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-airspace - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-airspace - image: 10.100.2.121:8033/cmii/cmii-uav-airspace:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-airspace - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-airspace - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-grid-engine - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-grid-engine - image: 10.100.2.121:8033/cmii/cmii-uav-grid-engine:5.1.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-grid-engine - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-grid-engine - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-emergency - namespace: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: backend - cmii.app: cmii-uav-emergency - template: - metadata: - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: uavcloud.env - operator: In - values: - - demo - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-emergency - image: 10.100.2.121:8033/cmii/cmii-uav-emergency:5.3.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-emergency - - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - - name: NACOS_REGISTRY - value: "helm-nacos:8848" - - name: NACOS_DISCOVERY_IP - valueFrom: - fieldRef: - fieldPath: status.podIP - - name: NACOS_DISCOVERY_PORT - value: "8080" - - name: BIZ_CONFIG_GROUP - value: 5.5.0 - - name: SYS_CONFIG_GROUP - value: 5.5.0 - - name: IMAGE_VERSION - value: 5.5.0 - - name: NACOS_USERNAME - value: "developer" - - name: NACOS_PASSWORD - value: "Deve@9128201" - ports: - - name: pod-port - containerPort: 8080 - protocol: TCP - resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m - livenessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 5 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 3 - startupProbe: - httpGet: - path: /cmii/ping - port: pod-port - scheme: HTTP - initialDelaySeconds: 60 - timeoutSeconds: 3 - periodSeconds: 20 - successThreshold: 1 - failureThreshold: 5 - volumeMounts: - - name: nfs-backend-log-volume - mountPath: /cmii/logs - readOnly: false - subPath: zjjt/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: zjjt - labels: - cmii.type: backend - cmii.app: cmii-uav-emergency - octopus/control: backend-app-1.0.0 - app.kubernetes.io/managed-by: octopus - app.kubernetes.io/app-version: 5.5.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-data-post-process - namespace: zjjt + namespace: xjyd labels: cmii.type: backend cmii.app: cmii-uav-data-post-process @@ -4486,15 +177,15 @@ spec: - name: harborsecret containers: - name: cmii-uav-data-post-process - image: 10.100.2.121:8033/cmii/cmii-uav-data-post-process:5.5.0 + image: 192.168.0.14:8033/cmii/cmii-uav-data-post-process:5.5.0-042501 imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: zjjt + value: xjyd - name: APPLICATION_NAME value: cmii-uav-data-post-process - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -4518,12 +209,12 @@ spec: containerPort: 8080 protocol: TCP resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m livenessProbe: httpGet: path: /cmii/ping @@ -4558,7 +249,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: zjjt/cmii-uav-data-post-process + subPath: xjyd/cmii-uav-data-post-process volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -4568,7 +259,7 @@ apiVersion: v1 kind: Service metadata: name: cmii-uav-data-post-process - namespace: zjjt + namespace: xjyd labels: cmii.type: backend cmii.app: cmii-uav-data-post-process @@ -4589,11 +280,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-admin-gateway - namespace: zjjt + name: cmii-uav-device + namespace: xjyd labels: cmii.type: backend - cmii.app: cmii-admin-gateway + cmii.app: cmii-uav-device octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.5.0 @@ -4605,12 +296,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-admin-gateway + cmii.app: cmii-uav-device template: metadata: labels: cmii.type: backend - cmii.app: cmii-admin-gateway + cmii.app: cmii-uav-device spec: affinity: nodeAffinity: @@ -4624,16 +315,16 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-admin-gateway - image: 10.100.2.121:8033/cmii/cmii-admin-gateway:5.5.0 + - name: cmii-uav-device + image: 192.168.0.14:8033/cmii/cmii-uav-device:5.5.0-042301 imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: zjjt + value: xjyd - name: APPLICATION_NAME - value: cmii-admin-gateway + value: cmii-uav-device - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -4657,12 +348,12 @@ spec: containerPort: 8080 protocol: TCP resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m livenessProbe: httpGet: path: /cmii/ping @@ -4697,7 +388,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: zjjt/cmii-admin-gateway + subPath: xjyd/cmii-uav-device volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -4706,11 +397,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-admin-gateway - namespace: zjjt + name: cmii-uav-device + namespace: xjyd labels: cmii.type: backend - cmii.app: cmii-admin-gateway + cmii.app: cmii-uav-device octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.5.0 @@ -4718,7 +409,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-admin-gateway + cmii.app: cmii-uav-device ports: - name: backend-tcp port: 8080 @@ -4728,11 +419,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-brain - namespace: zjjt + name: cmii-uav-industrial-portfolio + namespace: xjyd labels: cmii.type: backend - cmii.app: cmii-uav-brain + cmii.app: cmii-uav-industrial-portfolio octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.5.0 @@ -4744,12 +435,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-brain + cmii.app: cmii-uav-industrial-portfolio template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-brain + cmii.app: cmii-uav-industrial-portfolio spec: affinity: nodeAffinity: @@ -4763,16 +454,16 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-brain - image: 10.100.2.121:8033/cmii/cmii-uav-brain:5.5.0 + - name: cmii-uav-industrial-portfolio + image: 192.168.0.14:8033/cmii/cmii-uav-industrial-portfolio:5.5.0-050801 imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: zjjt + value: xjyd - name: APPLICATION_NAME - value: cmii-uav-brain + value: cmii-uav-industrial-portfolio - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -4796,12 +487,12 @@ spec: containerPort: 8080 protocol: TCP resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m livenessProbe: httpGet: path: /cmii/ping @@ -4836,7 +527,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: zjjt/cmii-uav-brain + subPath: xjyd/cmii-uav-industrial-portfolio volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -4845,11 +536,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-brain - namespace: zjjt + name: cmii-uav-industrial-portfolio + namespace: xjyd labels: cmii.type: backend - cmii.app: cmii-uav-brain + cmii.app: cmii-uav-industrial-portfolio octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.5.0 @@ -4857,7 +548,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-brain + cmii.app: cmii-uav-industrial-portfolio ports: - name: backend-tcp port: 8080 @@ -4867,11 +558,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-mission - namespace: zjjt + name: cmii-uav-integration + namespace: xjyd labels: cmii.type: backend - cmii.app: cmii-uav-mission + cmii.app: cmii-uav-integration octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.5.0 @@ -4883,12 +574,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-mission + cmii.app: cmii-uav-integration template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-mission + cmii.app: cmii-uav-integration spec: affinity: nodeAffinity: @@ -4902,16 +593,16 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-mission - image: 10.100.2.121:8033/cmii/cmii-uav-mission:5.5.0 + - name: cmii-uav-integration + image: 192.168.0.14:8033/cmii/cmii-uav-integration:5.5.0-0507 imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: zjjt + value: xjyd - name: APPLICATION_NAME - value: cmii-uav-mission + value: cmii-uav-integration - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -4935,12 +626,12 @@ spec: containerPort: 8080 protocol: TCP resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m livenessProbe: httpGet: path: /cmii/ping @@ -4975,7 +666,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: zjjt/cmii-uav-mission + subPath: xjyd/cmii-uav-integration volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -4984,11 +675,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-mission - namespace: zjjt + name: cmii-uav-integration + namespace: xjyd labels: cmii.type: backend - cmii.app: cmii-uav-mission + cmii.app: cmii-uav-integration octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.5.0 @@ -4996,7 +687,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-mission + cmii.app: cmii-uav-integration ports: - name: backend-tcp port: 8080 @@ -5006,11 +697,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-cms - namespace: zjjt + name: cmii-uav-autowaypoint + namespace: xjyd labels: cmii.type: backend - cmii.app: cmii-uav-cms + cmii.app: cmii-uav-autowaypoint octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.5.0 @@ -5022,12 +713,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-uav-cms + cmii.app: cmii-uav-autowaypoint template: metadata: labels: cmii.type: backend - cmii.app: cmii-uav-cms + cmii.app: cmii-uav-autowaypoint spec: affinity: nodeAffinity: @@ -5041,16 +732,16 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-cms - image: 10.100.2.121:8033/cmii/cmii-uav-cms:5.5.0 + - name: cmii-uav-autowaypoint + image: 192.168.0.14:8033/cmii/cmii-uav-autowaypoint:4.2.0-beta imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: zjjt + value: xjyd - name: APPLICATION_NAME - value: cmii-uav-cms + value: cmii-uav-autowaypoint - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -5074,12 +765,12 @@ spec: containerPort: 8080 protocol: TCP resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m livenessProbe: httpGet: path: /cmii/ping @@ -5114,7 +805,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: zjjt/cmii-uav-cms + subPath: xjyd/cmii-uav-autowaypoint volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -5123,11 +814,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-cms - namespace: zjjt + name: cmii-uav-autowaypoint + namespace: xjyd labels: cmii.type: backend - cmii.app: cmii-uav-cms + cmii.app: cmii-uav-autowaypoint octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.5.0 @@ -5135,7 +826,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-uav-cms + cmii.app: cmii-uav-autowaypoint ports: - name: backend-tcp port: 8080 @@ -5145,11 +836,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-admin-data - namespace: zjjt + name: cmii-uav-grid-datasource + namespace: xjyd labels: cmii.type: backend - cmii.app: cmii-admin-data + cmii.app: cmii-uav-grid-datasource octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.5.0 @@ -5161,12 +852,12 @@ spec: selector: matchLabels: cmii.type: backend - cmii.app: cmii-admin-data + cmii.app: cmii-uav-grid-datasource template: metadata: labels: cmii.type: backend - cmii.app: cmii-admin-data + cmii.app: cmii-uav-grid-datasource spec: affinity: nodeAffinity: @@ -5180,16 +871,16 @@ spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-admin-data - image: 10.100.2.121:8033/cmii/cmii-admin-data:5.5.0 + - name: cmii-uav-grid-datasource + image: 192.168.0.14:8033/cmii/cmii-uav-grid-datasource:5.2.0-24810 imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: zjjt + value: xjyd - name: APPLICATION_NAME - value: cmii-admin-data + value: cmii-uav-grid-datasource - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -5213,12 +904,12 @@ spec: containerPort: 8080 protocol: TCP resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m livenessProbe: httpGet: path: /cmii/ping @@ -5253,7 +944,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: zjjt/cmii-admin-data + subPath: xjyd/cmii-uav-grid-datasource volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -5262,11 +953,11 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-admin-data - namespace: zjjt + name: cmii-uav-grid-datasource + namespace: xjyd labels: cmii.type: backend - cmii.app: cmii-admin-data + cmii.app: cmii-uav-grid-datasource octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.5.0 @@ -5274,7 +965,7 @@ spec: type: ClusterIP selector: cmii.type: backend - cmii.app: cmii-admin-data + cmii.app: cmii-uav-grid-datasource ports: - name: backend-tcp port: 8080 @@ -5285,7 +976,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: cmii-uav-cloud-live - namespace: zjjt + namespace: xjyd labels: cmii.type: backend cmii.app: cmii-uav-cloud-live @@ -5320,15 +1011,15 @@ spec: - name: harborsecret containers: - name: cmii-uav-cloud-live - image: 10.100.2.121:8033/cmii/cmii-uav-cloud-live:5.5.0 + image: 192.168.0.14:8033/cmii/cmii-uav-cloud-live:5.5.0-042401 imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: zjjt + value: xjyd - name: APPLICATION_NAME value: cmii-uav-cloud-live - name: CUST_JAVA_OPTS - value: "-Xms500m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP @@ -5352,12 +1043,12 @@ spec: containerPort: 8080 protocol: TCP resources: - limits: - memory: 2Gi - cpu: "2" - requests: - memory: 1Gi - cpu: 200m + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m livenessProbe: httpGet: path: /cmii/ping @@ -5392,7 +1083,7 @@ spec: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false - subPath: zjjt/cmii-uav-cloud-live + subPath: xjyd/cmii-uav-cloud-live volumes: - name: nfs-backend-log-volume persistentVolumeClaim: @@ -5402,7 +1093,7 @@ apiVersion: v1 kind: Service metadata: name: cmii-uav-cloud-live - namespace: zjjt + namespace: xjyd labels: cmii.type: backend cmii.app: cmii-uav-cloud-live @@ -5419,3 +1110,4034 @@ spec: port: 8080 protocol: TCP targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gis-server + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gis-server + image: 192.168.0.14:8033/cmii/cmii-uav-gis-server:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-gis-server + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-gis-server + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-logger + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-logger + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-logger + image: 192.168.0.14:8033/cmii/cmii-uav-logger:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-logger + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-logger + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-process + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-process + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-process + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-process + image: 192.168.0.14:8033/cmii/cmii-uav-process:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-process + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-process + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-process + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-surveillance + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-surveillance + image: 192.168.0.14:8033/cmii/cmii-uav-surveillance:5.5.0-042901 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-surveillance + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-surveillance + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-threedsimulation + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-threedsimulation + image: 192.168.0.14:8033/cmii/cmii-uav-threedsimulation:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-threedsimulation + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-threedsimulation + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-gateway + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-gateway + image: 192.168.0.14:8033/cmii/cmii-admin-gateway:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-admin-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-admin-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-brain + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-brain + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-brain + image: 192.168.0.14:8033/cmii/cmii-uav-brain:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-brain + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-brain + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-tower + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-tower + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-tower + image: 192.168.0.14:8033/cmii/cmii-uav-tower:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-tower + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-tower + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-user + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-user + image: 192.168.0.14:8033/cmii/cmii-uav-user:5.5.0-042801 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-user + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-mission + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-mission + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-mission + image: 192.168.0.14:8033/cmii/cmii-uav-mission:5.5.0-042901 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-mission + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-mission + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-mission + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-admin-data + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-data + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-data + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-data + image: 192.168.0.14:8033/cmii/cmii-admin-data:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-admin-data + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-admin-data + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-engine + image: 192.168.0.14:8033/cmii/cmii-uav-grid-engine:5.1.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-grid-engine + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-engine + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-cms + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-cms + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-cms + image: 192.168.0.14:8033/cmii/cmii-uav-cms:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-cms + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-cms + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-kpi-monitor + image: 192.168.0.14:8033/cmii/cmii-uav-kpi-monitor:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-kpi-monitor + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-kpi-monitor + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-admin-user + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-admin-user + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-admin-user + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-admin-user + image: 192.168.0.14:8033/cmii/cmii-admin-user:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-admin-user + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-admin-user + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-open-gateway + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-open-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-open-gateway + image: 192.168.0.14:8033/cmii/cmii-open-gateway:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-open-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-open-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-open-gateway + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-grid-manage + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-grid-manage + image: 192.168.0.14:8033/cmii/cmii-uav-grid-manage:5.1.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-grid-manage + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-grid-manage + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-notice + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-notice + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-notice + image: 192.168.0.14:8033/cmii/cmii-uav-notice:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-notice + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-notice + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-alarm + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-alarm + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-alarm + image: 192.168.0.14:8033/cmii/cmii-uav-alarm:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-alarm + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-alarm + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-emergency + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-emergency + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-emergency + image: 192.168.0.14:8033/cmii/cmii-uav-emergency:5.3.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-emergency + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-emergency + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-airspace + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-airspace + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-airspace + image: 192.168.0.14:8033/cmii/cmii-uav-airspace:5.5.0-042401 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-airspace + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-airspace + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-airspace + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-gateway + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-gateway + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-gateway + image: 192.168.0.14:8033/cmii/cmii-uav-gateway:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-gateway + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-gateway + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-multilink + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-multilink + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-multilink + image: 192.168.0.14:8033/cmii/cmii-uav-multilink:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-multilink + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-multilink + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-app-release + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-app-release + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-app-release + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-app-release + image: 192.168.0.14:8033/cmii/cmii-app-release:4.2.0-validation + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-app-release + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-app-release + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-suav-supervision + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-suav-supervision + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-supervision + image: 192.168.0.14:8033/cmii/cmii-suav-supervision:5.4.0-032501 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-suav-supervision + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-suav-supervision + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-oauth + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-oauth + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-oauth + image: 192.168.0.14:8033/cmii/cmii-uav-oauth:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-oauth + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-oauth + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-waypoint + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-waypoint + image: 192.168.0.14:8033/cmii/cmii-uav-waypoint:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-waypoint + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-waypoint + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-waypoint + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-developer + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-developer + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-developer + image: 192.168.0.14:8033/cmii/cmii-uav-developer:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-developer + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-developer + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.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-material-warehouse + namespace: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + template: + metadata: + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: uavcloud.env + operator: In + values: + - demo + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-material-warehouse + image: 192.168.0.14:8033/cmii/cmii-uav-material-warehouse:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-material-warehouse + - name: CUST_JAVA_OPTS + value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" + - name: NACOS_REGISTRY + value: "helm-nacos:8848" + - name: NACOS_DISCOVERY_IP + valueFrom: + fieldRef: + fieldPath: status.podIP + - name: NACOS_DISCOVERY_PORT + value: "8080" + - name: BIZ_CONFIG_GROUP + value: 5.5.0 + - name: SYS_CONFIG_GROUP + value: 5.5.0 + - name: IMAGE_VERSION + value: 5.5.0 + - name: NACOS_USERNAME + value: "developer" + - name: NACOS_PASSWORD + value: "Deve@9128201" + ports: + - name: pod-port + containerPort: 8080 + protocol: TCP + resources: + limits: + memory: 2Gi + cpu: "2" + requests: + memory: 200Mi + cpu: 200m + livenessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 5 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 3 + startupProbe: + httpGet: + path: /cmii/ping + port: pod-port + scheme: HTTP + initialDelaySeconds: 60 + timeoutSeconds: 3 + periodSeconds: 20 + successThreshold: 1 + failureThreshold: 5 + volumeMounts: + - name: nfs-backend-log-volume + mountPath: /cmii/logs + readOnly: false + subPath: xjyd/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: xjyd + labels: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + octopus/control: backend-app-1.0.0 + app.kubernetes.io/managed-by: octopus + app.kubernetes.io/app-version: 5.5.0 +spec: + type: ClusterIP + selector: + cmii.type: backend + cmii.app: cmii-uav-material-warehouse + ports: + - name: backend-tcp + port: 8080 + protocol: TCP + targetPort: 8080 diff --git a/agent-operator/deploy/z_file/k8s-configmap.yaml b/agent-operator/deploy/z_file/k8s-configmap.yaml index ab0062a..106c611 100644 --- a/agent-operator/deploy/z_file/k8s-configmap.yaml +++ b/agent-operator/deploy/z_file/k8s-configmap.yaml @@ -1,336 +1,336 @@ --- kind: ConfigMap apiVersion: v1 -metadata: - name: tenant-prefix-threedsimulation - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "threedsimulation", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-jiangsuwenlv - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "jiangsuwenlv", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-supervision - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "supervision", - AppClientId: "APP_qqSu82THfexI8PLM" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-armypeople - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "armypeople", - AppClientId: "APP_UIegse6Lfou9pO1U" - } ---- -kind: ConfigMap -apiVersion: v1 metadata: name: tenant-prefix-cmsportal - namespace: zjjt + namespace: xjyd data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "cmsportal", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-emergency - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "emergency", - AppClientId: "APP_aGsTAY1uMZrpKdfk" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-logistics - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "logistics", - AppClientId: "APP_PvdfRRRBPL8xbIwl" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-security - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "security", - AppClientId: "APP_JUSEMc7afyWXxvE7" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-qinghaitourism - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "qinghaitourism", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-base - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "base", - AppClientId: "APP_9LY41OaKSqk2btY0" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-multiterminal - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "multiterminal", - AppClientId: "APP_PvdfRRRBPL8xbIwl" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-supervisionh5 - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "supervisionh5", - AppClientId: "APP_qqSu82THfexI8PLM" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-ai-brain - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "ai-brain", - AppClientId: "APP_rafnuCAmBESIVYMH" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-detection - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "detection", - AppClientId: "APP_FDHW2VLVDWPnnOCy" + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "cmsportal", + AppClientId: "empty" } --- kind: ConfigMap apiVersion: v1 metadata: name: tenant-prefix-media - namespace: zjjt + namespace: xjyd data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "media", - AppClientId: "APP_4AU8lbifESQO4FD6" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-mws - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "mws", - AppClientId: "APP_uKniXPELlRERBBwK" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-seniclive - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "seniclive", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-traffic - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "traffic", - AppClientId: "APP_Jc8i2wOQ1t73QEJS" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-platform - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "platform", - AppClientId: "empty" + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "media", + AppClientId: "APP_4AU8lbifESQO4FD6" } --- kind: ConfigMap apiVersion: v1 metadata: name: tenant-prefix-oms - namespace: zjjt + namespace: xjyd data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "oms", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-open - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "open", - AppClientId: "empty" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-securityh5 - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "securityh5", - AppClientId: "APP_N3ImO0Ubfu9peRHD" - } ---- -kind: ConfigMap -apiVersion: v1 -metadata: - name: tenant-prefix-share - namespace: zjjt -data: - ingress-config.js: |- - var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "share", - AppClientId: "APP_4lVSVI0ZGxTssir8" + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "oms", + AppClientId: "empty" } --- kind: ConfigMap apiVersion: v1 metadata: name: tenant-prefix-splice - namespace: zjjt + namespace: xjyd data: ingress-config.js: |- var __GlobalIngressConfig = { - TenantEnvironment: "", - CloudHOST: "10.100.2.121:8888", - ApplicationShortName: "splice", - AppClientId: "APP_zE0M3sTRXrCIJS8Y" + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "splice", + AppClientId: "APP_zE0M3sTRXrCIJS8Y" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-threedsimulation + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "threedsimulation", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervision + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "supervision", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-platform + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "platform", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-mws + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "mws", + AppClientId: "APP_uKniXPELlRERBBwK" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-security + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "security", + AppClientId: "APP_JUSEMc7afyWXxvE7" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-securityh5 + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "securityh5", + AppClientId: "APP_N3ImO0Ubfu9peRHD" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-qinghaitourism + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "qinghaitourism", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-detection + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "detection", + AppClientId: "APP_FDHW2VLVDWPnnOCy" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-multiterminal + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "multiterminal", + AppClientId: "APP_PvdfRRRBPL8xbIwl" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-armypeople + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "armypeople", + AppClientId: "APP_UIegse6Lfou9pO1U" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-base + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "base", + AppClientId: "APP_9LY41OaKSqk2btY0" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-share + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "share", + AppClientId: "APP_4lVSVI0ZGxTssir8" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-jiangsuwenlv + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "jiangsuwenlv", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-supervisionh5 + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "supervisionh5", + AppClientId: "APP_qqSu82THfexI8PLM" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-ai-brain + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "ai-brain", + AppClientId: "APP_rafnuCAmBESIVYMH" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-open + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "open", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-seniclive + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "seniclive", + AppClientId: "empty" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-traffic + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "traffic", + AppClientId: "APP_Jc8i2wOQ1t73QEJS" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-emergency + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "emergency", + AppClientId: "APP_aGsTAY1uMZrpKdfk" + } +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: tenant-prefix-logistics + namespace: xjyd +data: + ingress-config.js: |- + var __GlobalIngressConfig = { + TenantEnvironment: "", + CloudHOST: "36.133.201.78:8888", + ApplicationShortName: "logistics", + AppClientId: "APP_PvdfRRRBPL8xbIwl" } diff --git a/agent-operator/deploy/z_file/k8s-frontend.yaml b/agent-operator/deploy/z_file/k8s-frontend.yaml index a91ba11..d0a1120 100644 --- a/agent-operator/deploy/z_file/k8s-frontend.yaml +++ b/agent-operator/deploy/z_file/k8s-frontend.yaml @@ -3,7 +3,7 @@ kind: ConfigMap apiVersion: v1 metadata: name: nginx-cm - namespace: zjjt + namespace: xjyd labels: cmii.type: frontend data: @@ -41,98 +41,9 @@ data: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-platform-mws - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.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.100.2.121:8033/cmii/cmii-uav-platform-mws:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-platform-mws - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-mws - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-mws - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-mws - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: cmii-suav-platform-supervisionh5 - namespace: zjjt + namespace: xjyd labels: cmii.type: frontend cmii.app: cmii-suav-platform-supervisionh5 @@ -157,11 +68,11 @@ spec: - name: harborsecret containers: - name: cmii-suav-platform-supervisionh5 - image: 10.100.2.121:8033/cmii/cmii-suav-platform-supervisionh5:5.5.0 + image: 192.168.0.14:8033/cmii/cmii-suav-platform-supervisionh5:5.5.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: zjjt + value: xjyd - name: APPLICATION_NAME value: cmii-suav-platform-supervisionh5 ports: @@ -200,7 +111,7 @@ apiVersion: v1 kind: Service metadata: name: cmii-suav-platform-supervisionh5 - namespace: zjjt + namespace: xjyd labels: cmii.type: frontend cmii.app: cmii-suav-platform-supervisionh5 @@ -219,1255 +130,9 @@ spec: --- apiVersion: apps/v1 kind: Deployment -metadata: - name: cmii-uav-platform-jiangsuwenlv - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-jiangsuwenlv - image: 10.100.2.121:8033/cmii/cmii-uav-platform-jiangsuwenlv:4.1.3-jiangsu-0427 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-platform-jiangsuwenlv - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-jiangsuwenlv - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-jiangsuwenlv - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-jiangsuwenlv - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.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-oms - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.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.100.2.121:8033/cmii/cmii-uav-platform-oms:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-platform-oms - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-oms - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-oms - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-oms - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.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: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.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.100.2.121:8033/cmii/cmii-uav-platform-threedsimulation:5.2.0-21392 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-platform-threedsimulation - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-threedsimulation - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-threedsimulation - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-threedsimulation - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.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: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.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.100.2.121:8033/cmii/cmii-uav-platform-base:5.4.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-platform-base - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-base - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-base - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-base - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-splice - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.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.100.2.121:8033/cmii/cmii-uav-platform-splice:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-platform-splice - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-splice - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-splice - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-splice - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-multiterminal - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.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.100.2.121:8033/cmii/cmii-uav-platform-multiterminal:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-platform-multiterminal - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-multiterminal - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-multiterminal - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-multiterminal - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.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-media - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.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.100.2.121:8033/cmii/cmii-uav-platform-media:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-platform-media - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-media - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-media - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-media - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.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-suav-platform-supervision - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervision - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.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.100.2.121:8033/cmii/cmii-suav-platform-supervision:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-suav-platform-supervision - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-supervision - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-suav-platform-supervision - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervision - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-suav-platform-supervision - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-armypeople - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.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.100.2.121:8033/cmii/cmii-uav-platform-armypeople:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-platform-armypeople - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-armypeople - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-armypeople - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-armypeople - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.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-securityh5 - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.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.100.2.121:8033/cmii/cmii-uav-platform-securityh5:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-platform-securityh5 - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-securityh5 - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-securityh5 - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-securityh5 - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.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-open - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.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.100.2.121:8033/cmii/cmii-uav-platform-open:5.5.0-0419 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-platform-open - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-open - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-open - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-open - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cmii-uav-platform-cms-portal - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.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.100.2.121:8033/cmii/cmii-uav-platform-cms-portal:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-platform-cms-portal - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-cmsportal - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-cms-portal - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-cms-portal - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.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: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.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.100.2.121:8033/cmii/cmii-uav-platform:5.5.0 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-platform - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-platform - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.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-qinghaitourism - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - octopus.control: frontend-app-wdd - app.kubernetes.io/app-version: 5.5.0 -spec: - replicas: 1 - strategy: - rollingUpdate: - maxUnavailable: 1 - selector: - matchLabels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - template: - metadata: - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - spec: - imagePullSecrets: - - name: harborsecret - containers: - - name: cmii-uav-platform-qinghaitourism - image: 10.100.2.121:8033/cmii/cmii-uav-platform-qinghaitourism:4.1.0-21377-0508 - imagePullPolicy: Always - env: - - name: K8S_NAMESPACE - value: zjjt - - name: APPLICATION_NAME - value: cmii-uav-platform-qinghaitourism - ports: - - name: platform-9528 - containerPort: 9528 - protocol: TCP - resources: - limits: - cpu: "1" - memory: 1Gi - requests: - cpu: 500m - memory: 500Mi - volumeMounts: - - name: nginx-conf - mountPath: /usr/local/nginx/conf/nginx.conf - subPath: nginx.conf - - name: tenant-prefix - subPath: ingress-config.js - mountPath: /home/cmii-platform/dist/ingress-config.js - volumes: - - name: nginx-conf - configMap: - name: nginx-cm - items: - - key: nginx.conf - path: nginx.conf - - name: tenant-prefix - configMap: - name: tenant-prefix-qinghaitourism - items: - - key: ingress-config.js - path: ingress-config.js ---- -apiVersion: v1 -kind: Service -metadata: - name: cmii-uav-platform-qinghaitourism - namespace: zjjt - labels: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - octopus.control: frontend-app-wdd - app.kubernetes.io/version: 5.5.0 -spec: - type: ClusterIP - selector: - cmii.type: frontend - cmii.app: cmii-uav-platform-qinghaitourism - ports: - - name: web-svc-port - port: 9528 - protocol: TCP - targetPort: 9528 ---- -apiVersion: apps/v1 -kind: Deployment metadata: name: cmii-uav-platform-detection - namespace: zjjt + namespace: xjyd labels: cmii.type: frontend cmii.app: cmii-uav-platform-detection @@ -1492,11 +157,11 @@ spec: - name: harborsecret containers: - name: cmii-uav-platform-detection - image: 10.100.2.121:8033/cmii/cmii-uav-platform-detection:5.5.0 + image: 192.168.0.14:8033/cmii/cmii-uav-platform-detection:5.5.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: zjjt + value: xjyd - name: APPLICATION_NAME value: cmii-uav-platform-detection ports: @@ -1535,7 +200,7 @@ apiVersion: v1 kind: Service metadata: name: cmii-uav-platform-detection - namespace: zjjt + namespace: xjyd labels: cmii.type: frontend cmii.app: cmii-uav-platform-detection @@ -1555,11 +220,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-share - namespace: zjjt + name: cmii-uav-platform-jiangsuwenlv + namespace: xjyd labels: cmii.type: frontend - cmii.app: cmii-uav-platform-share + cmii.app: cmii-uav-platform-jiangsuwenlv octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 5.5.0 spec: @@ -1570,24 +235,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-share + cmii.app: cmii-uav-platform-jiangsuwenlv template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-share + cmii.app: cmii-uav-platform-jiangsuwenlv spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-share - image: 10.100.2.121:8033/cmii/cmii-uav-platform-share:5.5.0 + - name: cmii-uav-platform-jiangsuwenlv + image: 192.168.0.14:8033/cmii/cmii-uav-platform-jiangsuwenlv:4.1.3-jiangsu-0427 imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: zjjt + value: xjyd - name: APPLICATION_NAME - value: cmii-uav-platform-share + value: cmii-uav-platform-jiangsuwenlv ports: - name: platform-9528 containerPort: 9528 @@ -1615,7 +280,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-share + name: tenant-prefix-jiangsuwenlv items: - key: ingress-config.js path: ingress-config.js @@ -1623,18 +288,730 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-share - namespace: zjjt + name: cmii-uav-platform-jiangsuwenlv + namespace: xjyd labels: cmii.type: frontend - cmii.app: cmii-uav-platform-share + cmii.app: cmii-uav-platform-jiangsuwenlv octopus.control: frontend-app-wdd app.kubernetes.io/version: 5.5.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-share + 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-mws + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-mws + image: 192.168.0.14:8033/cmii/cmii-uav-platform-mws:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-platform-mws + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-mws + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-mws + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-mws + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.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-qinghaitourism + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-qinghaitourism + image: 192.168.0.14:8033/cmii/cmii-uav-platform-qinghaitourism:4.1.0-21377-0508 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-platform-qinghaitourism + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-qinghaitourism + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-qinghaitourism + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-qinghaitourism + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.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-securityh5 + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-securityh5 + image: 192.168.0.14:8033/cmii/cmii-uav-platform-securityh5:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-platform-securityh5 + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-securityh5 + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-securityh5 + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-securityh5 + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.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-base + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-base + image: 192.168.0.14:8033/cmii/cmii-uav-platform-base:5.4.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-platform-base + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-base + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-base + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-base + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.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: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-cms-portal + image: 192.168.0.14:8033/cmii/cmii-uav-platform-cms-portal:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-platform-cms-portal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-cmsportal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-cms-portal + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-cms-portal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.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: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-multiterminal + image: 192.168.0.14:8033/cmii/cmii-uav-platform-multiterminal:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-platform-multiterminal + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-multiterminal + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-multiterminal + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-multiterminal + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.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: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-splice + image: 192.168.0.14:8033/cmii/cmii-uav-platform-splice:5.5.0-042601 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-platform-splice + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-splice + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-splice + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-splice + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-threedsimulation + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-threedsimulation + image: 192.168.0.14:8033/cmii/cmii-uav-platform-threedsimulation:5.2.0-21392 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-platform-threedsimulation + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-threedsimulation + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-threedsimulation + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-threedsimulation ports: - name: web-svc-port port: 9528 @@ -1645,7 +1022,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: cmii-uav-platform-ai-brain - namespace: zjjt + namespace: xjyd labels: cmii.type: frontend cmii.app: cmii-uav-platform-ai-brain @@ -1670,11 +1047,11 @@ spec: - name: harborsecret containers: - name: cmii-uav-platform-ai-brain - image: 10.100.2.121:8033/cmii/cmii-uav-platform-ai-brain:5.5.0 + image: 192.168.0.14:8033/cmii/cmii-uav-platform-ai-brain:5.5.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: zjjt + value: xjyd - name: APPLICATION_NAME value: cmii-uav-platform-ai-brain ports: @@ -1713,7 +1090,7 @@ apiVersion: v1 kind: Service metadata: name: cmii-uav-platform-ai-brain - namespace: zjjt + namespace: xjyd labels: cmii.type: frontend cmii.app: cmii-uav-platform-ai-brain @@ -1733,11 +1110,11 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: cmii-uav-platform-security - namespace: zjjt + name: cmii-uav-platform-armypeople + namespace: xjyd labels: cmii.type: frontend - cmii.app: cmii-uav-platform-security + cmii.app: cmii-uav-platform-armypeople octopus.control: frontend-app-wdd app.kubernetes.io/app-version: 5.5.0 spec: @@ -1748,24 +1125,24 @@ spec: selector: matchLabels: cmii.type: frontend - cmii.app: cmii-uav-platform-security + cmii.app: cmii-uav-platform-armypeople template: metadata: labels: cmii.type: frontend - cmii.app: cmii-uav-platform-security + cmii.app: cmii-uav-platform-armypeople spec: imagePullSecrets: - name: harborsecret containers: - - name: cmii-uav-platform-security - image: 10.100.2.121:8033/cmii/cmii-uav-platform-security:5.5.0 + - name: cmii-uav-platform-armypeople + image: 192.168.0.14:8033/cmii/cmii-uav-platform-armypeople:5.5.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: zjjt + value: xjyd - name: APPLICATION_NAME - value: cmii-uav-platform-security + value: cmii-uav-platform-armypeople ports: - name: platform-9528 containerPort: 9528 @@ -1793,7 +1170,7 @@ spec: path: nginx.conf - name: tenant-prefix configMap: - name: tenant-prefix-security + name: tenant-prefix-armypeople items: - key: ingress-config.js path: ingress-config.js @@ -1801,18 +1178,18 @@ spec: apiVersion: v1 kind: Service metadata: - name: cmii-uav-platform-security - namespace: zjjt + name: cmii-uav-platform-armypeople + namespace: xjyd labels: cmii.type: frontend - cmii.app: cmii-uav-platform-security + cmii.app: cmii-uav-platform-armypeople octopus.control: frontend-app-wdd app.kubernetes.io/version: 5.5.0 spec: type: ClusterIP selector: cmii.type: frontend - cmii.app: cmii-uav-platform-security + cmii.app: cmii-uav-platform-armypeople ports: - name: web-svc-port port: 9528 @@ -1823,7 +1200,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: cmii-uav-platform-logistics - namespace: zjjt + namespace: xjyd labels: cmii.type: frontend cmii.app: cmii-uav-platform-logistics @@ -1848,11 +1225,11 @@ spec: - name: harborsecret containers: - name: cmii-uav-platform-logistics - image: 10.100.2.121:8033/cmii/cmii-uav-platform-logistics:5.5.0 + image: 192.168.0.14:8033/cmii/cmii-uav-platform-logistics:5.5.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE - value: zjjt + value: xjyd - name: APPLICATION_NAME value: cmii-uav-platform-logistics ports: @@ -1891,7 +1268,7 @@ apiVersion: v1 kind: Service metadata: name: cmii-uav-platform-logistics - namespace: zjjt + namespace: xjyd labels: cmii.type: frontend cmii.app: cmii-uav-platform-logistics @@ -1907,3 +1284,626 @@ spec: port: 9528 protocol: TCP targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-oms + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-oms + image: 192.168.0.14:8033/cmii/cmii-uav-platform-oms:5.5.0-042801 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-platform-oms + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-oms + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-oms + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-oms + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.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-suav-platform-supervision + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-suav-platform-supervision + image: 192.168.0.14:8033/cmii/cmii-suav-platform-supervision:5.5.0-042301 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-suav-platform-supervision + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-supervision + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-suav-platform-supervision + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-suav-platform-supervision + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.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-media + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-media + image: 192.168.0.14:8033/cmii/cmii-uav-platform-media:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-platform-media + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-media + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-media + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-media + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-open + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-open + image: 192.168.0.14:8033/cmii/cmii-uav-platform-open:5.5.0-0419 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-platform-open + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-open + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-open + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-open + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.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-security + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-security + image: 192.168.0.14:8033/cmii/cmii-uav-platform-security:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-platform-security + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-security + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-security + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform-security + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cmii-uav-platform-share + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform-share + image: 192.168.0.14:8033/cmii/cmii-uav-platform-share:5.5.0 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-platform-share + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-share + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform-share + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform-share + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.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 + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/app-version: 5.5.0 +spec: + replicas: 1 + strategy: + rollingUpdate: + maxUnavailable: 1 + selector: + matchLabels: + cmii.type: frontend + cmii.app: cmii-uav-platform + template: + metadata: + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + spec: + imagePullSecrets: + - name: harborsecret + containers: + - name: cmii-uav-platform + image: 192.168.0.14:8033/cmii/cmii-uav-platform:5.5.0-27712-0507 + imagePullPolicy: Always + env: + - name: K8S_NAMESPACE + value: xjyd + - name: APPLICATION_NAME + value: cmii-uav-platform + ports: + - name: platform-9528 + containerPort: 9528 + protocol: TCP + resources: + limits: + cpu: "1" + memory: 1Gi + requests: + cpu: 500m + memory: 500Mi + volumeMounts: + - name: nginx-conf + mountPath: /usr/local/nginx/conf/nginx.conf + subPath: nginx.conf + - name: tenant-prefix + subPath: ingress-config.js + mountPath: /home/cmii-platform/dist/ingress-config.js + volumes: + - name: nginx-conf + configMap: + name: nginx-cm + items: + - key: nginx.conf + path: nginx.conf + - name: tenant-prefix + configMap: + name: tenant-prefix-platform + items: + - key: ingress-config.js + path: ingress-config.js +--- +apiVersion: v1 +kind: Service +metadata: + name: cmii-uav-platform + namespace: xjyd + labels: + cmii.type: frontend + cmii.app: cmii-uav-platform + octopus.control: frontend-app-wdd + app.kubernetes.io/version: 5.5.0 +spec: + type: ClusterIP + selector: + cmii.type: frontend + cmii.app: cmii-uav-platform + ports: + - name: web-svc-port + port: 9528 + protocol: TCP + targetPort: 9528 diff --git a/agent-operator/image/CmiiImageSync.go b/agent-operator/image/CmiiImageSync.go index 40bcc6b..cfbaeb4 100644 --- a/agent-operator/image/CmiiImageSync.go +++ b/agent-operator/image/CmiiImageSync.go @@ -523,20 +523,25 @@ func CmiiImageMapFromGzipFolder(gzipFileFolder string) (cmiiImageVersionMap map[ return cmiiImageVersionMap } -func FrontendBackendImageMapFromCmiiImageMap(cmiiImageVersionMap map[string]string) (frontendImageVersionMap, backendImageVersionMap map[string]string) { +func FrontendBackendSrsImageMapFromCmiiImageMap(cmiiImageVersionMap map[string]string) (frontendImageVersionMap, backendImageVersionMap, srsImageVersionMap map[string]string) { frontendImageVersionMap = make(map[string]string) backendImageVersionMap = make(map[string]string) + srsImageVersionMap = make(map[string]string) for imageName, imageTag := range cmiiImageVersionMap { if strings.Contains(imageName, "platform") { frontendImageVersionMap[imageName] = imageTag + } else if strings.Contains(imageName, "srs") { + srsImageVersionMap[imageName] = imageTag + } else if strings.Contains(imageName, "operator") { + srsImageVersionMap[imageName] = imageTag } else { backendImageVersionMap[imageName] = imageTag } } - return frontendImageVersionMap, backendImageVersionMap + return frontendImageVersionMap, backendImageVersionMap, srsImageVersionMap } func loginToDockerHub(HarborFullHost string) { diff --git a/agent-operator/image/CmiiImageSync_test.go b/agent-operator/image/CmiiImageSync_test.go index bdf7b67..f4cbafd 100644 --- a/agent-operator/image/CmiiImageSync_test.go +++ b/agent-operator/image/CmiiImageSync_test.go @@ -205,7 +205,7 @@ func TestConvertCmiiImageMapFromGzipFolder(t *testing.T) { } func TestFrontendBackendImageMapFromCmiiImageMap(t *testing.T) { - frontendImageVersionMap, backendImageVersionMap := FrontendBackendImageMapFromCmiiImageMap(zjjt.CmiiImageMap) + frontendImageVersionMap, backendImageVersionMap := FrontendBackendSrsImageMapFromCmiiImageMap(zjjt.CmiiImageMap) utils.BeautifulPrint(frontendImageVersionMap) utils.BeautifulPrint(backendImageVersionMap) diff --git a/agent-operator/log/cmii-update-log.txt b/agent-operator/log/cmii-update-log.txt index 21372c0..3409300 100644 --- a/agent-operator/log/cmii-update-log.txt +++ b/agent-operator/log/cmii-update-log.txt @@ -36,3 +36,5 @@ 2024-04-30-11-57-00 uavcloud-demo cmii-uav-platform 5.5.0-042903 5.5.0-043001 2024-04-30-17-22-52 uavcloud-demo cmii-uav-industrial-portfolio 5.5.0-042901 5.5.0-043001 2024-05-08-08-58-30 uavcloud-demo cmii-uav-industrial-portfolio 5.5.0-043001 5.5.0-050801 +2024-05-10-19-55-00 uavcloud-demo cmii-uav-industrial-portfolio 5.6.0 5.6.0-051001 +2024-05-13-18-30-00 uavcloud-demo cmii-uav-industrial-portfolio 5.6.0-sense 5.6.0-051301 diff --git a/agent-operator/real_project/szga/Config.go b/agent-operator/real_project/szga/Config.go new file mode 100644 index 0000000..351c456 --- /dev/null +++ b/agent-operator/real_project/szga/Config.go @@ -0,0 +1,78 @@ +package szga + +var AllZipFileName = []string{ + "harbor.cdcyy.com.cn/cmii/cmii-uav-clusters:5.2.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-developer:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-admin-gateway:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-app-release:4.2.0-validation", + "harbor.cdcyy.com.cn/cmii/cmii-uav-tower:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-admin-data:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-brain:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:5.2.0-24810", + "harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.6.0-051602", + "harbor.cdcyy.com.cn/cmii/cmii-uav-user:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-depotautoreturn:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:5.3.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-gateway:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:5.6.0-051501", + "harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:5.6.0-0513", + "harbor.cdcyy.com.cn/cmii/cmii-uav-mission:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-process:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:5.1.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-kpi-monitor:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-multilink:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-open-gateway:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-integration:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uas-lifecycle:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-autowaypoint:4.2.0-beta", + "harbor.cdcyy.com.cn/cmii/cmii-uav-lifecycle:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-admin-user:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uas-gateway:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-cms:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:5.6.0-051401", + "harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-device:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:5.1.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-logger:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-notice:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-threedsimulation:5.5.0", + "harbor.cdcyy.com.cn/cmii/cmii-iam-gateway:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-multiterminal:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-detection:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-emergency-rescue:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qinghaitourism:4.1.0-21377-0508", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-armypeople:5.6.0-051503", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform:5.6.0-mr830-051502", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-cms-portal:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-oms:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uasms:5.6.0-051401", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-hljtt:5.3.0-hjltt", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-mws:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-open:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-uas:5.6.0-051401", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-base:5.4.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-jiangsuwenlv:4.1.3-jiangsu-0427", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-media:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-securityh5:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-share:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervisionh5:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-qingdao:4.1.6-24238-qingdao", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-security:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-visualization:5.2.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-ai-brain:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-logistics:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-suav-platform-supervision:5.6.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-seniclive:5.2.0", + "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-threedsimulation:5.2.0-21392", + "harbor.cdcyy.com.cn/cmii/ossrs/srs:v5.0.195", + "harbor.cdcyy.com.cn/cmii/cmii-live-operator:5.2.0", + "harbor.cdcyy.com.cn/cmii/cmii-srs-oss-adaptor:2023-SA", +} diff --git a/agent-operator/real_project/xzyd/Config.go b/agent-operator/real_project/xzyd/Config.go new file mode 100644 index 0000000..42bee77 --- /dev/null +++ b/agent-operator/real_project/xzyd/Config.go @@ -0,0 +1 @@ +package xzyd diff --git a/server/src/main/java/io/wdd/rpc/init/AcceptAgentInitInfo.java b/server/src/main/java/io/wdd/rpc/init/AcceptAgentInitInfo.java index 92a0b63..bc6580d 100644 --- a/server/src/main/java/io/wdd/rpc/init/AcceptAgentInitInfo.java +++ b/server/src/main/java/io/wdd/rpc/init/AcceptAgentInitInfo.java @@ -62,6 +62,11 @@ public class AcceptAgentInitInfo { 12); put("Xiamen", 13); + put("Shenzhen", + 14); + + put("Local", + 15); put("Guangzhou", 13); @@ -248,8 +253,14 @@ public class AcceptAgentInitInfo { " ", "" ); + if (serverName.startsWith("-")) { + // empty city situation + serverName = "Local" + serverName; + } + serverInfoVO.setServerName(serverName); + // validate serverName String[] split = serverName.split("-"); if (split.length <= 2 || !ALL_SERVER_CITY_INDEX.containsKey(split[0]) || !ALL_SERVER_ARCH_INFO.contains(split[1])) { diff --git a/server/src/main/resources/application.yml b/server/src/main/resources/application.yml index a45565f..92d9fe4 100644 --- a/server/src/main/resources/application.yml +++ b/server/src/main/resources/application.yml @@ -9,7 +9,7 @@ spring: allow-circular-references: true allow-bean-definition-overriding: true rabbitmq: - host: 42.192.52.227 + host: 172.28.0.10 port: 20672 username: boge password: boge8tingH @@ -24,7 +24,7 @@ spring: max-interval: 65000 initial-interval: 2000 redis: - host: 42.192.52.227 + host: 172.28.0.10 port: 21370 database: 0 password: boge8tingH @@ -46,7 +46,7 @@ spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://42.192.52.227:21306/octopus_server?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8 + url: jdbc:mysql://172.28.0.10:21306/octopus_server?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8 username: boge password: boge8tingH type: com.zaxxer.hikari.HikariDataSource