Skip to content

Instantly share code, notes, and snippets.

@Cervator
Created May 29, 2018 15:59
Show Gist options
  • Save Cervator/10e28db0eed0e5ee1a93faedb64cc96e to your computer and use it in GitHub Desktop.
Save Cervator/10e28db0eed0e5ee1a93faedb64cc96e to your computer and use it in GitHub Desktop.
[root@remoteworkspace bin]# kubectl describe pod jx-staging-demo-755668f8bc-xnbtr -n jx-staging
Name: jx-staging-demo-755668f8bc-xnbtr
Namespace: jx-staging
Node: gke-democluster-default-pool-7c35eaae-bjh4/10.142.0.2
Start Time: Mon, 28 May 2018 21:57:53 +0000
Labels: app=jx-staging-demo
draft=draft-app
pod-template-hash=3112249467
Annotations: kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"jx-staging","name":"jx-staging-demo-755668f8bc","uid":"2b d5b7b8-62c2-11e8-929f-42...
Status: Running
IP: 10.36.1.24
Controlled By: ReplicaSet/jx-staging-demo-755668f8bc
Containers:
demo:
Container ID: docker://5996d0083be0655c4a31afe15d055758709e0728750d590c8dc38aca8a431607
Image: 10.39.242.230:5000/teratestorg/demo:0.0.1
Image ID: docker-pullable://10.39.242.230:5000/teratestorg/demo@sha256:ac7b8ee7e1ccf6b27c85e6fa43fa07f82b372d6fb9ca927cfb99d8f6281125d4
Port: 8080/TCP
Host Port: 0/TCP
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: Completed
Exit Code: 0
Started: Tue, 29 May 2018 15:48:59 +0000
Finished: Tue, 29 May 2018 15:49:12 +0000
Ready: False
Restart Count: 205
Limits:
cpu: 500m
memory: 512Mi
Requests:
cpu: 400m
memory: 512Mi
Liveness: http-get http://:8080/actuator/health delay=60s timeout=1s period=10s #success=1 #failure=3
Readiness: http-get http://:8080/actuator/health delay=0s timeout=1s period=10s #success=1 #failure=3
Environment: <none>
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-9k9gv (ro)
Conditions:
Type Status
Initialized True
Ready False
PodScheduled True
Volumes:
default-token-9k9gv:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-9k9gv
Optional: false
QoS Class: Burstable
Node-Selectors: <none>
Tolerations: node.alpha.kubernetes.io/notReady:NoExecute for 300s
node.alpha.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Pulled 17m (x202 over 17h) kubelet, gke-democluster-default-pool-7c35eaae-bjh4 Container image "10.39.242.230:5000/teratestorg/demo:0.0.1" already present on machine
Warning FailedSync 12m (x4678 over 17h) kubelet, gke-democluster-default-pool-7c35eaae-bjh4 Error syncing pod
Warning BackOff 2m (x4723 over 17h) kubelet, gke-democluster-default-pool-7c35eaae-bjh4 Back-off restarting failed container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment