--- apiVersion: apps/v1 kind: Deployment metadata: name: cmii-uav-blockchain namespace: uavcloud-devflight labels: cmii.type: backend cmii.app: cmii-uav-blockchain octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.7.0 spec: replicas: 0 strategy: rollingUpdate: maxUnavailable: 1 selector: matchLabels: cmii.type: backend cmii.app: cmii-uav-blockchain template: metadata: labels: cmii.type: backend cmii.app: cmii-uav-blockchain spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: uavcloud.env operator: In values: - devflight imagePullSecrets: - name: harborsecret containers: - name: cmii-uav-blockchain image: harbor.cdcyy.com.cn/cmii/cmii-uav-blockchain:3.2.2-snapshot imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME value: cmii-uav-blockchain - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP valueFrom: fieldRef: fieldPath: status.podIP - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP value: 5.7.0 - name: SYS_CONFIG_GROUP value: 5.7.0 - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD value: "Deve@9128201" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: memory: 2Gi cpu: "2" requests: memory: 200Mi cpu: 200m livenessProbe: httpGet: path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 5 periodSeconds: 20 successThreshold: 1 failureThreshold: 3 readinessProbe: httpGet: path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 5 periodSeconds: 20 successThreshold: 1 failureThreshold: 3 startupProbe: httpGet: path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 3 periodSeconds: 20 successThreshold: 1 failureThreshold: 5 volumeMounts: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false subPath: uavcloud-devflight/cmii-uav-blockchain volumes: - name: nfs-backend-log-volume persistentVolumeClaim: claimName: nfs-backend-log-pvc --- apiVersion: v1 kind: Service metadata: name: cmii-uav-blockchain namespace: uavcloud-devflight labels: cmii.type: backend cmii.app: cmii-uav-blockchain octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: cmii.type: backend cmii.app: cmii-uav-blockchain ports: - name: backend-tcp port: 8080 protocol: TCP targetPort: 8080 --- --- apiVersion: apps/v1 kind: Deployment metadata: name: cmii-uav-container-scanner namespace: uavcloud-devflight labels: cmii.type: backend cmii.app: cmii-uav-container-scanner octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.7.0 spec: replicas: 0 strategy: rollingUpdate: maxUnavailable: 1 selector: matchLabels: cmii.type: backend cmii.app: cmii-uav-container-scanner template: metadata: labels: cmii.type: backend cmii.app: cmii-uav-container-scanner spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: uavcloud.env operator: In values: - devflight imagePullSecrets: - name: harborsecret containers: - name: cmii-uav-container-scanner image: harbor.cdcyy.com.cn/cmii/cmii-uav-container-scanner:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME value: cmii-uav-container-scanner - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP valueFrom: fieldRef: fieldPath: status.podIP - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP value: 5.7.0 - name: SYS_CONFIG_GROUP value: 5.7.0 - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD value: "Deve@9128201" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: memory: 2Gi cpu: "2" requests: memory: 200Mi cpu: 200m livenessProbe: httpGet: path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 5 periodSeconds: 20 successThreshold: 1 failureThreshold: 3 readinessProbe: httpGet: path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 5 periodSeconds: 20 successThreshold: 1 failureThreshold: 3 startupProbe: httpGet: path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 3 periodSeconds: 20 successThreshold: 1 failureThreshold: 5 volumeMounts: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false subPath: uavcloud-devflight/cmii-uav-container-scanner volumes: - name: nfs-backend-log-volume persistentVolumeClaim: claimName: nfs-backend-log-pvc --- apiVersion: v1 kind: Service metadata: name: cmii-uav-container-scanner namespace: uavcloud-devflight labels: cmii.type: backend cmii.app: cmii-uav-container-scanner octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: cmii.type: backend cmii.app: cmii-uav-container-scanner ports: - name: backend-tcp port: 8080 protocol: TCP targetPort: 8080 --- --- apiVersion: apps/v1 kind: Deployment metadata: name: cmii-uav-container-scanner-go namespace: uavcloud-devflight labels: cmii.type: backend cmii.app: cmii-uav-container-scanner-go octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.7.0 spec: replicas: 0 strategy: rollingUpdate: maxUnavailable: 1 selector: matchLabels: cmii.type: backend cmii.app: cmii-uav-container-scanner-go template: metadata: labels: cmii.type: backend cmii.app: cmii-uav-container-scanner-go spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: uavcloud.env operator: In values: - devflight imagePullSecrets: - name: harborsecret containers: - name: cmii-uav-container-scanner-go image: harbor.cdcyy.com.cn/cmii/cmii-uav-container-scanner-go:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME value: cmii-uav-container-scanner-go - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP valueFrom: fieldRef: fieldPath: status.podIP - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP value: 5.7.0 - name: SYS_CONFIG_GROUP value: 5.7.0 - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD value: "Deve@9128201" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: memory: 2Gi cpu: "2" requests: memory: 200Mi cpu: 200m livenessProbe: httpGet: path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 5 periodSeconds: 20 successThreshold: 1 failureThreshold: 3 readinessProbe: httpGet: path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 5 periodSeconds: 20 successThreshold: 1 failureThreshold: 3 startupProbe: httpGet: path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 3 periodSeconds: 20 successThreshold: 1 failureThreshold: 5 volumeMounts: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false subPath: uavcloud-devflight/cmii-uav-container-scanner-go volumes: - name: nfs-backend-log-volume persistentVolumeClaim: claimName: nfs-backend-log-pvc --- apiVersion: v1 kind: Service metadata: name: cmii-uav-container-scanner-go namespace: uavcloud-devflight labels: cmii.type: backend cmii.app: cmii-uav-container-scanner-go octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: cmii.type: backend cmii.app: cmii-uav-container-scanner-go ports: - name: backend-tcp port: 8080 protocol: TCP targetPort: 8080 --- --- apiVersion: apps/v1 kind: Deployment metadata: name: cmii-uav-data-classification namespace: uavcloud-devflight labels: cmii.type: backend cmii.app: cmii-uav-data-classification octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.7.0 spec: replicas: 0 strategy: rollingUpdate: maxUnavailable: 1 selector: matchLabels: cmii.type: backend cmii.app: cmii-uav-data-classification template: metadata: labels: cmii.type: backend cmii.app: cmii-uav-data-classification spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: uavcloud.env operator: In values: - devflight imagePullSecrets: - name: harborsecret containers: - name: cmii-uav-data-classification image: harbor.cdcyy.com.cn/cmii/cmii-uav-data-classification:5.6.0 imagePullPolicy: Always env: - name: K8S_NAMESPACE value: uavcloud-devflight - name: APPLICATION_NAME value: cmii-uav-data-classification - name: CUST_JAVA_OPTS value: "-Xms200m -Xmx1500m -Dlog4j2.formatMsgNoLookups=true" - name: NACOS_REGISTRY value: "helm-nacos:8848" - name: NACOS_DISCOVERY_IP valueFrom: fieldRef: fieldPath: status.podIP - name: NACOS_DISCOVERY_PORT value: "8080" - name: BIZ_CONFIG_GROUP value: 5.7.0 - name: SYS_CONFIG_GROUP value: 5.7.0 - name: IMAGE_VERSION value: 5.7.0 - name: NACOS_USERNAME value: "developer" - name: NACOS_PASSWORD value: "Deve@9128201" ports: - name: pod-port containerPort: 8080 protocol: TCP resources: limits: memory: 2Gi cpu: "2" requests: memory: 200Mi cpu: 200m livenessProbe: httpGet: path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 5 periodSeconds: 20 successThreshold: 1 failureThreshold: 3 readinessProbe: httpGet: path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 5 periodSeconds: 20 successThreshold: 1 failureThreshold: 3 startupProbe: httpGet: path: /cmii/health port: pod-port scheme: HTTP initialDelaySeconds: 60 timeoutSeconds: 3 periodSeconds: 20 successThreshold: 1 failureThreshold: 5 volumeMounts: - name: nfs-backend-log-volume mountPath: /cmii/logs readOnly: false subPath: uavcloud-devflight/cmii-uav-data-classification volumes: - name: nfs-backend-log-volume persistentVolumeClaim: claimName: nfs-backend-log-pvc --- apiVersion: v1 kind: Service metadata: name: cmii-uav-data-classification namespace: uavcloud-devflight labels: cmii.type: backend cmii.app: cmii-uav-data-classification octopus/control: backend-app-1.0.0 app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 5.7.0 spec: type: ClusterIP selector: cmii.type: backend cmii.app: cmii-uav-data-classification ports: - name: backend-tcp port: 8080 protocol: TCP targetPort: 8080 ---