mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-04 12:47:36 +08:00
254 lines
7.2 KiB
JSON
254 lines
7.2 KiB
JSON
{
|
|
"metadata": {
|
|
"name": "94ab4fe5d60d59d9474d1a50b05c3d8c-deployment-67bf8f4d58-bsc8q",
|
|
"generateName": "94ab4fe5d60d59d9474d1a50b05c3d8c-deployment-67bf8f4d58-",
|
|
"namespace": "6e22adb70c114b1d9a46d17d8146ba37",
|
|
"selfLink": "/api/v1/namespaces/6e22adb70c114b1d9a46d17d8146ba37/pods/94ab4fe5d60d59d9474d1a50b05c3d8c-deployment-67bf8f4d58-bsc8q",
|
|
"uid": "27a3179a-c8a3-11e9-9b5c-468210d133b9",
|
|
"resourceVersion": "1989791",
|
|
"creationTimestamp": "2019-08-27T08:17:48Z",
|
|
"labels": {
|
|
"creater": "Rainbond",
|
|
"creater_id": "1566893868147904033",
|
|
"name": "gr5c3d8c",
|
|
"pod-template-hash": "2369490814",
|
|
"service_alias": "gr5c3d8c",
|
|
"service_id": "94ab4fe5d60d59d9474d1a50b05c3d8c",
|
|
"tenant_id": "6e22adb70c114b1d9a46d17d8146ba37",
|
|
"tenant_name": "03l9piwh",
|
|
"version": "20190827160935"
|
|
},
|
|
"annotations": {
|
|
"rainbond.com/tolerate-unready-endpoints": "true"
|
|
},
|
|
"ownerReferences": [
|
|
{
|
|
"apiVersion": "extensions/v1beta1",
|
|
"kind": "ReplicaSet",
|
|
"name": "94ab4fe5d60d59d9474d1a50b05c3d8c-deployment-67bf8f4d58",
|
|
"uid": "27a17f28-c8a3-11e9-9b5c-468210d133b9",
|
|
"controller": true,
|
|
"blockOwnerDeletion": true
|
|
}
|
|
]
|
|
},
|
|
"spec": {
|
|
"volumes": [
|
|
{
|
|
"name": "default-token-8bdg9",
|
|
"secret": {
|
|
"secretName": "default-token-8bdg9",
|
|
"defaultMode": 420
|
|
}
|
|
}
|
|
],
|
|
"containers": [
|
|
{
|
|
"name": "94ab4fe5d60d59d9474d1a50b05c3d8c",
|
|
"image": "goodrain.me/nginx:20190827160935",
|
|
"ports": [
|
|
{
|
|
"containerPort": 80,
|
|
"protocol": "TCP"
|
|
},
|
|
{
|
|
"containerPort": 88,
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"name": "LOGGER_DRIVER_NAME",
|
|
"value": "streamlog"
|
|
},
|
|
{
|
|
"name": "PORT",
|
|
"value": "80"
|
|
},
|
|
{
|
|
"name": "PROTOCOL",
|
|
"value": "http"
|
|
},
|
|
{
|
|
"name": "MONITOR_PORT",
|
|
"value": "80:88"
|
|
},
|
|
{
|
|
"name": "CUR_NET",
|
|
"value": "midonet"
|
|
},
|
|
{
|
|
"name": "NGINX_VERSION",
|
|
"value": "1.17.3"
|
|
},
|
|
{
|
|
"name": "NJS_VERSION",
|
|
"value": "0.3.5"
|
|
},
|
|
{
|
|
"name": "PKG_RELEASE",
|
|
"value": "1~buster"
|
|
},
|
|
{
|
|
"name": "TENANT_ID",
|
|
"value": "6e22adb70c114b1d9a46d17d8146ba37"
|
|
},
|
|
{
|
|
"name": "SERVICE_ID",
|
|
"value": "94ab4fe5d60d59d9474d1a50b05c3d8c"
|
|
},
|
|
{
|
|
"name": "MEMORY_SIZE",
|
|
"value": "small"
|
|
},
|
|
{
|
|
"name": "SERVICE_NAME",
|
|
"value": "gr5c3d8c"
|
|
},
|
|
{
|
|
"name": "SERVICE_EXTEND_METHOD",
|
|
"value": "stateless"
|
|
},
|
|
{
|
|
"name": "SERVICE_POD_NUM",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "HOST_IP",
|
|
"valueFrom": {
|
|
"fieldRef": {
|
|
"apiVersion": "v1",
|
|
"fieldPath": "status.hostIP"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "POD_IP",
|
|
"valueFrom": {
|
|
"fieldRef": {
|
|
"apiVersion": "v1",
|
|
"fieldPath": "status.podIP"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"resources": {
|
|
"limits": {
|
|
"cpu": "0",
|
|
"memory": "64Mi"
|
|
},
|
|
"requests": {
|
|
"cpu": "0",
|
|
"memory": "64Mi"
|
|
}
|
|
},
|
|
"volumeMounts": [
|
|
{
|
|
"name": "default-token-8bdg9",
|
|
"readOnly": true,
|
|
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
|
|
}
|
|
],
|
|
"readinessProbe": {
|
|
"tcpSocket": {
|
|
"port": 88
|
|
},
|
|
"initialDelaySeconds": 2,
|
|
"timeoutSeconds": 30,
|
|
"periodSeconds": 3,
|
|
"successThreshold": 1,
|
|
"failureThreshold": 3
|
|
},
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File",
|
|
"imagePullPolicy": "IfNotPresent"
|
|
}
|
|
],
|
|
"restartPolicy": "Always",
|
|
"terminationGracePeriodSeconds": 30,
|
|
"dnsPolicy": "ClusterFirst",
|
|
"serviceAccountName": "default",
|
|
"serviceAccount": "default",
|
|
"nodeName": "c6996a36-d345-4d11-9bc2-a772706308e5",
|
|
"securityContext": {},
|
|
"affinity": {
|
|
"nodeAffinity": {
|
|
"requiredDuringSchedulingIgnoredDuringExecution": {
|
|
"nodeSelectorTerms": [
|
|
{
|
|
"matchExpressions": [
|
|
{
|
|
"key": "beta.kubernetes.io/os",
|
|
"operator": "NotIn",
|
|
"values": [
|
|
"windows"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
]
|
|
},
|
|
"status": {
|
|
"phase": "Running",
|
|
"conditions": [
|
|
{
|
|
"type": "Initialized",
|
|
"status": "True",
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2019-08-27T08:17:48Z"
|
|
},
|
|
{
|
|
"type": "Ready",
|
|
"status": "False",
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2019-08-27T08:17:48Z",
|
|
"reason": "ContainersNotReady",
|
|
"message": "containers with unready status: [94ab4fe5d60d59d9474d1a50b05c3d8c]"
|
|
},
|
|
{
|
|
"type": "PodScheduled",
|
|
"status": "True",
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2019-08-27T08:17:48Z"
|
|
}
|
|
],
|
|
"hostIP": "192.168.2.172",
|
|
"podIP": "10.0.237.23",
|
|
"startTime": "2019-08-27T08:17:48Z",
|
|
"containerStatuses": [
|
|
{
|
|
"name": "94ab4fe5d60d59d9474d1a50b05c3d8c",
|
|
"state": {
|
|
"running": {
|
|
"startedAt": "2019-08-27T08:17:49Z"
|
|
}
|
|
},
|
|
"lastState": {},
|
|
"ready": false,
|
|
"restartCount": 0,
|
|
"image": "nginx:latest",
|
|
"imageID": "docker-pullable://nginx@sha256:53ddb41e46de3d63376579acf46f9a41a8d7de33645db47a486de9769201fec9",
|
|
"containerID": "docker://c251db37c97307cbe0cfc6c44d538bff5236065e14bd647e0f019e47db307c15"
|
|
}
|
|
],
|
|
"qosClass": "Burstable"
|
|
}
|
|
} |