Difference between revisions of "Kubernetes debugging with an ephemeral debug container"
Jump to navigation
Jump to search
m (Welcome moved page Debugging with an ephemeral debug container to Kubernetes debugging with an ephemeral debug container) |
|||
Line 1: | Line 1: | ||
− | + | * https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/#ephemeral-container | |
[[kubectl run]] ephemeral-demo --image=registry.k8s.io/[[pause]]:3.1 [[--restart]]=Never | [[kubectl run]] ephemeral-demo --image=registry.k8s.io/[[pause]]:3.1 [[--restart]]=Never |
Revision as of 07:49, 20 September 2023
kubectl run ephemeral-demo --image=registry.k8s.io/pause:3.1 --restart=Never
kubectl debug -it ephemeral-demo --image=busybox:1.28 --target=ephemeral-demo
K8s troubleshooting: kubectl logs, kubectl top, kubectl get events -A, kubectl describe pod
, Liveness, Readiness, Kubernetes events
, Pulling image, OOMKilled, ProbeWarning, Reason, FailedScheduling
, errImagePull, ImagePullBackOff
, Kubelet conditions: MemoryPressure, DiskPressure, KubeletHasSufficientPID, KubeletReady, kubectl [ debug | attach | exec ] kubectl cluster-info dump, SimKube, KWOK
Advertising: