Created
April 21, 2017 18:25
-
-
Save hasbro17/9de253a461311085f5aa0d9583f15170 to your computer and use it in GitHub Desktop.
Pod termination with grace period
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11:00:17 | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: 2017-04-21T18:00:05Z | |
labels: | |
app: nginx | |
name: nginx | |
namespace: htariq | |
resourceVersion: "264246" | |
selfLink: /api/v1/namespaces/htariq/pods/nginx | |
uid: 59ad80c4-26bc-11e7-b89c-42010af0018c | |
spec: | |
containers: | |
- image: nginx | |
imagePullPolicy: Always | |
name: nginx-server | |
ports: | |
- containerPort: 80 | |
protocol: TCP | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
name: default-token-bkvnn | |
readOnly: true | |
dnsPolicy: ClusterFirst | |
hostname: test-hostname | |
nodeName: gke-testing-default-pool-0e73c6fa-6gqh | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: default | |
serviceAccountName: default | |
subdomain: test-subdomain | |
terminationGracePeriodSeconds: 30 | |
tolerations: | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/notReady | |
operator: Exists | |
tolerationSeconds: 300 | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/unreachable | |
operator: Exists | |
tolerationSeconds: 300 | |
volumes: | |
- name: default-token-bkvnn | |
secret: | |
defaultMode: 420 | |
secretName: default-token-bkvnn | |
status: | |
conditions: | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: Initialized | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:06Z | |
status: "True" | |
type: Ready | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: PodScheduled | |
containerStatuses: | |
- containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
image: nginx:latest | |
imageID: docker://sha256:5766334bdaa0bc37f1f0c02cb94c351f9b076bcffa042d6ce811b0fd9bc31f3b | |
lastState: {} | |
name: nginx-server | |
ready: true | |
restartCount: 0 | |
state: | |
running: | |
startedAt: 2017-04-21T18:00:06Z | |
hostIP: 10.240.0.2 | |
phase: Running | |
podIP: 10.40.3.133 | |
qosClass: BestEffort | |
startTime: 2017-04-21T18:00:05Z | |
11:00:19 | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: 2017-04-21T18:00:05Z | |
deletionGracePeriodSeconds: 1 | |
deletionTimestamp: 2017-04-21T18:00:20Z | |
labels: | |
app: nginx | |
name: nginx | |
namespace: htariq | |
resourceVersion: "264336" | |
selfLink: /api/v1/namespaces/htariq/pods/nginx | |
uid: 59ad80c4-26bc-11e7-b89c-42010af0018c | |
spec: | |
containers: | |
- image: nginx | |
imagePullPolicy: Always | |
name: nginx-server | |
ports: | |
- containerPort: 80 | |
protocol: TCP | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
name: default-token-bkvnn | |
readOnly: true | |
dnsPolicy: ClusterFirst | |
hostname: test-hostname | |
nodeName: gke-testing-default-pool-0e73c6fa-6gqh | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: default | |
serviceAccountName: default | |
subdomain: test-subdomain | |
terminationGracePeriodSeconds: 30 | |
tolerations: | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/notReady | |
operator: Exists | |
tolerationSeconds: 300 | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/unreachable | |
operator: Exists | |
tolerationSeconds: 300 | |
volumes: | |
- name: default-token-bkvnn | |
secret: | |
defaultMode: 420 | |
secretName: default-token-bkvnn | |
status: | |
conditions: | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: Initialized | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:06Z | |
status: "True" | |
type: Ready | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: PodScheduled | |
containerStatuses: | |
- containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
image: nginx:latest | |
imageID: docker://sha256:5766334bdaa0bc37f1f0c02cb94c351f9b076bcffa042d6ce811b0fd9bc31f3b | |
lastState: {} | |
name: nginx-server | |
ready: true | |
restartCount: 0 | |
state: | |
running: | |
startedAt: 2017-04-21T18:00:06Z | |
hostIP: 10.240.0.2 | |
phase: Running | |
podIP: 10.40.3.133 | |
qosClass: BestEffort | |
startTime: 2017-04-21T18:00:05Z | |
11:00:21 | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: 2017-04-21T18:00:05Z | |
deletionGracePeriodSeconds: 1 | |
deletionTimestamp: 2017-04-21T18:00:20Z | |
labels: | |
app: nginx | |
name: nginx | |
namespace: htariq | |
resourceVersion: "264337" | |
selfLink: /api/v1/namespaces/htariq/pods/nginx | |
uid: 59ad80c4-26bc-11e7-b89c-42010af0018c | |
spec: | |
containers: | |
- image: nginx | |
imagePullPolicy: Always | |
name: nginx-server | |
ports: | |
- containerPort: 80 | |
protocol: TCP | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
name: default-token-bkvnn | |
readOnly: true | |
dnsPolicy: ClusterFirst | |
hostname: test-hostname | |
nodeName: gke-testing-default-pool-0e73c6fa-6gqh | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: default | |
serviceAccountName: default | |
subdomain: test-subdomain | |
terminationGracePeriodSeconds: 30 | |
tolerations: | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/notReady | |
operator: Exists | |
tolerationSeconds: 300 | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/unreachable | |
operator: Exists | |
tolerationSeconds: 300 | |
volumes: | |
- name: default-token-bkvnn | |
secret: | |
defaultMode: 420 | |
secretName: default-token-bkvnn | |
status: | |
conditions: | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: Initialized | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:20Z | |
message: 'containers with unready status: [nginx-server]' | |
reason: ContainersNotReady | |
status: "False" | |
type: Ready | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: PodScheduled | |
containerStatuses: | |
- containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
image: nginx:latest | |
imageID: docker://sha256:5766334bdaa0bc37f1f0c02cb94c351f9b076bcffa042d6ce811b0fd9bc31f3b | |
lastState: {} | |
name: nginx-server | |
ready: false | |
restartCount: 0 | |
state: | |
terminated: | |
containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
exitCode: 0 | |
finishedAt: 2017-04-21T18:00:19Z | |
reason: Completed | |
startedAt: null | |
hostIP: 10.240.0.2 | |
phase: Running | |
qosClass: BestEffort | |
startTime: 2017-04-21T18:00:05Z | |
11:00:22 | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: 2017-04-21T18:00:05Z | |
deletionGracePeriodSeconds: 1 | |
deletionTimestamp: 2017-04-21T18:00:20Z | |
labels: | |
app: nginx | |
name: nginx | |
namespace: htariq | |
resourceVersion: "264337" | |
selfLink: /api/v1/namespaces/htariq/pods/nginx | |
uid: 59ad80c4-26bc-11e7-b89c-42010af0018c | |
spec: | |
containers: | |
- image: nginx | |
imagePullPolicy: Always | |
name: nginx-server | |
ports: | |
- containerPort: 80 | |
protocol: TCP | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
name: default-token-bkvnn | |
readOnly: true | |
dnsPolicy: ClusterFirst | |
hostname: test-hostname | |
nodeName: gke-testing-default-pool-0e73c6fa-6gqh | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: default | |
serviceAccountName: default | |
subdomain: test-subdomain | |
terminationGracePeriodSeconds: 30 | |
tolerations: | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/notReady | |
operator: Exists | |
tolerationSeconds: 300 | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/unreachable | |
operator: Exists | |
tolerationSeconds: 300 | |
volumes: | |
- name: default-token-bkvnn | |
secret: | |
defaultMode: 420 | |
secretName: default-token-bkvnn | |
status: | |
conditions: | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: Initialized | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:20Z | |
message: 'containers with unready status: [nginx-server]' | |
reason: ContainersNotReady | |
status: "False" | |
type: Ready | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: PodScheduled | |
containerStatuses: | |
- containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
image: nginx:latest | |
imageID: docker://sha256:5766334bdaa0bc37f1f0c02cb94c351f9b076bcffa042d6ce811b0fd9bc31f3b | |
lastState: {} | |
name: nginx-server | |
ready: false | |
restartCount: 0 | |
state: | |
terminated: | |
containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
exitCode: 0 | |
finishedAt: 2017-04-21T18:00:19Z | |
reason: Completed | |
startedAt: null | |
hostIP: 10.240.0.2 | |
phase: Running | |
qosClass: BestEffort | |
startTime: 2017-04-21T18:00:05Z | |
11:00:24 | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: 2017-04-21T18:00:05Z | |
deletionGracePeriodSeconds: 1 | |
deletionTimestamp: 2017-04-21T18:00:20Z | |
labels: | |
app: nginx | |
name: nginx | |
namespace: htariq | |
resourceVersion: "264337" | |
selfLink: /api/v1/namespaces/htariq/pods/nginx | |
uid: 59ad80c4-26bc-11e7-b89c-42010af0018c | |
spec: | |
containers: | |
- image: nginx | |
imagePullPolicy: Always | |
name: nginx-server | |
ports: | |
- containerPort: 80 | |
protocol: TCP | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
name: default-token-bkvnn | |
readOnly: true | |
dnsPolicy: ClusterFirst | |
hostname: test-hostname | |
nodeName: gke-testing-default-pool-0e73c6fa-6gqh | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: default | |
serviceAccountName: default | |
subdomain: test-subdomain | |
terminationGracePeriodSeconds: 30 | |
tolerations: | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/notReady | |
operator: Exists | |
tolerationSeconds: 300 | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/unreachable | |
operator: Exists | |
tolerationSeconds: 300 | |
volumes: | |
- name: default-token-bkvnn | |
secret: | |
defaultMode: 420 | |
secretName: default-token-bkvnn | |
status: | |
conditions: | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: Initialized | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:20Z | |
message: 'containers with unready status: [nginx-server]' | |
reason: ContainersNotReady | |
status: "False" | |
type: Ready | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: PodScheduled | |
containerStatuses: | |
- containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
image: nginx:latest | |
imageID: docker://sha256:5766334bdaa0bc37f1f0c02cb94c351f9b076bcffa042d6ce811b0fd9bc31f3b | |
lastState: {} | |
name: nginx-server | |
ready: false | |
restartCount: 0 | |
state: | |
terminated: | |
containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
exitCode: 0 | |
finishedAt: 2017-04-21T18:00:19Z | |
reason: Completed | |
startedAt: null | |
hostIP: 10.240.0.2 | |
phase: Running | |
qosClass: BestEffort | |
startTime: 2017-04-21T18:00:05Z | |
11:00:26 | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: 2017-04-21T18:00:05Z | |
deletionGracePeriodSeconds: 1 | |
deletionTimestamp: 2017-04-21T18:00:20Z | |
labels: | |
app: nginx | |
name: nginx | |
namespace: htariq | |
resourceVersion: "264337" | |
selfLink: /api/v1/namespaces/htariq/pods/nginx | |
uid: 59ad80c4-26bc-11e7-b89c-42010af0018c | |
spec: | |
containers: | |
- image: nginx | |
imagePullPolicy: Always | |
name: nginx-server | |
ports: | |
- containerPort: 80 | |
protocol: TCP | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
name: default-token-bkvnn | |
readOnly: true | |
dnsPolicy: ClusterFirst | |
hostname: test-hostname | |
nodeName: gke-testing-default-pool-0e73c6fa-6gqh | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: default | |
serviceAccountName: default | |
subdomain: test-subdomain | |
terminationGracePeriodSeconds: 30 | |
tolerations: | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/notReady | |
operator: Exists | |
tolerationSeconds: 300 | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/unreachable | |
operator: Exists | |
tolerationSeconds: 300 | |
volumes: | |
- name: default-token-bkvnn | |
secret: | |
defaultMode: 420 | |
secretName: default-token-bkvnn | |
status: | |
conditions: | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: Initialized | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:20Z | |
message: 'containers with unready status: [nginx-server]' | |
reason: ContainersNotReady | |
status: "False" | |
type: Ready | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: PodScheduled | |
containerStatuses: | |
- containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
image: nginx:latest | |
imageID: docker://sha256:5766334bdaa0bc37f1f0c02cb94c351f9b076bcffa042d6ce811b0fd9bc31f3b | |
lastState: {} | |
name: nginx-server | |
ready: false | |
restartCount: 0 | |
state: | |
terminated: | |
containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
exitCode: 0 | |
finishedAt: 2017-04-21T18:00:19Z | |
reason: Completed | |
startedAt: null | |
hostIP: 10.240.0.2 | |
phase: Running | |
qosClass: BestEffort | |
startTime: 2017-04-21T18:00:05Z | |
11:00:28 | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: 2017-04-21T18:00:05Z | |
deletionGracePeriodSeconds: 1 | |
deletionTimestamp: 2017-04-21T18:00:20Z | |
labels: | |
app: nginx | |
name: nginx | |
namespace: htariq | |
resourceVersion: "264337" | |
selfLink: /api/v1/namespaces/htariq/pods/nginx | |
uid: 59ad80c4-26bc-11e7-b89c-42010af0018c | |
spec: | |
containers: | |
- image: nginx | |
imagePullPolicy: Always | |
name: nginx-server | |
ports: | |
- containerPort: 80 | |
protocol: TCP | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
name: default-token-bkvnn | |
readOnly: true | |
dnsPolicy: ClusterFirst | |
hostname: test-hostname | |
nodeName: gke-testing-default-pool-0e73c6fa-6gqh | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: default | |
serviceAccountName: default | |
subdomain: test-subdomain | |
terminationGracePeriodSeconds: 30 | |
tolerations: | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/notReady | |
operator: Exists | |
tolerationSeconds: 300 | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/unreachable | |
operator: Exists | |
tolerationSeconds: 300 | |
volumes: | |
- name: default-token-bkvnn | |
secret: | |
defaultMode: 420 | |
secretName: default-token-bkvnn | |
status: | |
conditions: | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: Initialized | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:20Z | |
message: 'containers with unready status: [nginx-server]' | |
reason: ContainersNotReady | |
status: "False" | |
type: Ready | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: PodScheduled | |
containerStatuses: | |
- containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
image: nginx:latest | |
imageID: docker://sha256:5766334bdaa0bc37f1f0c02cb94c351f9b076bcffa042d6ce811b0fd9bc31f3b | |
lastState: {} | |
name: nginx-server | |
ready: false | |
restartCount: 0 | |
state: | |
terminated: | |
containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
exitCode: 0 | |
finishedAt: 2017-04-21T18:00:19Z | |
reason: Completed | |
startedAt: null | |
hostIP: 10.240.0.2 | |
phase: Running | |
qosClass: BestEffort | |
startTime: 2017-04-21T18:00:05Z | |
11:00:29 | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: 2017-04-21T18:00:05Z | |
deletionGracePeriodSeconds: 1 | |
deletionTimestamp: 2017-04-21T18:00:20Z | |
labels: | |
app: nginx | |
name: nginx | |
namespace: htariq | |
resourceVersion: "264337" | |
selfLink: /api/v1/namespaces/htariq/pods/nginx | |
uid: 59ad80c4-26bc-11e7-b89c-42010af0018c | |
spec: | |
containers: | |
- image: nginx | |
imagePullPolicy: Always | |
name: nginx-server | |
ports: | |
- containerPort: 80 | |
protocol: TCP | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
name: default-token-bkvnn | |
readOnly: true | |
dnsPolicy: ClusterFirst | |
hostname: test-hostname | |
nodeName: gke-testing-default-pool-0e73c6fa-6gqh | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: default | |
serviceAccountName: default | |
subdomain: test-subdomain | |
terminationGracePeriodSeconds: 30 | |
tolerations: | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/notReady | |
operator: Exists | |
tolerationSeconds: 300 | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/unreachable | |
operator: Exists | |
tolerationSeconds: 300 | |
volumes: | |
- name: default-token-bkvnn | |
secret: | |
defaultMode: 420 | |
secretName: default-token-bkvnn | |
status: | |
conditions: | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: Initialized | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:20Z | |
message: 'containers with unready status: [nginx-server]' | |
reason: ContainersNotReady | |
status: "False" | |
type: Ready | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: PodScheduled | |
containerStatuses: | |
- containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
image: nginx:latest | |
imageID: docker://sha256:5766334bdaa0bc37f1f0c02cb94c351f9b076bcffa042d6ce811b0fd9bc31f3b | |
lastState: {} | |
name: nginx-server | |
ready: false | |
restartCount: 0 | |
state: | |
terminated: | |
containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
exitCode: 0 | |
finishedAt: 2017-04-21T18:00:19Z | |
reason: Completed | |
startedAt: null | |
hostIP: 10.240.0.2 | |
phase: Running | |
qosClass: BestEffort | |
startTime: 2017-04-21T18:00:05Z | |
11:00:31 | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: 2017-04-21T18:00:05Z | |
deletionGracePeriodSeconds: 1 | |
deletionTimestamp: 2017-04-21T18:00:20Z | |
labels: | |
app: nginx | |
name: nginx | |
namespace: htariq | |
resourceVersion: "264337" | |
selfLink: /api/v1/namespaces/htariq/pods/nginx | |
uid: 59ad80c4-26bc-11e7-b89c-42010af0018c | |
spec: | |
containers: | |
- image: nginx | |
imagePullPolicy: Always | |
name: nginx-server | |
ports: | |
- containerPort: 80 | |
protocol: TCP | |
resources: {} | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount | |
name: default-token-bkvnn | |
readOnly: true | |
dnsPolicy: ClusterFirst | |
hostname: test-hostname | |
nodeName: gke-testing-default-pool-0e73c6fa-6gqh | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: default | |
serviceAccountName: default | |
subdomain: test-subdomain | |
terminationGracePeriodSeconds: 30 | |
tolerations: | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/notReady | |
operator: Exists | |
tolerationSeconds: 300 | |
- effect: NoExecute | |
key: node.alpha.kubernetes.io/unreachable | |
operator: Exists | |
tolerationSeconds: 300 | |
volumes: | |
- name: default-token-bkvnn | |
secret: | |
defaultMode: 420 | |
secretName: default-token-bkvnn | |
status: | |
conditions: | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: Initialized | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:20Z | |
message: 'containers with unready status: [nginx-server]' | |
reason: ContainersNotReady | |
status: "False" | |
type: Ready | |
- lastProbeTime: null | |
lastTransitionTime: 2017-04-21T18:00:05Z | |
status: "True" | |
type: PodScheduled | |
containerStatuses: | |
- containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
image: nginx:latest | |
imageID: docker://sha256:5766334bdaa0bc37f1f0c02cb94c351f9b076bcffa042d6ce811b0fd9bc31f3b | |
lastState: {} | |
name: nginx-server | |
ready: false | |
restartCount: 0 | |
state: | |
terminated: | |
containerID: docker://6dc1c6760e87e06f093decf8aed61c2d75f3249d6ddfd409d1eb04cec2964907 | |
exitCode: 0 | |
finishedAt: 2017-04-21T18:00:19Z | |
reason: Completed | |
startedAt: null | |
hostIP: 10.240.0.2 | |
phase: Running | |
qosClass: BestEffort | |
startTime: 2017-04-21T18:00:05Z | |
11:00:32 | |
11:00:34 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment