Incident response guides
Signals to check first, command examples, common misdiagnoses, and recovery order. After reading, practice on a problem about the same failure.
What to check first when CrashLoopBackOff appearsAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when a Pod restarts repeatedly and the real cause is left in the previous logs and events.Kubernetes3 min readThe registry and Secret to check first for ImagePullBackOffAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when the image name looks correct but the pull fails because of tag, registry credential, or network policy.Kubernetes3 min readHow to isolate the root cause of ImagePullBackOffAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when registry auth, tag drift, node egress, and mirror policy all look like the same error.Kubernetes3 min readWhen the Pod is Running but only Service traffic failsAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when Pod status looks healthy but the Service, Endpoint, NetworkPolicy, or Ingress path is broken.Kubernetes3 min readCoreDNS running but DNS fails: causes and fixes (NetworkPolicy, ndots, forward and recursion)When CoreDNS pods are Running but lookups return no such host, i/o timeout or SERVFAIL, query kube-dns from the failing pod to tell apart a NetworkPolicy blocking port 53, ndots:5, the forward upstream and loop plugin, or node-local-dns.Kubernetes4 min readHow to check Helm values merge and environment override driftAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when GitOps sync succeeds but the actual rendered manifest differs from the expected configuration.Kubernetes3 min readWhen the ConfigMap changed but the Pod keeps using the old valuesAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when values don't refresh after a ConfigMap update because of envFrom, subPath, volume projection, or rollout trigger differences.Kubernetes3 min readKubernetes troubleshooting by pod status: Pending, ImagePullBackOff, CrashLoopBackOff, Not ReadySplit Kubernetes failures by where the pod stopped — Pending, ImagePullBackOff, CrashLoopBackOff or OOMKilled, Running but not Ready, Services with no endpoints, Ingress 404 and DNS — with the first command for each.Kubernetes4 min read0/3 nodes are available: Insufficient cpu — pod Pending causes and fixes (requests, quota)A pod is Pending with Insufficient cpu or memory. The scheduler counts requests, not real usage, so check for oversized requests, LimitRange and ResourceQuota defaults, or a cluster that is really full.Kubernetes4 min readDeployment vs StatefulSet: the differences, when to use each, and what breaks when you pick wrongA Deployment runs interchangeable stateless pods; a StatefulSet gives each pod a stable name, DNS record and its own PVC, and handles them in order. See when to use each and how Multi-Attach errors, stuck rollouts and node failures show up.Kubernetes4 min readGPU node present but pod Pending: causes and fixes (nvidia.com/gpu, taints, device plugin)A GPU node is Ready but the pod stays Pending. Use the FailedScheduling message and allocatable nvidia.com/gpu to tell apart a device plugin that is not ready, taints, nodeSelector labels, GPU limits and the node pool maximum.Kubernetes3 min readIngress vs Service vs CoreDNS in Kubernetes: what each does and how to tell which one brokeCoreDNS answers Service names with ClusterIPs, a Service spreads connections across pods, and an Ingress routes outside HTTP(S) requests to Services by host and path. See the check for each step and how to tell their failures apart.Kubernetes4 min readKubernetes CPU requests vs limits: scheduling, throttling, HPA, and why memory limits killRequests are what the scheduler reserves and what HPA utilization is measured against; limits are a ceiling. A CPU limit throttles and adds latency, a memory limit ends in OOMKilled. Covers cpu.stat checks, QoS classes and common incidents.Kubernetes4 min readKubernetes Ingress 404 Not Found: causes and fixes (host mismatch, ingressClassName, path)When an Ingress returns the nginx 404 page, the request matched no rule. Use kubectl get ingress and curl -H "Host" to tell host, ingressClassName, path/pathType and rewrite problems apart, and learn how to separate it from a 503.Kubernetes3 min readLiveness vs readiness vs startup probe: differences, when to use each, and what breaksA failing readiness probe only pulls traffic, a failing liveness probe restarts the container, and a startup probe holds both back until the app is up. Covers defaults, the exact event messages, and the outages each mix-up causes.Kubernetes4 min readNodePort vs LoadBalancer vs Ingress in Kubernetes: differences, when to use each, and what breaksNodePort opens a port on every node and LoadBalancer adds a cloud load balancer; both are Service types. Ingress is an L7 rule set that routes HTTP to Services by host and path. Also covers a pending EXTERNAL-IP and node port timeouts.Kubernetes4 min readOOMKilled and exit code 137 — causes and fixes (memory limits, leaks, JVM heap)When a Kubernetes pod keeps restarting with OOMKilled and exit code 137: how to confirm it is really an OOM kill, the three causes (limit too small, memory leak, JVM/Node/Go heap settings) and how to set requests and limits.Kubernetes3 min readHow to split Linux failures by systemd, permission, and filesystem signalsAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when a service fails but you need to isolate whether the cause is a systemd unit, permission, inode, mount, or process.Linux3 min readWhen a command works manually but fails only under cronAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when the same command succeeds in an interactive shell but fails only under cron or a non-interactive environment.Linux3 min readWhen permissions are fixed but only new directories are created with the wrong groupAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when existing file permissions are correct but group inheritance breaks for newly created files and directories.Linux3 min readWhen sudo works in the shell but fails under automationAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when only automation jobs fail because of TTY, sudoers, environment reset, or service user differences.Linux3 min readnginx 403 Forbidden (13: Permission denied) — causes and fixes (path permissions, SELinux, index)When nginx returns 403 and error.log shows open() failed (13: Permission denied): check path permissions, uploaded file modes and SELinux contexts from the worker user's point of view, plus the 403 caused by a missing index file.Linux4 min readNo space left on device — causes and fixes (disk space, inode exhaustion, deleted open files)When you get No space left on device: how to tell full disk space from inode exhaustion, find the big directory, free space held by deleted but still open files, clean up journald and Docker, and stop it recurring with logrotate.Linux4 min readSSH Permission denied (publickey) — causes and fixes (user name, key permissions, sshd config)When SSH fails with Permission denied (publickey): use ssh -v to see which key was offered, then work through the image's default user, the key pair, private key and .ssh permissions, sshd settings and ssh-rsa algorithm refusals.Linux4 min readToo many open files — causes and fixes (ulimit, systemd LimitNOFILE, fd leaks)When you see Too many open files, EMFILE or accept4: too many open files: how to read a service's real fd limit, raise it with systemd LimitNOFILE or container ulimits, and find a file descriptor leak.Linux4 min readGitHub Actions succeeded but rollout failed: causes and fixes (rollout status, tag, continue-on-error)When the workflow is green but the Kubernetes rollout failed or never happened, check in order: a deploy step that does not wait, readiness probes, an unchanged image tag, the wrong context, continue-on-error and GitOps sync.CI/CD4 min readWhen the CI cache restores the wrong dependency graphAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when package.json, the lockfile, and artifacts no longer agree even after a cache hit.CI/CD3 min read"Waiting for a runner to pick up this job": causes and fixes (labels, offline runner, runner groups)When a self-hosted runner job stays Queued, check in order: runs-on labels that do not all match, an offline runner service, runner group repository access, busy runners, and ephemeral or ARC runners that never come back up.CI/CD4 min readCI/CD deploy failed or shipped the old version: check by stage (trigger, build, push, rollout)When a pipeline never runs, goes red, or ends green with the old version still live, find which stage broke — trigger, build, registry push, deploy credentials or rollout — and the one command to check first at each stage.CI/CD4 min readDocker build cache not used (npm ci reruns): causes and fixes (COPY order, .dockerignore, CI cache)If changing only source files makes npm ci or pip install rerun on every Docker build, check COPY order, .dockerignore, ARG placement and the missing cache on CI runners, then fix it by copying the lockfile first and using a buildx cache.CI/CD3 min readWhen firewalld looks open but connections keep getting blockedAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when a port rule appears to exist but the connection fails because of zone, runtime/permanent drift, source binding, or an upstream firewall.Network3 min readHow to separate timeout and connection refused by network pathAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when DNS, route, firewall, proxy, and listener states all look like the same connection failure.Network3 min readWhen DNS changed but some clients still hit the old backendAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when the DNS record is updated but resolver cache, HTTP/2 keepalive, or client pools hold on to the old target.Network3 min read502 Bad Gateway and 504 Gateway Timeout: causes and fixes (upstream down, socket path, slow responses)A 502 from nginx or a load balancer means the upstream did not answer properly; a 504 means it did not answer in time. Use the error log message to find the cause, then fix in order: call the upstream directly, fix address and socket config, then timeouts.Network4 min read502 vs 503 vs 504: what each status code means, who generated it, and how to debug eachA 502 means the proxy got an invalid response from the upstream, a 503 means nothing can take the request right now, and a 504 means the upstream did not answer in time. Learn to tell from headers, body and timing whether a CDN, load balancer, ingress-nginx or your app produced it.Network4 min readAccess port vs trunk port: VLAN tagging differences, when to use each, and what breaksAn access port carries one VLAN untagged; a trunk port carries many VLANs with 802.1Q tags. The differences, where each belongs, allowed VLAN lists and DTP, and the outages caused by the wrong mode, with the commands that confirm them.Network4 min readNative VLAN mismatch detected: causes and fix (CDP warning, trunk config on both ends, server uplinks)The %CDP-4-NATIVE_VLAN_MISMATCH warning and the one-VLAN-fails symptom come from trunk ends that disagree on the native VLAN or the allowed list. Compare both sides with show interfaces trunk, align them, and handle server uplinks and VLAN hopping.Network4 min readSVI vs router on a stick: inter-VLAN routing differences, when to use each, and what breaksAn SVI puts the inter-VLAN gateway on a layer 3 switch; router on a stick puts it on router subinterfaces. The differences, when to use each, and how to diagnose an SVI stuck up/down, missing ip routing and trunk allowed-list mismatches.Network4 min readx509: certificate signed by unknown authority — causes and fixes (missing intermediate, private CA, proxy)Getting x509: certificate signed by unknown authority or unable to get local issuer certificate? It is one of three causes: a missing intermediate, a private CA root the client lacks, or a corporate TLS proxy. Tell them apart with one openssl s_client run and fix it for Go, curl, Python, Node, Java, Docker and containerd.Security4 min readHow to isolate an mTLS trust bundle mismatchAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when the client certificate, server certificate, CA bundle, and sidecar reload timing differ and the handshake fails.Security3 min readHow to safely diagnose a WAF 403 false positiveAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when it looks like a permissions problem but a specific header, payload, or rule group is blocking legitimate requests.Security3 min readHow to split IAM, TLS, and WAF failures into a security operations flowAn InfraTree guide that lays out the first signals to check, the CLI verification order, common misdiagnoses, and a safe recovery path when authentication, authorization, certificate, WAF, and audit log signals mix together and look like a single access failure.Security3 min readNo 'Access-Control-Allow-Origin' header CORS error: causes and fixes (preflight, cookies, error responses)The browser console error has been blocked by CORS policy means the API response lacks the permission header. Imitate the preflight with curl to find the cause, then fix OPTIONS handling, cookies with an exact origin, and nginx always headers.Security4 min readWhen the PersistentVolume reattaches but the rollout keeps stallingA guide to viewing attach state and workload readiness separately when the volume looks attached but Pod replacement and rollout keep stalling.Kubernetes3 min readWhen only install scripts or runners fail because of /tmp noexecA guide to separating the cases where noexec on /tmp makes only certain installers, self-hosted runners, or temp-file-based deploys fail.Linux3 min readWhen Preview passes but the secret is missing only under the production feature flagA guide to splitting secret scope and environment contract first when the preview environment is healthy but the secret path looks empty only the moment you turn on a production flag or release toggle.CI/CD3 min readA checklist for when OSPF adjacency won't formA search-oriented checklist guide covering OSPF neighbor down, stuck adjacency, route loss after failover, and partial path drift.Network3 min readWhen login callbacks break due to proxy header differences between NGINX and AzureA search-oriented comparison guide covering reverse proxy header mismatches, secure callback failures, and proxy behavior differences between the NGINX and Azure paths.Security3 min read