Skip to content

Instantly share code, notes, and snippets.

@CaptTofu
Created November 3, 2017 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CaptTofu/499a1cb4093b9d225ae423b1219d5a01 to your computer and use it in GitHub Desktop.
Save CaptTofu/499a1cb4093b9d225ae423b1219d5a01 to your computer and use it in GitHub Desktop.
kubectl describe pod orchestrator-75946fbc4b-5cz75
Name: orchestrator-75946fbc4b-5cz75
Namespace: default
Node: kubernetes-minion-group-c92m/10.128.0.5
Start Time: Thu, 02 Nov 2017 16:05:34 -0400
Labels: app=vitess
component=orchestrator
pod-template-hash=3150296706
Annotations: kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"default","name":"orchestrator-75946fbc4b","uid":"2faf7664-c009-11e7-aeb6-42010a80...
Status: Running
IP: 10.64.2.15
Created By: ReplicaSet/orchestrator-75946fbc4b
Controlled By: ReplicaSet/orchestrator-75946fbc4b
Containers:
orchestrator:
Container ID: docker://160e00b0fd6a92605ce7c396ad07a1190123269ebdef9f686fdd171fc55f000f
Image: vitess/orchestrator:latest
Image ID: docker-pullable://vitess/orchestrator@sha256:a11793361745bab4c962cdcbde74cb1e28b5838dc5fa44df1e2ea4532bfb5a45
Port: <none>
Command:
bash
-c
set -x
until mysqladmin -h 127.0.0.1 ping; do sleep 1; done
exec orchestrator http
State: Running
Started: Fri, 03 Nov 2017 14:44:49 -0400
Last State: Terminated
Reason: Error
Exit Code: 137
Started: Fri, 03 Nov 2017 14:38:59 -0400
Finished: Fri, 03 Nov 2017 14:44:48 -0400
Ready: False
Restart Count: 233
Limits:
cpu: 100m
memory: 512Mi
Requests:
cpu: 100m
memory: 512Mi
Liveness: http-get http://:3000/ delay=300s timeout=30s period=10s #success=1 #failure=3
Readiness: http-get http://:3000/ delay=0s timeout=10s period=10s #success=1 #failure=3
Environment: <none>
Mounts:
/orc/conf from config (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-lnv6r (ro)
mysql:
Container ID: docker://a76e45fb530fbb68bd237ccdc32913459507d73b93c9904c2e020cb53cec4c10
Image: vitess/orchestrator:latest
Image ID: docker-pullable://vitess/orchestrator@sha256:a11793361745bab4c962cdcbde74cb1e28b5838dc5fa44df1e2ea4532bfb5a45
Port: <none>
Command:
mysqld
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: Error
Exit Code: 1
Started: Fri, 03 Nov 2017 14:44:12 -0400
Finished: Fri, 03 Nov 2017 14:44:15 -0400
Ready: False
Restart Count: 266
Limits:
cpu: 100m
memory: 1Gi
Requests:
cpu: 100m
memory: 1Gi
Liveness: exec [mysqladmin ping] delay=60s timeout=10s period=10s #success=1 #failure=3
Environment: <none>
Mounts:
/var/lib/mysql from data (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-lnv6r (ro)
Conditions:
Type Status
Initialized True
Ready False
PodScheduled True
Volumes:
config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: orchestrator
Optional: false
data:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
default-token-lnv6r:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-lnv6r
Optional: false
QoS Class: Guaranteed
Node-Selectors: <none>
Tolerations: node.alpha.kubernetes.io/notReady:NoExecute for 300s
node.alpha.kubernetes.io/unreachable:NoExecute for 300s
Events:
FirstSeen LastSeen Count From SubObjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
22h 48m 5953 kubelet, kubernetes-minion-group-c92m Warning FailedSync Error syncing pod
22h 33m 228 kubelet, kubernetes-minion-group-c92m spec.containers{orchestrator} Normal Killing Killing container with id docker://orchestrator:Container failed liveness probe.. Container will be killed and recreated.
22h 23m 6065 kubelet, kubernetes-minion-group-c92m spec.containers{mysql} Warning BackOff Back-off restarting failed container
22h 2m 8131 kubelet, kubernetes-minion-group-c92m spec.containers{orchestrator} Warning Unhealthy Readiness probe failed: Get http://10.64.2.15:3000/: dial tcp 10.64.2.15:3000: getsockopt: connection refused
patg@dynbox:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment