243 lines
6.2 KiB
YAML
243 lines
6.2 KiB
YAML
{
|
|
"metadata": {
|
|
"name": "cmii-uav-platform-splice-5bd5c65b97-2fqrt",
|
|
"generateName": "cmii-uav-platform-splice-5bd5c65b97-",
|
|
"namespace": "uavcloud-devflight",
|
|
"selfLink": "/api/v1/namespaces/uavcloud-devflight/pods/cmii-uav-platform-splice-5bd5c65b97-2fqrt",
|
|
"uid": "613b0ccc-9f27-4a90-a6c3-0c7e7a43a979",
|
|
"resourceVersion": "341073286",
|
|
"creationTimestamp": "2023-04-23T08:00:32Z",
|
|
"labels": {
|
|
"cmii.app": "cmii-uav-platform-splice",
|
|
"cmii.type": "frontend",
|
|
"pod-template-hash": "5bd5c65b97"
|
|
},
|
|
"ownerReferences": [
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"kind": "ReplicaSet",
|
|
"name": "cmii-uav-platform-splice-5bd5c65b97",
|
|
"uid": "1dc4c64b-bffe-4358-be0a-fe7e0ecc71c0",
|
|
"controller": true,
|
|
"blockOwnerDeletion": true
|
|
}
|
|
]
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
{
|
|
"name": "default-token-hzddz",
|
|
"secret": {
|
|
"secretName": "default-token-hzddz",
|
|
"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"
|
|
},
|
|
{
|
|
"name": "default-token-hzddz",
|
|
"readOnly": true,
|
|
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
|
|
}
|
|
],
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File",
|
|
|
|
"imagePullPolicy": "Always"
|
|
}
|
|
],
|
|
"restartPolicy": "Always",
|
|
"terminationGracePeriodSeconds": 30,
|
|
"dnsPolicy": "ClusterFirst",
|
|
"serviceAccountName": "default",
|
|
"serviceAccount": "default",
|
|
"nodeName": "dev-08.ecs.io",
|
|
"securityContext": { },
|
|
"imagePullSecrets": [
|
|
{
|
|
"name": "harborsecret"
|
|
}
|
|
],
|
|
"affinity": {
|
|
"nodeAffinity": {
|
|
"requiredDuringSchedulingIgnoredDuringExecution": {
|
|
"nodeSelectorTerms": [
|
|
{
|
|
"matchExpressions": [
|
|
{
|
|
"key": "uavcloud.affinity",
|
|
"operator": "In",
|
|
"values": [
|
|
"common"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"schedulerName": "default-scheduler",
|
|
"tolerations": [
|
|
{
|
|
"key": "node.kubernetes.io/not-ready",
|
|
"operator": "Exists",
|
|
"effect": "NoExecute",
|
|
"tolerationSeconds": 300
|
|
},
|
|
{
|
|
"key": "node.kubernetes.io/unreachable",
|
|
"operator": "Exists",
|
|
"effect": "NoExecute",
|
|
"tolerationSeconds": 300
|
|
}
|
|
],
|
|
"priority": 0,
|
|
"enableServiceLinks": true
|
|
},
|
|
"status": {
|
|
"phase": "Running",
|
|
"conditions": [
|
|
{
|
|
"type": "Initialized",
|
|
"status": "True",
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-04-23T08:00:32Z"
|
|
},
|
|
{
|
|
"type": "Ready",
|
|
"status": "True",
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-04-23T08:00:38Z"
|
|
},
|
|
{
|
|
"type": "ContainersReady",
|
|
"status": "True",
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-04-23T08:00:38Z"
|
|
},
|
|
{
|
|
"type": "PodScheduled",
|
|
"status": "True",
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-04-23T08:00:32Z"
|
|
}
|
|
],
|
|
"hostIP": "192.168.11.162",
|
|
"podIP": "10.244.106.210",
|
|
"podIPs": [
|
|
{
|
|
"ip": "10.244.106.210"
|
|
}
|
|
],
|
|
"startTime": "2023-04-23T08:00:32Z",
|
|
"containerStatuses": [
|
|
{
|
|
"name": "cmii-uav-platform-splice",
|
|
|
|
"state": {
|
|
"running": {
|
|
"startedAt": "2023-04-23T08:00:37Z"
|
|
}
|
|
},
|
|
"lastState": { },
|
|
"ready": true,
|
|
"restartCount": 0,
|
|
"image": "harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice:4.1.2-snapshot",
|
|
"imageID": "docker-pullable://harbor.cdcyy.com.cn/cmii/cmii-uav-platform-splice@sha256:86264f6cfa36f828a829afe061b6cbd9854ff3ff509d287210e93873a78e28e1",
|
|
"containerID": "docker://dcc7cbff3b399fb8ded6abb0350162e1d42c0a9e169228431b98e3adc97f0ed6",
|
|
"started": true
|
|
}
|
|
],
|
|
"qosClass": "Burstable"
|
|
}
|
|
}
|
|
|