{ "metadata": { "name": "cmii-uav-platform-splice", "namespace": "uavcloud-devflight", "selfLink": "/apis/apps/v1/namespaces/uavcloud-devflight/deployments/cmii-uav-platform-splice", "uid": "c6c53d74-adbf-4507-a642-06fa695d9139", "resourceVersion": "468805453", "generation": 2, "creationTimestamp": "2023-04-23T08:00:32Z", "labels": { "app.kubernetes.io/managed-by": "Helm", "app.kubernetes.io/version": "4.1.2-snapshot", "cmii.app": "cmii-uav-platform-splice", "cmii.modules": "3dvisual", "cmii.type": "frontend", "helm.sh/chart": "cmii-uav-platform-splice-4.1.2-snapshot" } }, "spec": { "replicas": 2, "selector": { "matchLabels": { "cmii.app": "cmii-uav-platform-splice", "cmii.type": "frontend" } }, "template": { "metadata": { "creationTimestamp": null, "labels": { "cmii.app": "cmii-uav-platform-splice", "cmii.type": "frontend" } }, "spec": { "volumes": [ { "name": "nginx-conf", "configMap": { "name": "nginx-cm", "items": [ { "key": "nginx.conf", "path": "nginx.conf" } ], "defaultMode": 420 } }, { "name": "default-nginx-conf", "configMap": { "name": "default-nginx-cm", "items": [ { "key": "default.conf", "path": "default.conf" } ], "defaultMode": 420 } }, { "name": "tenant-prefix", "configMap": { "name": "tenant-prefix-splice", "items": [ { "key": "ingress-config.js", "path": "ingress-config.js" } ], "defaultMode": 420 } } ], "containers": [ { "name": "cmii-uav-platform-splice", "image": "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:4.1.2-snapshot", "env": [ { "name": "GIT_BRANCH", "value": "feature/UAVCLOUD-20939" }, { "name": "GIT_COMMIT", "value": "c235350212bf2359d550faecab78ff02047bca37" }, { "name": "K8S_NAMESPACE", "value": "uavcloud-devflight" }, { "name": "APPLICATION_NAME", "value": "cmii-uav-platform-splice" } ], "resources": { "limits": { "cpu": "2", "memory": "2Gi" }, "requests": { "cpu": "100m", "memory": "200Mi" } }, "volumeMounts": [ { "name": "nginx-conf", "mountPath": "/usr/local/nginx/conf/nginx.conf", "subPath": "nginx.conf" }, { "name": "default-nginx-conf", "mountPath": "/etc/nginx/conf.d/default.conf", "subPath": "default.conf" }, { "name": "tenant-prefix", "mountPath": "/home/cmii-platform/dist/ingress-config.js", "subPath": "ingress-config.js" } ], "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "imagePullPolicy": "Always" } ], "restartPolicy": "Always", "terminationGracePeriodSeconds": 30, "dnsPolicy": "ClusterFirst", "securityContext": { }, "imagePullSecrets": [ { "name": "harborsecret" } ], "affinity": { "nodeAffinity": { "requiredDuringSchedulingIgnoredDuringExecution": { "nodeSelectorTerms": [ { "matchExpressions": [ { "key": "uavcloud.affinity", "operator": "In", "values": [ "common" ] } ] } ] } } }, "schedulerName": "default-scheduler" } }, "strategy": { "type": "RollingUpdate", "rollingUpdate": { "maxUnavailable": 1, "maxSurge": "25%" } }, "revisionHistoryLimit": 10, "progressDeadlineSeconds": 600 }, "status": { "observedGeneration": 2, "replicas": 2, "updatedReplicas": 2, "readyReplicas": 2, "availableReplicas": 2, "conditions": [ { "type": "Available", "status": "True", "lastUpdateTime": "2023-04-23T08:00:38Z", "lastTransitionTime": "2023-04-23T08:00:38Z", "reason": "MinimumReplicasAvailable", "message": "Deployment has minimum availability." }, { "type": "Progressing", "status": "True", "lastUpdateTime": "2023-04-23T08:00:38Z", "lastTransitionTime": "2023-04-23T08:00:32Z", "reason": "NewReplicaSetAvailable", "message": "ReplicaSet \"cmii-uav-platform-splice-5bd5c65b97\" has successfully progressed." } ] } }