Created
November 27, 2018 06:00
-
-
Save alena1108/babf093108c551cd5c3a5b41540be50d to your computer and use it in GitHub Desktop.
pod stuck in terminating
This file contains hidden or 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
| > kubectl describe pod cattle-node-agent-h9qh2 --namespace cattle-system | |
| Name: cattle-node-agent-h9qh2 | |
| Namespace: cattle-system | |
| Priority: 0 | |
| PriorityClassName: <none> | |
| Node: ip-172-31-14-214/172.31.14.214 | |
| Start Time: Tue, 27 Nov 2018 01:15:39 +0000 | |
| Labels: app=cattle-agent | |
| controller-revision-hash=1593238794 | |
| pod-template-generation=1 | |
| Annotations: <none> | |
| Status: Terminating (lasts 4h) | |
| Termination Grace Period: 30s | |
| IP: 172.31.14.214 | |
| Controlled By: DaemonSet/cattle-node-agent | |
| Containers: | |
| agent: | |
| Container ID: docker://0972fc5960c551704046665534979e3a660c199be8cb883d6b9954e4255eae75 | |
| Image: rancher/rancher-agent:v2.1.1 | |
| Image ID: docker-pullable://docker.io/rancher/rancher-agent@sha256:2236b44b39bf0c2ae2f5c158f2516e3c89c85f8fa664fa3315b3effe66e63395 | |
| Port: <none> | |
| Host Port: <none> | |
| State: Terminated | |
| Exit Code: 0 | |
| Started: Mon, 01 Jan 0001 00:00:00 +0000 | |
| Finished: Mon, 01 Jan 0001 00:00:00 +0000 | |
| Last State: Terminated | |
| Reason: Error | |
| Exit Code: 1 | |
| Started: Tue, 27 Nov 2018 01:15:44 +0000 | |
| Finished: Tue, 27 Nov 2018 01:15:46 +0000 | |
| Ready: False | |
| Restart Count: 1 | |
| Environment: | |
| CATTLE_NODE_NAME: (v1:spec.nodeName) | |
| CATTLE_SERVER: https://68.183.164.160 | |
| CATTLE_CA_CHECKSUM: d5c01856edb5e715d148bbffa5ab2c9dbf75265f4c20babc209cd64e40af7f80 | |
| CATTLE_CLUSTER: false | |
| CATTLE_K8S_MANAGED: true | |
| CATTLE_AGENT_CONNECT: true | |
| Mounts: | |
| /cattle-credentials from cattle-credentials (ro) | |
| /etc/kubernetes from k8s-ssl (rw) | |
| /run from run (rw) | |
| /var/run from var-run (rw) | |
| /var/run/secrets/kubernetes.io/serviceaccount from cattle-token-76ss5 (ro) | |
| Conditions: | |
| Type Status | |
| Initialized True | |
| Ready False | |
| ContainersReady False | |
| PodScheduled True | |
| Volumes: | |
| k8s-ssl: | |
| Type: HostPath (bare host directory volume) | |
| Path: /etc/kubernetes | |
| HostPathType: DirectoryOrCreate | |
| var-run: | |
| Type: HostPath (bare host directory volume) | |
| Path: /var/run | |
| HostPathType: DirectoryOrCreate | |
| run: | |
| Type: HostPath (bare host directory volume) | |
| Path: /run | |
| HostPathType: DirectoryOrCreate | |
| cattle-credentials: | |
| Type: Secret (a volume populated by a Secret) | |
| SecretName: cattle-credentials-5b8ff9d | |
| Optional: false | |
| cattle-token-76ss5: | |
| Type: Secret (a volume populated by a Secret) | |
| SecretName: cattle-token-76ss5 | |
| Optional: false | |
| QoS Class: BestEffort | |
| Node-Selectors: <none> | |
| Tolerations: node-role.kubernetes.io/controlplane=true:NoSchedule | |
| node-role.kubernetes.io/etcd=true:NoExecute | |
| node.kubernetes.io/disk-pressure:NoSchedule | |
| node.kubernetes.io/memory-pressure:NoSchedule | |
| node.kubernetes.io/not-ready:NoExecute | |
| node.kubernetes.io/unreachable:NoExecute | |
| Events: <none> | |
| > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment