163 lines
6.4 KiB
JSON
163 lines
6.4 KiB
JSON
{
|
|
"apiVersion": "v1",
|
|
"kind": "Pod",
|
|
"metadata": {
|
|
"creationTimestamp": "2021-02-18T09:46:18Z",
|
|
"generateName": "nginx-deployment-7b88ccfd76-",
|
|
"labels": {
|
|
"app": "nginx",
|
|
"pod-template-hash": "7b88ccfd76"
|
|
},
|
|
"managedFields": [
|
|
{
|
|
"apiVersion": "v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {"f:metadata":{"f:generateName":{},"f:labels":{".":{},"f:app":{},"f:pod-template-hash":{}},"f:ownerReferences":{".":{},"k:{\"uid\":\"c9f927f9-8f7a-43c4-a100-b4bdf306dd93\"}":{".":{},"f:apiVersion":{},"f:blockOwnerDeletion":{},"f:controller":{},"f:kind":{},"f:name":{},"f:uid":{}}}},"f:spec":{"f:containers":{"k:{\"name\":\"nginx\"}":{".":{},"f:image":{},"f:imagePullPolicy":{},"f:name":{},"f:ports":{".":{},"k:{\"containerPort\":80,\"protocol\":\"TCP\"}":{".":{},"f:containerPort":{},"f:protocol":{}}},"f:resources":{".":{},"f:requests":{".":{},"f:cpu":{}}},"f:terminationMessagePath":{},"f:terminationMessagePolicy":{}}},"f:dnsPolicy":{},"f:enableServiceLinks":{},"f:restartPolicy":{},"f:schedulerName":{},"f:securityContext":{},"f:terminationGracePeriodSeconds":{}}},
|
|
"manager": "kube-controller-manager",
|
|
"operation": "Update",
|
|
"time": "2021-02-18T09:46:18Z"
|
|
},
|
|
{
|
|
"apiVersion": "v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {"f:status":{"f:conditions":{"k:{\"type\":\"ContainersReady\"}":{".":{},"f:lastProbeTime":{},"f:lastTransitionTime":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Initialized\"}":{".":{},"f:lastProbeTime":{},"f:lastTransitionTime":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Ready\"}":{".":{},"f:lastProbeTime":{},"f:lastTransitionTime":{},"f:status":{},"f:type":{}}},"f:containerStatuses":{},"f:hostIP":{},"f:phase":{},"f:podIP":{},"f:podIPs":{".":{},"k:{\"ip\":\"10.224.98.9\"}":{".":{},"f:ip":{}}},"f:startTime":{}}},
|
|
"manager": "kubelet",
|
|
"operation": "Update",
|
|
"time": "2021-02-18T09:46:19Z"
|
|
}
|
|
],
|
|
"name": "nginx-deployment-7b88ccfd76-24jf7",
|
|
"namespace": "default",
|
|
"ownerReferences": [
|
|
{
|
|
"apiVersion": "apps/v1",
|
|
"blockOwnerDeletion": true,
|
|
"controller": true,
|
|
"kind": "ReplicaSet",
|
|
"name": "nginx-deployment-7b88ccfd76",
|
|
"uid": "c9f927f9-8f7a-43c4-a100-b4bdf306dd93"
|
|
}
|
|
],
|
|
"resourceVersion": "10345330",
|
|
"uid": "3be4f64b-3687-47ff-9910-b72366ea798e"
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"image": "nginx:1.14.2",
|
|
"imagePullPolicy": "IfNotPresent",
|
|
"name": "nginx",
|
|
"ports": [
|
|
{
|
|
"containerPort": 80,
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"resources": {
|
|
"requests": {
|
|
"cpu": "1m"
|
|
}
|
|
},
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File",
|
|
"volumeMounts": [
|
|
{
|
|
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
|
"name": "default-token-hz58m",
|
|
"readOnly": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"dnsPolicy": "ClusterFirst",
|
|
"enableServiceLinks": true,
|
|
"nodeName": "gke-pf-default-pool-ad46e28b-kdh9",
|
|
"preemptionPolicy": "PreemptLowerPriority",
|
|
"priority": 0,
|
|
"restartPolicy": "Always",
|
|
"schedulerName": "default-scheduler",
|
|
"securityContext": {},
|
|
"serviceAccount": "default",
|
|
"serviceAccountName": "default",
|
|
"terminationGracePeriodSeconds": 30,
|
|
"tolerations": [
|
|
{
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/not-ready",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
},
|
|
{
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/unreachable",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
}
|
|
],
|
|
"volumes": [
|
|
{
|
|
"name": "default-token-hz58m",
|
|
"secret": {
|
|
"defaultMode": 420,
|
|
"secretName": "default-token-hz58m"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"status": {
|
|
"conditions": [
|
|
{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2021-02-18T09:46:18Z",
|
|
"status": "True",
|
|
"type": "Initialized"
|
|
},
|
|
{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2021-02-18T09:46:19Z",
|
|
"status": "True",
|
|
"type": "Ready"
|
|
},
|
|
{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2021-02-18T09:46:19Z",
|
|
"status": "True",
|
|
"type": "ContainersReady"
|
|
},
|
|
{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2021-02-18T09:46:18Z",
|
|
"status": "True",
|
|
"type": "PodScheduled"
|
|
}
|
|
],
|
|
"containerStatuses": [
|
|
{
|
|
"containerID": "docker://cea8a81981cd4780fd0b705049a533ca9d83c4596b9f7f4e67915863a2ca76a2",
|
|
"image": "nginx:1.14.2",
|
|
"imageID": "docker-pullable://nginx@sha256:f7988fb6c02e0ce69257d9bd9cf37ae20a60f1df7563c3a2a6abe24160306b8d",
|
|
"lastState": {},
|
|
"name": "nginx",
|
|
"ready": true,
|
|
"restartCount": 0,
|
|
"started": true,
|
|
"state": {
|
|
"running": {
|
|
"startedAt": "2021-02-18T09:46:19Z"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"hostIP": "10.223.96.100",
|
|
"phase": "Running",
|
|
"podIP": "10.224.98.9",
|
|
"podIPs": [
|
|
{
|
|
"ip": "10.224.98.9"
|
|
}
|
|
],
|
|
"qosClass": "Burstable",
|
|
"startTime": "2021-02-18T09:46:18Z"
|
|
}
|
|
}
|