Operate and shipLesson 4 of 10
  1. Metrics, logs, events and traces, not reconciled
  2. Horizontal pod autoscaling, not reconciled
  3. Right-sizing and in-place resize, not reconciled
  4. A troubleshooting method, not reconciled
    1. The loop
    2. First commands
    3. Status reasons
    4. Pods that never appear
    5. Service debugging
    6. Nodes
    7. Control plane
  5. kubectl debug and ephemeral containers, not reconciled
  6. Debugging from the node: crictl, journalctl and nsenter, not reconciled
  7. Upgrades and version skew, not reconciled
  8. etcd, backup and disaster recovery, not reconciled
  9. GitOps with Argo CD, not reconciled
  10. Progressive delivery, not reconciled

A troubleshooting method

Most failures announce themselves in a status reason, an event or a log line. Learn a fixed order of commands, what each status reason means, how to debug a Service hop by hop, and how to spot a cluster-wide fault.

  • 25 min
  • 4 objectives
  • 7 scenes

Shows the lesson one block at a time. Arrow keys step, number keys jump to a scene, and Escape returns to the page where you were.

Reconcile, in 7 scenes

The loop

Under pressure, people change three things at once and cannot tell which one helped. A method prevents that:

  1. Scope. What is broken, since when, and for whom? One pod, one Deployment, one namespace, one node, or everything? Did anything change just before: a deploy, a config edit, a node upgrade?
  2. Observe. Collect the facts the cluster already keeps, in a fixed order, before forming an opinion.
  3. Hypothesise. Name one cause the facts support, and the observation that would disprove it.
  4. Change one thing. The smallest change that tests the hypothesis.
  5. Verify. Check the original symptom, not just the thing you changed. A pod that turns Running may still fail its users.

Scoping is also how you tell a cluster problem from an application problem. A symptom confined to one workload, with its neighbours healthy on the same nodes, is almost always the workload: its image, its configuration, its code. A symptom shared by unrelated workloads points at something they share: a node, cluster DNS, the CNI, the API server, an admission webhook, a quota. Check kubectl get nodes and the pods in kube-system early; they take seconds and rule out half the cluster.

Three questions answer most scoping in under a minute. Is it everywhere? kubectl get events -A --field-selector type=Warning shows whether other namespaces are complaining too. Did something change? kubectl rollout history deployment/<name> and the ReplicaSets’ ages show the last rollout, and your deploy pipeline shows what went out with it. Is it one node? The NODE column of kubectl get pods -o wide answers that.

First commands

Run these in order, and read each one fully before the next:

  • kubectl get pods -o wide shows status, restarts, age, the pod IP and the node. Several bad pods on one node suggest the node; bad pods everywhere suggest the workload.
  • kubectl describe pod <name> shows container states with their last termination reason and exit code, the conditions, and at the bottom, the events for that pod.
  • kubectl get events --sort-by=.lastTimestamp or kubectl events shows what every controller did in the namespace, in time order. Events last an hour by default.
  • kubectl logs <pod> --previous shows what the crashed instance printed before it died. Without --previous you read the fresh instance, which often has not reached the failure yet.
  • kubectl exec tests a hypothesis from inside: resolve a name, open a connection, read a mounted file.

When the image has no shell, kubectl debug adds an ephemeral container with your tools; pass --target=<container> or ps shows only the debugger’s own processes. From kubectl 1.36 its default profile is general, and a node debugging pod shares the host’s namespaces without being privileged unless you ask for --profile=sysadmin. The kubectl debug lesson covers both.

One namespace, five different failures
kubectl -n shop get pods -o wide
NAME                          READY   STATUS                       RESTARTS      AGE   IP           NODE         NOMINATED NODE   READINESS GATES
cache-7f85d74747-2cv2c        0/1     CrashLoopBackOff             1 (6s ago)    70s   10.244.2.3   kx-worker2   <none>           <none>
catalog-7cb5999db8-5wgzj      0/1     ImagePullBackOff             0             70s   10.244.3.4   kx-worker3   <none>           <none>
invoicer-6b6dbdf46c-t7f2l     0/1     CreateContainerConfigError   0             70s   10.244.1.4   kx-worker    <none>           <none>
orders-86bb8b4d9c-9zhhn       0/1     CrashLoopBackOff             3 (28s ago)   70s   10.244.3.5   kx-worker3   <none>           <none>
search-86f7bfddfb-gtg7n       0/1     Pending                      0             70s   <none>       <none>       <none>           <none>
storefront-5cc747ff94-5m4wb   1/1     Running                      0             70s   10.244.2.4   kx-worker2   <none>           <none>
storefront-5cc747ff94-pptx7   1/1     Running                      0             70s   10.244.1.5   kx-worker    <none>           <none>
toolbox                       1/1     Running                      0             70s   10.244.2.5   kx-worker2   <none>           <none>
kubectl -n shop events --types=Warning
LAST SEEN           TYPE      REASON             OBJECT                          MESSAGE
53s (x5 over 70s)   Warning   FailedScheduling   Pod/search-86f7bfddfb-gtg7n     0/4 nodes are available: 1 node(s) had untolerated taint(s), 3 Insufficient cpu. preemption: 0/4 nodes are available: 1 Preemption is not helpful for scheduling, 3 No preemption victims found for incoming pod.
36s (x3 over 68s)   Warning   Failed             Pod/catalog-7cb5999db8-5wgzj    Failed to pull image "ghcr.io/kx-labs/web:1.9": rpc error: code = NotFound desc = failed to pull and unpack image "ghcr.io/kx-labs/web:1.9": failed to resolve reference "ghcr.io/kx-labs/web:1.9": ghcr.io/kx-labs/web:1.9: not found
36s (x3 over 68s)   Warning   Failed             Pod/catalog-7cb5999db8-5wgzj    Error: ErrImagePull
35s (x3 over 67s)   Warning   Failed             Pod/catalog-7cb5999db8-5wgzj    Error: ImagePullBackOff
27s (x3 over 59s)   Warning   BackOff            Pod/orders-86bb8b4d9c-9zhhn     Back-off restarting failed container orders in pod orders-86bb8b4d9c-9zhhn_shop(3b806ea8-52fe-48c1-81c7-a603be7b3cba)
6s (x7 over 66s)    Warning   Failed             Pod/invoicer-6b6dbdf46c-t7f2l   Error: configmap "invoicer-config" not found
5s                  Warning   BackOff            Pod/cache-7f85d74747-2cv2c      Back-off restarting failed container cache in pod cache-7f85d74747-2cv2c_shop(3d32a848-1eab-410d-9e65-4ba492a41cba)
kubectl -n shop logs deploy/orders --previous
{"time":"2026-11-19T09:01:11.627Z","level":"INFO","msg":"starting api","version":"2.3.1","pid":1}
{"time":"2026-11-19T09:01:11.627Z","level":"ERROR","msg":"missing required environment variable","name":"DATABASE_URL"}
kubectl -n shop get pod -l app=cache -o jsonpath='{.items[0].status.containerStatuses[0].lastState.terminated.reason}'
OOMKilled

Four of the five causes are already named. The events say search does not fit any node, catalog’s tag does not exist and invoicer’s ConfigMap is missing. The previous instance of orders says DATABASE_URL is unset. Two pods are in CrashLoopBackOff for different reasons: orders exits on its own, and cache is killed by the kernel at its memory limit.

Status reasons

The STATUS column shows the most useful reason kubectl can find, which is usually a container’s waiting or terminated reason, not the pod’s phase. Phase is only ever Pending, Running, Succeeded, Failed or Unknown. A pod stuck pulling an image is still phase Pending, a pod in CrashLoopBackOff is usually phase Running, and Terminating is a display state for a pod with a deletion timestamp. Filter on phase and the crash loops disappear:

Phase is not status
kubectl get pods -A --field-selector=status.phase!=Running
NAMESPACE   NAME                        READY   STATUS                       RESTARTS   AGE
shop        catalog-7cb5999db8-5wgzj    0/1     ImagePullBackOff             0          70s
shop        invoicer-6b6dbdf46c-t7f2l   0/1     CreateContainerConfigError   0          70s
shop        search-86f7bfddfb-gtg7n     0/1     Pending                      0          70s

What each reason points to:

ReasonWhat happenedUsual causes
ErrImagePull, ImagePullBackOffThe kubelet could not pull the image and is backing offA tag that does not exist, a private registry without an imagePullSecret, a registry rate limit, no network path to the registry
CrashLoopBackOffThe container keeps exiting, and the kubelet waits longer before each restartThe app exits on bad configuration, a missing dependency or a bug; a failing liveness probe; an OOM kill
CreateContainerConfigErrorThe kubelet could not assemble the container’s configurationA missing ConfigMap, Secret or key referenced by env or envFrom
OOMKilled (last state, exit code 137)The kernel killed the container at its memory limitA leak, a limit below the real working set, a heap sized larger than the limit
Pending, no nodeThe scheduler found no nodeRequests larger than any node’s free allocatable, untolerated taints, affinity or topology rules, an unbound PVC
Evicted (phase Failed)The kubelet removed the pod under node pressureMemory or disk pressure on the node; the replacement pod has a different name

The exit code in a container’s last state narrows a crash further. Exit code 1, or any small number, is the application giving up on its own; its logs say why. Exit code 137 is SIGKILL: an OOM kill when the reason is OOMKilled, otherwise the kubelet killing a container that ignored SIGTERM for the whole grace period, for example after a failed liveness probe. Exit code 143 is SIGTERM honoured. A command that does not exist in the image fails before any process starts, with reason StartError and exit code 128 in the last state; check command and the image’s entrypoint.

Docker Hub limits pulls per six-hour window: 100 for unauthenticated clients per IPv4 address or IPv6 /64, 200 for authenticated personal accounts. A cluster behind one NAT address shares the anonymous allowance, so authenticate pulls or mirror images.

The CrashLoopBackOff delay starts at 10 seconds and doubles to a cap of 300 seconds, and resets after a container runs for 10 minutes without trouble. From Kubernetes 1.35, the beta and default-on KubeletCrashLoopBackOffMax feature lets a node lower the cap with maxContainerRestartPeriod; ReduceDefaultCrashLoopBackOffDecay, alpha since 1.33, shortens the defaults only when enabled. The delay explains why a fix seems not to work: the next restart may be minutes away. Deleting the pod gets a fresh one without the accumulated back-off.

Slow is not a status reason, and the usual suspect is CPU throttling. Throttling happens only when a container reaches its CPU limit; above its request and below its limit, it just competes for spare CPU. kubectl top and the metrics.k8s.io API report usage only, so a container pinned at its limit looks merely busy. cAdvisor’s container_cpu_cfs_throttled_periods_total, as a fraction of container_cpu_cfs_periods_total, shows the throttling directly.

Pods that never appear

Sometimes the pods are not unhealthy; they do not exist. A Deployment reports 4/6, but there are only four pods and nothing is Pending. The scheduler and the kubelets never saw the missing two, because the API server refused to create them. The ReplicaSet controller records why as FailedCreate events on the ReplicaSet, and the Deployment surfaces the most recent one in a ReplicaFailure condition:

A quota that stops the scale-up
kubectl -n search get deployment search-api
NAME         READY   UP-TO-DATE   AVAILABLE   AGE
search-api   4/6     4            4           70s
kubectl -n search get deployment search-api -o jsonpath='{.status.conditions[?(@.type=="ReplicaFailure")].message}'
pods "search-api-d459bd6cc-4mmcd" is forbidden: exceeded quota: compute, requested: requests.cpu=500m, used: requests.cpu=2, limited: requests.cpu=2
kubectl -n search describe resourcequota compute
Name:         compute
Namespace:    search
Resource      Used  Hard
--------      ----  ----
requests.cpu  2     2

The same path reports every admission refusal: a ResourceQuota, a LimitRange, a validating webhook or policy, and Pod Security Admission when the namespace enforces a level the pod template violates. Jobs record the same FailedCreate events on the Job, and CronJobs on the Jobs they create. Read the controller’s events whenever the pod count is lower than the desired count and nothing is Pending. Pod Security Admission applies its warn and audit modes to a Deployment’s pod template, so a namespace that sets a warn level prints a warning at kubectl apply time. enforce applies only to pods: the Deployment is created, and its pods are rejected later, one FailedCreate at a time.

Service debugging

When a client cannot reach a Service, walk the path a request takes and test each hop from a pod in the cluster:

  1. The name. nslookup <service>.<namespace>.svc.cluster.local from a client pod. No answer means DNS or a wrong name or namespace.
  2. The Service. kubectl get service and kubectl describe service: the selector, port and targetPort.
  3. The endpoints. kubectl get endpointslices -l kubernetes.io/service-name=<service>. An empty slice means the selector matches no pod. The core/v1 Endpoints API is deprecated as of Kubernetes 1.33, and kubectl warns when you read it.
  4. Readiness. A pod that fails its readiness probe stays in the slice with the condition ready: false and gets no traffic; kubectl describe endpointslice shows each endpoint’s conditions.
  5. The pod itself. Request a pod IP on its container port directly. If that works and the Service does not, the problem is between them: usually targetPort.
Walking the path to storefront
kubectl -n shop exec toolbox -- nslookup storefront.shop.svc.cluster.local
Server:		10.96.0.10
Address:	10.96.0.10:53

Name:	storefront.shop.svc.cluster.local
Address: 10.97.113.25

kubectl -n shop get endpointslices -l kubernetes.io/service-name=storefront
NAME               ADDRESSTYPE   PORTS   ENDPOINTS               AGE
storefront-dc4kh   IPv4          80      10.244.2.4,10.244.1.5   70s
kubectl -n shop exec toolbox -- wget -qO- -T 2 http://storefront
wget: can't connect to remote host (10.97.113.25): Connection refused
command terminated with exit code 1
kubectl -n shop get pods -l app=storefront -o wide
NAME                          READY   STATUS    RESTARTS   AGE   IP           NODE         NOMINATED NODE   READINESS GATES
storefront-5cc747ff94-5m4wb   1/1     Running   0          70s   10.244.2.4   kx-worker2   <none>           <none>
storefront-5cc747ff94-pptx7   1/1     Running   0          70s   10.244.1.5   kx-worker    <none>           <none>
kubectl -n shop exec toolbox -- wget -qO- -T 2 http://10.244.1.5:8080/
{"service":"web","version":"1.1.0","pod":"storefront-5cc747ff94-pptx7"}
kubectl -n shop get service storefront -o jsonpath='{.spec.ports[0].targetPort}'
80
kubectl -n shop patch service storefront -p '{"spec":{"ports":[{"port":80,"targetPort":"http"}]}}'
service/storefront patched
kubectl -n shop exec toolbox -- wget -qO- -T 2 http://storefront
{"service":"web","version":"1.1.0","pod":"storefront-5cc747ff94-pptx7"}

DNS answered, the slice had both pods, and both pods were ready, but the slice’s port was 80 and the containers listen on 8080. A refused connection means something answered with a reset: here, the pod’s network stack with nothing listening on port 80. A timeout instead suggests a NetworkPolicy dropping packets or no route. Naming the target port, as the fix does, keeps the Service right when the container port changes:

apiVersion: v1
kind: Service
metadata:
  name: storefront
  namespace: shop
spec:
  selector:
    app: storefront
  ports:
    - port: 80
      targetPort: http

If every hop checks out and the Service still fails, look at kube-proxy, or the CNI component that replaces it, on the client’s node: kubectl -n kube-system get pods -l k8s-app=kube-proxy -o wide. It programs the rules that turn the Service IP into a pod IP. On a node where it is not running, those rules are missing or stop following endpoint changes, so connections from that node fail while pods on other nodes still connect.

If traffic enters through an Ingress or a Gateway, the controller is one more hop, with its own logs and status. ingress-nginx was retired on 2026-03-24 and gets no further releases or security fixes, so a cluster still running it has an unpatched hop in the path; Gateway API implementations replace it.

Nodes

A node is Ready while its kubelet keeps renewing its Lease and posting status. When it stops, the node lifecycle controller marks the conditions Unknown, adds unreachable taints, and after the pods’ 300-second default toleration for those taints, evicts them so their controllers can replace them elsewhere.

A node that stopped reporting
docker exec kx-worker2 systemctl stop kubelet
kubectl wait --for=condition=Ready=Unknown node/kx-worker2 --timeout=120s
node/kx-worker2 condition met
kubectl get nodes
NAME               STATUS     ROLES           AGE     VERSION
kx-control-plane   Ready      control-plane   2m35s   v1.37.0
kx-worker          Ready      <none>          2m30s   v1.37.0
kx-worker2         NotReady   <none>          2m30s   v1.37.0
kx-worker3         Ready      <none>          2m30s   v1.37.0
kubectl describe node kx-worker2 | grep -A2 Taints
Taints:             node.kubernetes.io/unreachable:NoExecute
                    node.kubernetes.io/unreachable:NoSchedule
Unschedulable:      false
kubectl describe node kx-worker2 | grep -A6 Conditions:
Conditions:
  Type             Status    LastHeartbeatTime                 LastTransitionTime                Reason              Message
  ----             ------    -----------------                 ------------------                ------              -------
  MemoryPressure   Unknown   Thu, 19 Nov 2026 09:00:05 +0000   Thu, 19 Nov 2026 09:02:35 +0000   NodeStatusUnknown   Kubelet stopped posting node status.
  DiskPressure     Unknown   Thu, 19 Nov 2026 09:00:05 +0000   Thu, 19 Nov 2026 09:02:35 +0000   NodeStatusUnknown   Kubelet stopped posting node status.
  PIDPressure      Unknown   Thu, 19 Nov 2026 09:00:05 +0000   Thu, 19 Nov 2026 09:02:35 +0000   NodeStatusUnknown   Kubelet stopped posting node status.
  Ready            Unknown   Thu, 19 Nov 2026 09:00:05 +0000   Thu, 19 Nov 2026 09:02:35 +0000   NodeStatusUnknown   Kubelet stopped posting node status.

Kubelet stopped posting node status. means the control plane heard nothing: the machine is down, the kubelet has crashed, or the network between them is broken. A node that is Ready but reports MemoryPressure, DiskPressure or PIDPressure as True is alive and evicting pods to protect itself; its events show which pods went.

For the kubelet’s side of the story, read its logs on the node: journalctl -u kubelet on systemd hosts, alongside journalctl -u containerd. The node log query API, GA in Kubernetes 1.36, reads the same logs through the API server, kubectl get --raw "/api/v1/nodes/<node>/proxy/logs/?query=kubelet", when the kubelet enables enableSystemLogQuery. The debugging from the node lesson works through a node whose kubelet has stopped, with the node’s own tools.

Break something yourself and run the loop on it. Stop a node and find it from kubectl get nodes, or fill a container’s memory and find OOMKilled in its last state:

Break something

Each button runs its command on the cluster. This line follows what happens next.

Control plane

When kubectl itself is slow or failing, the problem sits above the nodes. Three places account for most of it:

  • API server latency and throttling. apiserver_request_duration_seconds shows slow verbs and resources. HTTP 429 responses mean API Priority and Fairness rejected requests that their priority level had no room to run or queue, often because a controller or script lists too much; apiserver_flowcontrol_rejected_requests_total counts them per FlowSchema and priority level. kubectl get --raw='/readyz?verbose' lists each readiness check.
  • Admission webhooks. Every create or update passes through matching webhooks. A webhook whose pods are down turns into failed calling webhook ... context deadline exceeded on every matching request when its failurePolicy is Fail. Check the webhook configuration’s timeoutSeconds, failurePolicy and namespace selector, and whether its Service has endpoints.
  • etcd. Slow disks show in etcd_disk_wal_fsync_duration_seconds. A database that hits its space quota raises a NOSPACE alarm and rejects every write with mvcc: database space exceeded until it is compacted and defragmented and the alarm is disarmed.

Managed clusters hide the control-plane machines but expose the same signals: the API server’s /metrics endpoint, control-plane logs shipped to the provider’s logging service, and audit logs. The method stays the same. Scope it, observe, change one thing, verify.

Run the loop on kind

  1. kubectl --context kind-kx create deployment broken --image=nginx:1.99
  2. kubectl --context kind-kx get pods -o wide
  3. kubectl --context kind-kx describe pod -l app=broken
  4. kubectl --context kind-kx get events --sort-by=.lastTimestamp
  5. kubectl --context kind-kx set image deployment/broken nginx=nginx:1.30
  6. kubectl --context kind-kx rollout status deployment/broken
  7. kubectl --context kind-kx get --raw='/readyz?verbose'
  8. kubectl --context kind-kx delete deployment broken

For your own kind cluster kx: copy a command and paste it into your terminal. Run in the simulator runs the same command in this page's simulated cluster instead; nothing on this page touches your machine. nginx:1.99 does not exist, so the first pod goes to ImagePullBackOff and the events name the missing tag. Changing the image is the one change; the rollout status is the verification.

Actual state

Check your understanding

6 checks

Your first answer to each check is the one that counts. After a miss you can answer again; passing every check reconciles the lesson.

  1. Check 1 of 6

    A pod created a minute ago sits in CreateContainerConfigError and has never restarted. What is the most likely cause?

  2. Check 2 of 6

    kubectl get deploy search-api shows 4/6 READY. kubectl get pods lists four Running pods and nothing Pending. Where do you look next?

  3. Check 3 of 6

  4. Check 4 of 6

    From a client pod, storefront resolves to the Service IP and connections are refused. The EndpointSlice lists both pod IPs with port 80, and a request to one pod IP on port 8080 returns 200. What is wrong?

  5. Check 5 of 6

    Pods in every namespace suddenly fail to resolve any Service name, including kubernetes.default. What kind of problem is this, and where do you look first?

  6. Check 6 of 6

    A container has crashed many times. With default kubelet settings, what is the longest wait between restarts, and when does the delay reset?

Lesson not yet reconciled

Desired: 4 objectives, 0 metReconciled: 4 of 4 objectives met

  • Work from symptom to cause with get, describe, events, logs and exec in a fixed order. (not yet met)
  • Map each pod status reason to its usual causes. (not yet met)
  • Debug a Service end to end through DNS, the Service, its EndpointSlices, pod readiness and the container port. (not yet met)
  • Tell a cluster problem from an application problem quickly. (not yet met)

Pass every check above to reconcile this lesson.

Every check has passed, so the desired state is met. First-try accuracy: 0 of 6. This lesson's review cards are in your queue.

Practice

Put this lesson to work on the simulated cluster. Everything runs in your browser, with nothing to install.

Changed since the notes

This lesson draws on an earlier set of study notes. Where the documentation contradicts a claim in them, qualifies it or has moved past it, the claim is listed here with the corrected statement and the source it was checked against.

Show 10 corrections
  1. Stale, true once, no longerTroubleshooting Kubernetes

    The notes saidkubectl get endpoints my-service

    Correctedcore/v1 Endpoints is deprecated as of Kubernetes 1.33, and kubectl prints 'v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice'. Use kubectl get endpointslices -l kubernetes.io/service-name=my-service.

    Sourcekubernetes.io/blog/2025/04/24/endpoints-deprecation

  2. Stale, true once, no longerTroubleshooting Kubernetes

    The notes saidkubectl get pods -n ingress-nginx / ingress-nginx controller as the example

    CorrectedKubernetes SIG Network announced the retirement of ingress-nginx on Nov 11, 2025. Maintenance ended in March 2026, and the project gets no further releases or security fixes. Use a Gateway API implementation or another maintained controller (on EKS, the AWS Load Balancer Controller).

    Sourcekubernetes.io/blog/2025/11/11/ingress-nginx-retirement/%20;%20https://kubernetes.io/blog/2026/01/29/ingress-nginx-statement

  3. Nuance, true with conditionsTroubleshooting Kubernetes

    The notes saidDocker Hub rate limits pulls

    CorrectedTrue. Docker documents the limits per 6-hour window, not hourly: 100 pulls for unauthenticated users per IPv4 address or IPv6 /64, 200 for authenticated Personal accounts, and unlimited for Pro, Team and Business. Authenticate pulls or mirror images (e.g. through an ECR pull-through cache).

    Sourcedocs.docker.com/docker-hub/usage/pulls

  4. Nuance, true with conditionsTroubleshooting Kubernetes

    The notes saidCrashLoopBackOff backoff behavior

    CorrectedThe default backoff starts at 10s and doubles (20s, 40s, …) up to 300s, and resets once a container runs for 10 minutes without problems. KubeletCrashLoopBackOffMax (alpha 1.32, beta and on by default from 1.35) lets a node lower the cap through the kubelet's maxContainerRestartPeriod. ReduceDefaultCrashLoopBackOffDecay (alpha since 1.33) shortens the defaults only when enabled.

    Sourcekubernetes.io/docs/concepts/workloads/pods/pod-lifecycle

  5. Nuance, true with conditionsTroubleshooting Kubernetes

    The notes saidkubectl debug behavior

    Correctedkubectl debug --profile accepts legacy, general, baseline, restricted, netadmin and sysadmin. kubectl 1.36 made general the default profile (previously legacy); the kubernetes.io task pages may still describe legacy.

    Sourcegithub.com/kubernetes/kubernetes/pull/135874%20;%20https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod

  6. Wrong, not trueTroubleshooting Kubernetes

    The notes said'kubectl debug node/… creates a privileged pod'

    CorrectedConfirmed. The node debugging pod shares the node's IPC, network and PID namespaces and mounts the node's root filesystem at /host, but it isn't privileged. Use --profile=sysadmin for a privileged container.

    Sourcekubernetes.io/docs/tasks/debug/debug-cluster/kubectl-node-debug

  7. Wrong, not trueTroubleshooting Kubernetes

    The notes said'Pods using more than requests might be throttled (CPU)'

    CorrectedConfirmed. CFS throttling happens only when a container reaches its CPU limit. Above its request, a container competes for spare CPU in proportion to its request (CPU weight); a container with no CPU limit isn't throttled by CFS quota.

    Sourcekubernetes.io/docs/concepts/configuration/manage-resources-containers

  8. Wrong, not trueTroubleshooting Kubernetes

    The notes saidThe metrics.k8s.io API (kubectl get --raw …/pods/my-pod) and kubectl top show usage only, not throttling

    CorrectedConfirmed. metrics.k8s.io (and kubectl top) reports only CPU and memory usage for autoscaling. To see throttling, use cAdvisor's container_cpu_cfs_throttled_periods_total relative to container_cpu_cfs_periods_total (kubelet /metrics/cadvisor, Prometheus or Container Insights).

    Sourcekubernetes.io/docs/tasks/debug/debug-cluster/resource-metrics-pipeline

  9. Nuance, true with conditionsTroubleshooting Kubernetes

    The notes said'kubectl debug my-pod --image=busybox' without --target=<container> can't see the app's processes

    CorrectedConfirmed. An ephemeral container joins the target container's process namespace only when you pass --target=<container> (and the runtime supports it); otherwise ps shows only the debug container's processes.

    Sourcekubernetes.io/docs/tasks/debug/debug-application/debug-running-pod

  10. Nuance, true with conditionsTroubleshooting Kubernetes

    The notes said'Terminating' is a kubectl display state, not a pod phase

    CorrectedConfirmed. Pod phase is only Pending, Running, Succeeded, Failed or Unknown. kubectl shows 'Terminating' when deletionTimestamp is set; ContainerCreating, ErrImagePull and CrashLoopBackOff are container state reasons, and the phase stays Pending during image pulls.

    Sourcekubernetes.io/docs/concepts/workloads/pods/pod-lifecycle

Every correction across the guide, by note and topic.

Sources

Checked against kubernetes.io and AWS documentation for Kubernetes 1.37 on .

  1. kubernetes.io/docs/tasks/debug/debug-application/debug-pods
  2. kubernetes.io/docs/tasks/debug/debug-application/debug-service
  3. kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod
  4. kubernetes.io/docs/tasks/debug/debug-cluster
  5. kubernetes.io/docs/tasks/debug/debug-cluster/monitor-node-health
  6. kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle
  7. kubernetes.io/docs/concepts/cluster-administration/logging
  8. kubernetes.io/docs/concepts/cluster-administration/flow-control
  9. kubernetes.io/docs/concepts/security/pod-security-admission
  10. kubernetes.io/docs/concepts/policy/resource-quotas
  11. kubernetes.io/docs/reference/kubectl/generated/kubectl_events
  12. kubernetes.io/blog/2025/04/24/endpoints-deprecation
  13. kubernetes.io/blog/2025/11/11/ingress-nginx-retirement
  14. docs.docker.com/docker-hub/usage/pulls

A troubleshooting method

↓ ↑ step, 1 to 7 scene, Esc leave

kind cluster kxLast command: Nothing run yet