kube-state-metrics-74f67b58d8-tv6zv | CrashLoopBackOff
himani2203 opened this issue · 1 comments
[root@localhost ~]# kubectl describe pod kube-state-metrics-74f67b58d8-tv6zv -n monitoring
Name: kube-state-metrics-74f67b58d8-tv6zv
Namespace: monitoring
Priority: 0
PriorityClassName:
Node: localhost.localdomain/10.97.60.220
Start Time: Mon, 18 Mar 2019 11:47:05 +0530
Labels: app=kube-state-metrics
pod-template-hash=74f67b58d8
Annotations:
Status: Running
IP: 10.32.0.12
Controlled By: ReplicaSet/kube-state-metrics-74f67b58d8
Containers:
kube-state-metrics:
Container ID: docker://37b6fe74ece8d017e50147befbd5877c761428f4b06ba53299ce1d3df0e8cd3f
Image: gcr.io/google_containers/kube-state-metrics:v0.5.0
Image ID: docker-pullable://gcr.io/google_containers/kube-state-metrics@sha256:e913a24b0a0a89e23968d5e3fbf99501d17c04011fb54b24df0aca6bea232022
Port: 8080/TCP
Host Port: 0/TCP
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: Error
Exit Code: 255
Started: Mon, 18 Mar 2019 12:08:01 +0530
Finished: Mon, 18 Mar 2019 12:08:02 +0530
Ready: False
Restart Count: 5
Environment:
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kube-state-metrics-token-pf9j7 (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
kube-state-metrics-token-pf9j7:
Type: Secret (a volume populated by a Secret)
SecretName: kube-state-metrics-token-pf9j7
Optional: false
QoS Class: BestEffort
Node-Selectors:
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
Normal Scheduled 31m default-scheduler Successfully assigned monitoring/kube-state-metrics-74f67b58d8-tv6zv to localhost.localdomain
Warning BackOff 8m47s kubelet, localhost.localdomain Back-off restarting failed container
Normal Pulled 46s (x7 over 31m) kubelet, localhost.localdomain Container image "gcr.io/google_containers/kube-state-metrics:v0.5.0" already present on machine
Normal Created 45s (x7 over 31m) kubelet, localhost.localdomain Created container
Normal Started 45s (x7 over 31m) kubelet, localhost.localdomain Started container
can you add the logs too?