# 替换namespace harbor私有地址

---
# Source: outside-deploy/charts/backend-app/templates/pvc.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: cmii-uav-data-post-process-cache
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.modules: cmlc
    cmii.app: cmii-uav-data-post-process
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  storageClassName: nfs-prod-distribute
  accessModes:
    - ReadWriteMany
  volumeMode: Filesystem
  resources:
    requests:
      storage: 15Gi
---
# Source: outside-deploy/charts/backend-app/templates/pvc.yaml
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: cmii-uav-material-warehouse-cache
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-material-warehouse
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  storageClassName: nfs-prod-distribute
  accessModes:
    - ReadWriteMany
  volumeMode: Filesystem
  resources:
    requests:
      storage: 15Gi
---
# Source: outside-deploy/charts/backend-app/templates/pvc.yaml
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: cmii-uav-cms-cache
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-cms
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"

spec:
  storageClassName: nfs-prod-distribute
  accessModes:
    - ReadWriteMany
  volumeMode: Filesystem
  resources:
    requests:
      storage: 15Gi
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
apiVersion: v1
kind: Service
metadata:
  name: cmii-admin-data
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.modules: cmlc.loadm
    cmii.app: cmii-admin-data
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-admin-data
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-admin-gateway
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.modules: loadm
    cmii.app: cmii-admin-gateway
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-admin-gateway
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-admin-user
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-admin-user
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-admin-user
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-open-gateway
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-open-gateway
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-open-gateway
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-airspace
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-airspace
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-airspace
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-integration
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-integration
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-integration
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-alarm
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-alarm
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-alarm
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-brain
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-brain
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-brain
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-cloud-live
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-cloud-live
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: NodePort
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-cloud-live
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
      nodePort: 31213
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-data-post-process
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.modules: cmlc
    cmii.app: cmii-uav-data-post-process
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-data-post-process
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-developer
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-developer
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-developer
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-device
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-device
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-device
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-gateway
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-gateway
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-gateway
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-industrial-portfolio
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-industrial-portfolio
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-industrial-portfolio
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-kpi-monitor
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-kpi-monitor
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-kpi-monitor
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-logger
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-logger
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-logger
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-material-warehouse
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-material-warehouse
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-material-warehouse
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-mission
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-mission
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-mission
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-mqtthandler
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-mqtthandler
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-mqtthandler
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-notice
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-notice
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-notice
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-oauth
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-oauth
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-oauth
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-process
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-process
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-process
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-surveillance
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-surveillance
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-surveillance
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-user
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-user
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-user
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-waypoint
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-waypoint
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-waypoint
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-cms
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-cms
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-cms
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-gis-server
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-gis-server
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-gis-server
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-suav-supervision
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-suav-supervision
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-suav-supervision
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-emergency
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-emergency
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-emergency
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-autowaypoint
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-autowaypoint
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-autowaypoint
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-grid-datasource
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-grid-datasource
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-grid-datasource
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-grid-engine
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-grid-engine
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-grid-engine
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/service.yaml
---
apiVersion: v1
kind: Service
metadata:
  name: cmii-uav-grid-manage
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-grid-manage
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  type: ClusterIP
  selector:
    cmii.type: backend
    cmii.app: cmii-uav-grid-manage
  ports:
    - name: backend-tcp
      port: 8080
      protocol: TCP
      targetPort: 8080
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-admin-data
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.modules: cmlc.loadm
    cmii.app: cmii-admin-data
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-admin-data
          image: "harbor.cdcyy.com.cn/cmii/cmii-admin-data:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-admin-data"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-admin-data
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-admin-gateway
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.modules: loadm
    cmii.app: cmii-admin-gateway
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-admin-gateway
          image: "harbor.cdcyy.com.cn/cmii/cmii-admin-gateway:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-admin-gateway"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-admin-gateway
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-admin-user
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-admin-user
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-admin-user
          image: "harbor.cdcyy.com.cn/cmii/cmii-admin-user:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-admin-user"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-admin-user
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-open-gateway
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-open-gateway
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-open-gateway
          image: "harbor.cdcyy.com.cn/cmii/cmii-open-gateway:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-open-gateway"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-open-gateway
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-airspace
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-airspace
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-airspace
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-airspace:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-airspace"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-airspace
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-integration
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-integration
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-integration
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-integration:5.0.0-0901"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-integration"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-integration
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-alarm
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-alarm
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-alarm
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-alarm:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-alarm"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-alarm
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-brain
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-brain
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-brain
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-brain:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-brain"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-brain
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-cloud-live
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-cloud-live
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  strategy:
    rollingUpdate:
      maxUnavailable: 1
  selector:
    matchLabels:
      cmii.type: backend
      cmii.app: cmii-uav-cloud-live
  template:
    metadata:
      labels:
        cmii.type: backend
        cmii.app: cmii-uav-cloud-live
    spec:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
              - matchExpressions:
                  - key: uavcloud.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-cloud-live
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-cloud-live:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-cloud-live"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-cloud-live
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-data-post-process
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.modules: cmlc
    cmii.app: cmii-uav-data-post-process
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  strategy:
    rollingUpdate:
      maxUnavailable: 1
  selector:
    matchLabels:
      cmii.type: backend
      cmii.app: cmii-uav-data-post-process
  template:
    metadata:
      labels:
        cmii.type: backend
        cmii.app: cmii-uav-data-post-process
    spec:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
              - matchExpressions:
                  - key: uavcloud.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-data-post-process
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-data-post-process:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-data-post-process"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits: null
            requests: null
          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: zhbf/cmii-uav-data-post-process
            - name: data-cache-volume
              mountPath: /cmii/cache
              readOnly: false
              subPath: zhbf/cmii-uav-data-post-process
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
        - name: data-cache-volume
          persistentVolumeClaim:
            claimName: cmii-uav-data-post-process-cache
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-developer
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-developer
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-developer
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-developer:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-developer"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-developer
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-device
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-device
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-device
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-device:5.0.0-0724"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-device"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-device
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-gateway
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-gateway
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-gateway
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-gateway:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-gateway"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-gateway
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-industrial-portfolio
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-industrial-portfolio
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-industrial-portfolio
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-industrial-portfolio:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-industrial-portfolio"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-industrial-portfolio
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-logger
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-logger
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-logger
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-logger:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-logger"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-logger
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-material-warehouse
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-material-warehouse
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-material-warehouse
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-material-warehouse:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-material-warehouse"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true -Dthumbnailator.conserveMemoryWorkaround=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits: null
            requests: null
          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: zhbf/cmii-uav-material-warehouse
            - name: data-cache-volume
              mountPath: /cmii/cache
              readOnly: false
              subPath: zhbf/cmii-uav-material-warehouse
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
        - name: data-cache-volume
          persistentVolumeClaim:
            claimName: cmii-uav-material-warehouse-cache
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-mission
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-mission
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-mission
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-mission:5.0.0-0901"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-mission"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-mission
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-mqtthandler
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-mqtthandler
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  strategy:
    rollingUpdate:
      maxUnavailable: 1
  selector:
    matchLabels:
      cmii.type: backend
      cmii.app: cmii-uav-mqtthandler
  template:
    metadata:
      labels:
        cmii.type: backend
        cmii.app: cmii-uav-mqtthandler
    spec:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
              - matchExpressions:
                  - key: uavcloud.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-mqtthandler
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-mqtthandler:5.0.0-0901"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-mqtthandler"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-mqtthandler
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-notice
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-notice
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-notice
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-notice:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-notice"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-notice
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-oauth
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-oauth
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-oauth
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-oauth:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-oauth"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-oauth
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-process
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-process
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-process
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-process:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-process"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-process
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-surveillance
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-surveillance
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-surveillance
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-surveillance:5.0.0-0901"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-surveillance"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-surveillance
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-user
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-user
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-user
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-user:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-user"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-user
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-waypoint
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-waypoint
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-waypoint
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-waypoint:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-waypoint"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-waypoint
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-cms
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-cms
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-cms
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-cms:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-cms"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits: null
            requests: null
          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: zhbf/cmii-uav-cms
            - name: data-cache-volume
              mountPath: /cmii/cache
              readOnly: false
              subPath: zhbf/cmii-uav-cms
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
        - name: data-cache-volume
          persistentVolumeClaim:
            claimName: cmii-uav-cms-cache
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-gis-server
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-gis-server
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-gis-server
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-gis-server:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-gis-server"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-gis-server
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-suav-supervision
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-suav-supervision
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-suav-supervision
          image: "harbor.cdcyy.com.cn/cmii/cmii-suav-supervision:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-suav-supervision"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-suav-supervision
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-emergency
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-emergency
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-emergency
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-emergency:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-emergency"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-emergency
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-autowaypoint
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-autowaypoint
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-autowaypoint
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-autowaypoint:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-autowaypoint"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-autowaypoint
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-grid-datasource
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-grid-datasource
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-grid-datasource
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-datasource:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-grid-datasource"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-grid-datasource
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-grid-engine
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-grid-engine
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-grid-engine
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-engine:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-grid-engine"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-grid-engine
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc
---
# Source: outside-deploy/charts/backend-app/templates/deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cmii-uav-grid-manage
  namespace: cmii-s1
  labels:
    cmii.type: backend
    cmii.app: cmii-uav-grid-manage
    helm.sh/chart: backend-app-1.1.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/chart-version: "3.0.0"
    app.kubernetes.io/app-version: "5.0.0"
spec:
  replicas: 2
  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.affinity
                    operator: In
                    values:
                      - "demo-s1"
      imagePullSecrets:
        - name: harborsecret
      securityContext:
        {}
      containers:
        - name: cmii-uav-grid-manage
          image: "harbor.cdcyy.com.cn/cmii/cmii-uav-grid-manage:5.0.0"
          imagePullPolicy: Always
          env:
            - name: K8S_NAMESPACE
              value: "cmii-s1"
            - name: APPLICATION_NAME
              value: "cmii-uav-grid-manage"
            - name: CUST_JAVA_OPTS
              value: "-Xms200m -Xmx2500m -Dlog4j2.formatMsgNoLookups=true"
            - name: NACOS_REGISTRY
              value: "helm-nacos:8848"
            - name: NACOS_DISCOVERY_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: NACOS_DISCOVERY_PORT
              value: "8080"
            - name: BIZ_CONFIG_GROUP
            - name: SYS_CONFIG_GROUP
            - name: IMAGE_VERSION
              value: 5.0.0
            
          ports:
            - name: pod-port
              containerPort: 8080
              protocol: TCP
          resources:
            limits:
              memory: 4Gi
              cpu: "3"
            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: zhbf/cmii-uav-grid-manage
      volumes:
        - name: nfs-backend-log-volume
          persistentVolumeClaim:
            claimName: nfs-backend-log-pvc


