Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
kubectl logs orchestrator-df8c4c45c-q6rjp -c mysql
2017-11-03 20:04:10 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2017-11-03 20:04:10 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-11-03 20:04:10 0 [Note] mysqld (mysqld 5.6.29-76.2-56) starting as process 1 .
kubectl describe pod orchestrator-df8c4c45c-q6rjp
Name: orchestrator-df8c4c45c-q6rjp
Namespace: default
Node: kubernetes-minion-group-c92m/10.128.0.5
Start Time: Fri, 03 Nov 2017 15:52:30 -0400
Labels: app=vitess
component=orchestrator
pod-template-hash=894707017
Annotations: kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"default","name":"orchestrator-df8c4c45c","uid":"86a1578a-c0d0-11e7-aeb6-42010a800...
Status: Running
IP: 10.64.2.22
Created By: ReplicaSet/orchestrator-df8c4c45c
Controlled By: ReplicaSet/orchestrator-df8c4c45c
Containers:
orchestrator:
Container ID: docker://cce7f9eef16ade79863e7e28c26812368cf5e4d474e6d81c5d0b11f1a575046a
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 15:58:26 -0400
Last State: Terminated
Reason: Error
Exit Code: 137
Started: Fri, 03 Nov 2017 15:52:32 -0400
Finished: Fri, 03 Nov 2017 15:58:25 -0400
Ready: True
Restart Count: 1
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://3c8c0226ebf72f1b9a1f4dd4b43216484442bc195fad3c4a1f8c96bec3ec1c09
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 16:04:07 -0400
Finished: Fri, 03 Nov 2017 16:04:13 -0400
Ready: False
Restart Count: 7
Limits:
cpu: 100m
memory: 1Gi
Requests:
cpu: 100m
memory: 1Gi
Liveness: exec [mysqladmin ping] delay=300s 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
--------- -------- ----- ---- ------------- -------- ------ -------
15m 15m 1 default-scheduler Normal Scheduled Successfully assigned orchestrator-df8c4c45c-q6rjp to kubernetes-minion-group-c92m
15m 15m 1 kubelet, kubernetes-minion-group-c92m Normal SuccessfulMountVolume MountVolume.SetUp succeeded for volume "data"
15m 15m 1 kubelet, kubernetes-minion-group-c92m Normal SuccessfulMountVolume MountVolume.SetUp succeeded for volume "config"
15m 15m 1 kubelet, kubernetes-minion-group-c92m Normal SuccessfulMountVolume MountVolume.SetUp succeeded for volume "default-token-lnv6r"
15m 15m 1 kubelet, kubernetes-minion-group-c92m spec.containers{orchestrator} Normal Pulling pulling image "vitess/orchestrator:latest"
15m 15m 1 kubelet, kubernetes-minion-group-c92m spec.containers{orchestrator} Normal Pulled Successfully pulled image "vitess/orchestrator:latest"
15m 15m 1 kubelet, kubernetes-minion-group-c92m spec.containers{orchestrator} Normal Created Created container
15m 15m 1 kubelet, kubernetes-minion-group-c92m spec.containers{orchestrator} Normal Started Started container
15m 15m 2 kubelet, kubernetes-minion-group-c92m spec.containers{mysql} Normal Started Started container
15m 14m 3 kubelet, kubernetes-minion-group-c92m spec.containers{orchestrator} Warning Unhealthy Readiness probe failed: Get http://10.64.2.22:3000/: dial tcp 10.64.2.22:3000: getsockopt: connection refused
15m 14m 3 kubelet, kubernetes-minion-group-c92m spec.containers{mysql} Normal Pulling pulling image "vitess/orchestrator:latest"
15m 14m 3 kubelet, kubernetes-minion-group-c92m spec.containers{mysql} Normal Pulled Successfully pulled image "vitess/orchestrator:latest"
15m 14m 3 kubelet, kubernetes-minion-group-c92m spec.containers{mysql} Normal Created Created container
15m 5m 47 kubelet, kubernetes-minion-group-c92m spec.containers{mysql} Warning BackOff Back-off restarting failed container
15m 22s 70 kubelet, kubernetes-minion-group-c92m Warning FailedSync Error syncing pod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment