Skip to content

Instantly share code, notes, and snippets.

@jmrodri
Created March 11, 2023 05: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 jmrodri/c65e8ed6f82160d1127554f5046b2564 to your computer and use it in GitHub Desktop.
Save jmrodri/c65e8ed6f82160d1127554f5046b2564 to your computer and use it in GitHub Desktop.
kubectl-describe-pods.md
```
Name: api-86d47df589-mwf8d
Namespace: default
Priority: 0
Service Account: default
Node: kind-control-plane/172.26.0.2
Start Time: Sat, 11 Mar 2023 00:47:11 -0500
Labels: io.kompose.network/convert-default=true
io.kompose.service=api
pod-template-hash=86d47df589
Annotations: kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.28.0 (HEAD)
Status: Running
IP: 10.244.0.17
IPs:
IP: 10.244.0.17
Controlled By: ReplicaSet/api-86d47df589
Containers:
api:
Container ID: containerd://cf935a8973b5b6c2b7b3134f30800767df4575de768d83e03b79a7357d9878a2
Image: charm-api:latest-dev
Image ID: docker.io/library/import-2023-03-11@sha256:d3964a254ed5f8d204d16f88fd5eb88055efd05b9605e6b444c2dad9605143df
Port: 8080/TCP
Host Port: 0/TCP
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: StartError
Message: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "./scripts/api-entrypoint.sh": stat ./scripts/api-entrypoint.sh: no such file or directory: unknown
Exit Code: 128
Started: Wed, 31 Dec 1969 19:00:00 -0500
Finished: Sat, 11 Mar 2023 00:48:44 -0500
Ready: False
Restart Count: 4
Environment:
DD_AGENT_HOST: agent
DD_ENV: ch_dev
Mounts:
/app from api-claim0 (rw)
/shared from shared (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-vpqqb (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
api-claim0:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: api-claim0
ReadOnly: false
shared:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: shared
ReadOnly: false
kube-api-access-vpqqb:
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds: 3607
ConfigMapName: kube-root-ca.crt
ConfigMapOptional: <nil>
DownwardAPI: true
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 2m27s default-scheduler 0/1 nodes are available: 1 persistentvolumeclaim "shared" not found. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
Warning FailedScheduling 2m26s default-scheduler running PreBind plugin "VolumeBinding": Operation cannot be fulfilled on persistentvolumeclaims "shared": the object has been modified; please apply your changes to the latest version and try again
Normal Scheduled 2m5s default-scheduler Successfully assigned default/api-86d47df589-mwf8d to kind-control-plane
Normal Pulled 32s (x5 over 2m2s) kubelet Container image "charm-api:latest-dev" already present on machine
Normal Created 32s (x5 over 2m2s) kubelet Created container api
Warning Failed 32s (x5 over 2m2s) kubelet Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "./scripts/api-entrypoint.sh": stat ./scripts/api-entrypoint.sh: no such file or directory: unknown
Warning BackOff 17s (x10 over 2m) kubelet Back-off restarting failed container
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment