Skip to content
devops/architect
13 war-room 01 01 production war room & interview simulator
0/5 read · lab 0/1
2026 STAFF / PRINCIPAL BATTLE ARENA
13 / 14 • 15+ YOE INCIDENT COMMANDER & ARCHITECT

Production War Room & Interview Simulator

Step into the shoes of a 15+ Years Experience Principal Platform & SRE Architect. Triage live P0 outages, resolve complex kernel & distributed system disasters, design 99.999% SLA multi-region platforms, and master high-demand 2026 Staff+ interview scenarios.

eBPF & Cilium LLMOps & vLLM GPU FinOps & CoreDNS SLSA & Cosign

Lesson objective

What it teaches
Live Production Incident Simulator (P0 Triage) · 2026 Staff/Principal System Design Whiteboard · Predict the Result: First Five Minutes of a Crash Loop
Why it matters
A required lesson for DevOps / Platform Architect. Recommended for SRE. See the role paths
What you demonstrate
  • Simulated lab: Live Production Incident Simulator: Run hubble observe --verdict DROPPED --follow. Recorded as lab evidence.
  • Predict 3 results this lesson prints. You mark each one yourself.
  1. Orient
  2. Read
  3. Predict
  4. Run
  5. Verify
  6. Reflect
  7. Continue
ARCHITECT RANK
Associate SRE
500 XP to Senior
TOTAL EXPERIENCE
0 XP
+50 XP per Triage Step
DAILY SRE STREAK
3 Days
Continuous On-Call Mastery
SOUND FX
Web Audio API Synthesis

Live Production Incident Simulator (P0 Triage) 13.1

Real-world high-stakes outages don't give you multiple-choice questions. Pick an active incident below, run live diagnostic commands in the web terminal, pinpoint root causes, and apply architectural remediations.

eBPF Socket Map Drop under 50,000 RPS P0 CRITICAL

Symptom: Black Friday peak traffic. Ingress Gateway is returning intermittent 504 Gateway Timeouts to 12% of checkout requests. Traditional TCP socket stats (netstat, ss) show normal buffer queues, but packets are silently dropped before hitting the application layer in Kubernetes.

12.4%
Error Rate (504s)
1,840ms
p99 Latency
$340k/hr
Revenue at Risk
Incident Commander Objectives
  • 1. Inspect Cilium eBPF sockmap table entries and drop counters.
  • 2. Capture kernel-level drop events using Hubble CLI.
  • 3. Increase BPF sockmap memory limits and adjust sysctl SOMAXCONN.
sreshell@prod-k8s-us-east-1:~
Incident War Room Terminal initialized. Type or click the quick triage commands below.
Kubernetes v1.31.2 • Kernel 6.8.0-45-generic • Cilium v1.16.1 Active
$
SIMULATED MULTI-SERVICE P0 DISASTERS

etcd Raft IOPS Stalls, vLLM CUDA OOM Exhaustion & NAT Gateway Bleed Runbooks

Large-scale platform outages cross multiple abstraction layers. According to official performance and cost guidelines from etcd Hardware Recommendations (etcd v3.5+), vLLM Serving Documentation (vLLM v0.6+), and AWS NAT Gateway Architectures: (Simulated offline exercises; no credentials, paid cloud resources, or host-destructive experiments are used; simulated results are labeled and live-run limitations remain in curriculum gaps).

etcd-llm-nat-remediation-runbook.sh (Triage, Mitigation & Rollback)
# 1. etcd Raft Quorum Stall & Disk IOPS Throttling (etcd v3.5+)
# Evidence: fsync p99 > 10ms, burst credits exhausted on gp2/gp3 volumes, API 500 errors
etcdctl endpoint health --write-out=table
etcdctl endpoint status --write-out=table

# Mitigation: Online compaction, defragmentation, and dynamic EBS volume IOPS upgrade
# Note: StorageClass parameters are immutable and cannot alter existing PVs; modify the volume directly:
etcdctl defrag --cluster
ETCD_VOL_ID=$(aws ec2 describe-volumes --filters "Name=tag:kubernetes.io/created-for/pvc/name,Values=data-etcd-0" --query "Volumes[0].VolumeId" --output text)
aws ec2 modify-volume --volume-id "$ETCD_VOL_ID" --iops 10000 --throughput 250
aws ec2 describe-volumes-modifications --volume-ids "$ETCD_VOL_ID"

# Verification & Rollback: Confirm consensus sync; restore snapshot if quorum broken
etcdctl endpoint health --write-out=table

# 2. vLLM CUDA Out-of-Memory KV-Cache Overflow (vLLM v0.6+)
# Evidence: torch.cuda.OutOfMemoryError under large prompt context surges (16,000+ tokens)
kubectl logs -l app=vllm-llama3-70b --tail=50
nvidia-smi --query-gpu=memory.used,memory.free --format=csv

# Mitigation: Cap model context length and tune GPU memory allocation via container arguments
kubectl patch deployment vllm-llama3-70b -n llm --type='json' -p='[
  {"op": "replace", "path": "/spec/template/spec/containers/0/args", "value": ["--model", "meta-llama/Meta-Llama-3-70B-Instruct", "--tensor-parallel-size", "4", "--gpu-memory-utilization", "0.92", "--max-model-len", "8192"]}
]'

# Verification & Rollback: Confirm pod stability and rolling update completion
kubectl rollout status deploy/vllm-llama3-70b

# 3. AWS Cross-AZ NAT Gateway Cost Bleed ($48k/day cloud bill spike)
# Evidence: Multi-terabyte S3 parquet / ECR image pulls routing over billable public NAT Gateways
aws ec2 describe-vpc-endpoints --filters "Name=vpc-id,Values=vpc-prod-01"

# Mitigation: Provision free S3 Gateway VPC Endpoint and enable Topology-Aware Routing
aws ec2 create-vpc-endpoint --vpc-id vpc-prod-01 --service-name com.amazonaws.us-east-1.s3 --route-table-ids rtb-12345
kubectl annotate service payment-svc "service.kubernetes.io/topology-mode=Auto" --overwrite

# Verification: Verify EndpointSlice hints keeping inter-pod traffic within the local AZ
kubectl get endpointslice -l kubernetes.io/service-name=payment-svc -o yaml
SUPPLY CHAIN ADMISSION SECURITY

Unsigned Helm Chart & Image Tampering: Verification, Forensic Containment, and Rollback

When an unauthorized or tampered container binary is deployed to a production cluster, immediate pod termination destroys ephemeral attack indicators. Following Sigstore Cosign Documentation (Cosign v2.4+) and Kyverno Image Verification Policy Guide (Kyverno v1.12+): (Simulated offline exercise; no cluster credentials, paid resources, or live cloud runs are used; explicitly unexecuted when no live cluster exists).

supply-chain-incident-response.sh (Forensic Containment & Kyverno Admission)
# 1. Detection: Falco alert indicates unsigned image deployed in production namespace
# Verify cryptographic signature against trusted Cosign public key
cosign verify --key cosign.pub ghcr.io/company/ingress:v2.4.1

# 2. Forensic Isolation & Containment
# Remove pod from Service endpoints without terminating the running container
kubectl label pod ingress-controller-7f9b8c-4k2m -n production app=quarantined --overwrite

# Note: Kubernetes NetworkPolicies are additive; ensure any default-allow or broad matching allow policies
# on the production namespace are narrowed or removed so that this quarantine policy takes strict effect.
# Apply quarantine NetworkPolicy cutting off inbound and outbound network access
cat <<EOF | kubectl apply -f -
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: quarantine-unverified-ingress
  namespace: production
spec:
  podSelector:
    matchLabels:
      app: quarantined
  policyTypes: [Ingress, Egress]
EOF

# 3. Admission Control Gate: Enforce Kyverno ClusterPolicy requiring Cosign verification
# Kyverno v1.12+ uses attestors[].entries[].keys.publicKeys for cryptographic signature verification
cat <<EOF | kubectl apply -f -
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: require-image-signature
spec:
  validationFailureAction: Enforce
  rules:
    - name: check-image-cosign-signature
      match:
        any:
          - resources:
              kinds: [Pod]
              namespaces: [production]
      verifyImages:
        - imageReferences: ["ghcr.io/company/*"]
          attestors:
            - entries:
                - keys:
                    publicKeys: |-
                      -----BEGIN PUBLIC KEY-----
                      MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE7EXAMPLEKEYFROMENTERPRISECOSIGN1234567890ABCDEF==
                      -----END PUBLIC KEY-----
EOF

# 4. Workload Recovery & Rollback to Verified Digest
kubectl rollout undo deployment/ingress-controller -n production
kubectl rollout status deployment/ingress-controller -n production
BLAMELESS POSTMORTEM & ACTION ITEMS

Postmortem Timeline Reconstruction, Root Cause 5-Whys, and Action Tracking

Staff and Principal engineers transform production outages into structural platform hardening. Guided by Google SRE Postmortem Culture Guidelines and NIST SP 800-61 Incident Handling Principles:

Timestamp (UTC) Phase Event & Diagnostic Action Telemetry / Impact
T0 (14:15) Detection PagerDuty fires: checkout-service 504 error rate spikes 12.4% error rate, p99 = 1,840ms
T+5m (14:20) Triage Incident Commander opens bridge; Hubble CLI captures drops BPF map saturated (65,536 entries)
T+15m (14:30) Mitigation Applied BPF_SOCKMAP_SIZE=131072 and net.core.somaxconn=65535 Cilium daemonset rollout initiated
T+25m (14:40) Verification Cilium agents rolling update completes across all 8 nodes Error rate drops to 0.00%
T+35m (14:50) Resolution All-clear declared; blameless postmortem & 5-Whys initiated Full checkout capacity restored

Action Items & Preventive Hardening

Type Action Item Description Owner Target Due Date
Preventive Configure Prometheus alert rule on cilium_bpf_map_pressure > 0.80 Platform SRE T+7 days
Detective Export Hubble kernel drop metrics into centralized Grafana dashboards Observability T+14 days
Corrective Inject somaxconn sysctls by default into IDP Kubernetes golden path templates Core Infra T+21 days

Note on Interview Metrics: Numeric figures cited in interview scenarios (e.g. 50,000 RPS peak, $48,000/day NAT Gateway charges, 99.999% SLA availability) serve as hypothetical enterprise case study baselines to evaluate architectural trade-offs, rather than empirical measurements from this static course.

scripts/offline-war-room-evaluator.mjs (Deterministic War Room Evaluator)
// Deterministic etcd Raft Health Evaluator
export function evaluateEtcdHealth(endpoints) {
  if (!Array.isArray(endpoints) || !endpoints.length) return { healthy: false, quorum: false };
  const healthyCount = endpoints.filter(e => e.health === true && e.fsyncMs <= 10).length;
  const quorum = healthyCount > Math.floor(endpoints.length / 2);
  return { healthy: healthyCount === endpoints.length, quorum, healthyCount };
}

// Deterministic vLLM VRAM KV-Cache Evaluator
export function evaluateVllmMemory(weightsGB, batchSize, contextLen, kvCachePerTokenBytes, totalVRAMGB) {
  const kvCacheGB = (batchSize * contextLen * kvCachePerTokenBytes) / (1024 * 1024 * 1024);
  const totalRequiredGB = weightsGB + kvCacheGB;
  const oomRisk = totalRequiredGB > (totalVRAMGB * 0.95);
  return { totalRequiredGB: Math.round(totalRequiredGB * 10) / 10, oomRisk };
}

// Deterministic NAT Gateway Cost Savings Evaluator ($0.045 per GB)
export function evaluateNatGatewaySavings(monthlyDataTB, hasS3Endpoint) {
  const baseCost = monthlyDataTB * 1024 * 0.045;
  if (hasS3Endpoint) {
    const reducedCost = baseCost * 0.15; // 85% savings from internal S3 routing
    return { monthlyCost: Math.round(reducedCost), savings: Math.round(baseCost - reducedCost) };
  }
  return { monthlyCost: Math.round(baseCost), savings: 0 };
}

// Deterministic Cosign Verification Admission Evaluator
export function evaluateCosignVerification(hasValidSignature, policyEnforced) {
  if (policyEnforced && !hasValidSignature) {
    return { admitted: false, reason: 'Blocked by Kyverno: image lacks valid Cosign signature' };
  }
  return { admitted: true, reason: 'Admission allowed' };
}

2026 Staff/Principal System Design Whiteboard 13.2

In Staff & Principal interviews, interviewers test your ability to make holistic trade-offs across reliability, latency, cost, and blast radius. Explore the core 2026 production architecture designs below.

Global Multi-Region Active-Active Kubernetes (99.999% Availability)

Designing zero-downtime platforms across AWS us-east-1 and eu-west-1 with sub-second failover, Cilium ClusterMesh, and distributed state replication.

graph TD subgraph "Global Traffic Management" DNS[Cloudflare Anycast DNS / Geo-Routing] WAF[Zero-Trust Cloudflare WAF & DDoS Shield] end subgraph "Region A: US-East-1 (Active)" ALB1[AWS ALB / Ingress Controller] EKS1[EKS Cluster 1 • Cilium eBPF Mesh] App1[Microservices Deployment] DB1[(CockroachDB / Aurora Global Primary)] end subgraph "Region B: EU-West-1 (Active)" ALB2[AWS ALB / Ingress Controller] EKS2[EKS Cluster 2 • Cilium eBPF Mesh] App2[Microservices Deployment] DB2[(CockroachDB / Aurora Global Secondary)] end DNS --> WAF WAF -->|Latency-based| ALB1 WAF -->|Latency-based| ALB2 ALB1 --> EKS1 ALB2 --> EKS2 EKS1 -.->|Cilium ClusterMesh WireGuard Tunnel| EKS2 DB1 <==>|Raft Multi-Master Sync| DB2
Staff-Level Advantages
  • RPO = 0, RTO < 5s: Instant DNS failover during complete AWS region outage.
  • Local Read Latency: Users served from nearest geographical cluster (<25ms latency).
  • Cilium Mesh: Cross-cluster pod-to-pod mTLS without bulky service mesh sidecars.
Principal Trade-offs & Pitfalls
  • Write Latency: Distributed ACID transactions across regions incur 80-120ms cross-Atlantic RTT.
  • Data Egress Cost: High volume database replication cross-region drives AWS cross-region egress fees.
  • Split-Brain Risk: Requires robust Raft quorum consensus (minimum 3 regions/witness nodes).
15+ YOE Interview Talking Point

"Don't build multi-region active-active for every service. Use the Cell-Based Architecture: partition stateless tiers multi-region, while keeping write-heavy state in regional active-passive with warm standby."

Enterprise Internal Developer Platform (IDP) with Backstage & Crossplane

Empowering 500+ product developers to self-service cloud infrastructure (RDS, S3, Redis, EKS namespaces) through golden paths in <60 seconds.

graph LR Dev[Developer / Team] -->|1. Select Golden Template| Backstage[Backstage Developer Portal] Backstage -->|2. Generate PR with Custom Claim| GitRepo[GitOps Repository] GitRepo -->|3. Reconcile| ArgoCD[ArgoCD Controller] ArgoCD -->|4. Apply Claim| Crossplane[Crossplane Control Plane] Crossplane -->|5. Composite Resource XRD| AWS[(AWS Cloud Resources: RDS, S3, IAM)] Crossplane -->|6. Status & Connection Secret| Secret[K8s Secret Store] Secret --> AppPod[App Pod Auto-Injected]
IDP Pros

Reduces Dev ticket wait time from 4 days to 45 seconds. Enforces enterprise security tags, VPC policies, and cost quotas out of the box.

Operational Overhead

High initial platform engineering investment. Crossplane provider CRDs require deep RBAC tuning and state drift reconciliation vigilance.

Multi-Tenant Generative AI & LLM Inference Platform on Kubernetes

Auto-scaling NVIDIA H100/A100 GPU fleets with Karpenter, vLLM continuous batching, and OpenTelemetry LLM semantic metrics.

graph TD Client[User Prompt / API Request] --> Ingress[Traefik / Envoy Gateway] Ingress --> Router[Model Router & Rate Limiter] Router -->|Prompts| vLLM1[vLLM Pod 1 • Llama-3-70B • PagedAttention] Router -->|Prompts| vLLM2[vLLM Pod 2 • Llama-3-70B • PagedAttention] vLLM1 -.->|Report Queue & KV Cache Usage| Prom[Prometheus vLLM Metrics] Prom --> HPA[KEDA Autoscaler] HPA -->|Scale up NodePool| Karpenter[Karpenter GPU Spot Provisioner] Karpenter -->|Provision in 40s| EC2[AWS g5.12xlarge / p4de.24xlarge Spot]
Cost & Throughput Mastery

vLLM PagedAttention achieves 4.2x higher throughput than HuggingFace TGI. Karpenter Spot GPU pooling cuts GPU cluster costs by 68%.

Spot Interruption Handling

Requires 2-minute AWS Spot rebalance warning listener with pre-warmed weights in shared NVMe cache to prevent customer prompt drops.

Continuous FinOps & Cloud Cost Governance Pipeline

Automated shift-left cost estimation in CI/CD with Infracost, OpenPolicyAgent spending guardrails, and real-time container attribution via Kubecost.

graph LR PR[Pull Request IaC] --> CI[GitHub Actions / GitLab CI] CI -->|1. Calculate Monthly Delta| Infracost[Infracost CLI] Infracost -->|2. Cost > $500/mo?| OPA[OPA Policy Check] OPA -->|Reject / Require VP Signoff| PR OPA -->|Approve| Argo[ArgoCD Deploy] Argo --> Cluster[Production EKS] Cluster --> Kubecost[Kubecost Engine] Kubecost --> Slack[FinOps Slack Alert & Chargeback]

2026 Hot Trend Interview Crack Arena 13.3

Curated high-demand 2026 Staff, Lead, and Principal interview questions analyzed directly from top tech interview boards and LinkedIn engineering leaders. Master the trade-offs and insider rationale.

1. Why are enterprise platform teams replacing Envoy sidecar service meshes (Istio/Linkerd) with eBPF (Cilium)? What are the real trade-offs?
eBPF Cilium Istio Staff+ Question

15+ YOE Principal Architect Answer:

  • The Sidecar Problem: Injecting an Envoy proxy sidecar into every pod consumes 50-120MB RAM and 0.1-0.2 CPU cores per pod. In a 5,000-pod cluster, that wastes 500GB+ of RAM purely on proxy infrastructure, plus adds 2-4 context switches per packet in the Linux network stack.
  • The eBPF Revolution: eBPF operates inside the Linux kernel at the socket layer (`sockops` and `tc`), bypassing TCP/IP stack overhead and routing pod-to-pod traffic without sidecars. This reduces network p99 latency by 30-50% and eliminates sidecar memory tax.
  • The Trade-off (What senior interviewers look for): eBPF handles L3/L4 routing and security effortlessly. However, for complex Layer 7 logic (such as dynamic HTTP payload transformation, gRPC body rewrites, and intricate JWT claim inspection), eBPF must still hand off to a shared node-level Envoy proxy (Cilium Ambient/Sidecarless L7 architecture). Additionally, eBPF requires modern kernels (Linux 5.15+) and elevated kernel permissions that some managed cloud setups restrict.
2. "DevOps is dead, Platform Engineering is the future." How do you assess this statement as a Principal Architect?
Platform Eng IDP Organizational Design Director/Principal

15+ YOE Principal Architect Answer:

"DevOps as a cultural philosophy (collaborative ownership, continuous delivery, fast feedback) is alive and well. What died was the broken implementation of DevOps: expecting every product developer to master 50 complex cloud tools (Docker, Kubernetes, Terraform, Helm, Prometheus, IAM, OIDC, Kyverno)."

The 2026 Platform Paradigm:

  • Platform Engineering treats the internal infrastructure as a Digital Product, where application developers are the customers.
  • The goal is not to enforce bureaucracy, but to build Paved Roads (Golden Paths) where security, observability, and compliance are the path of least resistance.
  • Success is measured by DORA metrics and Time-to-First-Deploy for new engineers (<15 minutes).
3. How do you design Kubernetes GPU scheduling for LLM inference (vLLM) to prevent memory fragmentation and handle Spot GPU interruptions?
LLMOps GPU Scheduling Karpenter 2026 Top Trend

15+ YOE Principal Architect Answer:

  • Dynamic Resource Allocation (DRA) & PagedAttention: Traditional K8s allocates whole GPUs (`nvidia.com/gpu: 1`). For LLM inference, memory is split between model weights (static) and KV-cache (dynamic). Use vLLM PagedAttention to allocate non-contiguous GPU memory blocks like virtual memory paging in OS kernels, eliminating 90%+ of memory fragmentation.
  • Karpenter Spot Provisioning & NodePool Diversity: Configure Karpenter NodePools with multiple instance types (`g5.12xlarge`, `g6.12xlarge`, `p4de.24xlarge`) across multiple AZs to prevent GPU capacity stockouts.
  • Spot Interruption Defense: Integrate the AWS Node Termination Handler. When a 2-minute Spot termination warning is received, trigger a Kubernetes graceful pod drain: stop new incoming prompt routing, allow active generation tokens to finalize within 30s, and re-route new requests to hot standby replicas.
4. You notice a $50,000/month surprise bill for AWS NAT Gateway and Cross-AZ data transfer in an EKS cluster. How do you diagnose and fix it?
FinOps CoreDNS VPC Endpoints AWS

15+ YOE Principal Architect Answer:

  1. Root Cause 1: Un-endpointed S3/DynamoDB traffic. Pods pulling heavy container images or writing parquet files to S3 via public IPs rout through the AWS NAT Gateway ($0.045/GB NAT charge + egress). Fix: Provision free S3 Gateway VPC Endpoints in all route tables.
  2. Root Cause 2: Cross-AZ Pod Communication. Microservices calling each other across AZs incur $0.02/GB cross-AZ transfer charges. Fix: Enable Topology Aware Hints (service.kubernetes.io/topology-mode: Auto) so kube-proxy routes requests to pods in the same Availability Zone.
  3. Root Cause 3: CoreDNS 5-tuple DNS search path spam. Invalid internal lookups loop through NAT Gateways. Fix: Deploy NodeLocal DNSCache DaemonSet and optimize ndots:2 in pod DNS configs.
5. Walk me through how you lead a P0 outage as an Incident Commander when the payment pipeline is down and executives are in the Slack channel.
Incident Commander SRE Leadership Staff+ Behavioral

15+ YOE Principal Architect Answer:

  • 1. Establish Command Hierarchy: Immediately declare IC leadership: "I am the Incident Commander. [Name] is Technical Lead on triage. [Name] is Communications Lead. All status updates will occur in #incident-2026-p0 every 15 minutes."
  • 2. Protect the Investigators (Blast Wall): Divert executives, sales, and support to the dedicated #incident-exec-updates channel managed by the Communications Lead to prevent distraction of the triage engineers.
  • 3. Mitigate First, Root-Cause Later: Prioritize stopping the bleeding over finding the bug. If a bad GitOps deploy occurred in the last 30 minutes, issue an immediate git revert or roll traffic to the previous known good canary/blue environment.
  • 4. Blameless Postmortem with Action Items: Focus on system resilience, automated circuit breakers, and SLO guardrails rather than human error.

Free Hands-On Lab Integration 13.4

Practice every single concept covered in this War Room simulator using 100% free browser-based and WSL2 environments. No credit card required.

Killercoda eBPF & K8s

Interactive browser K8s v1.31 clusters with root access.

Open Free Labs

SadServers Troubleshooting

Fix broken Linux servers, poisoned routes, and hung systemd services.

Solve Puzzles

Local WSL2 Playground

Run Kind clusters, Ollama LLMs, and ArgoCD on your own PC.

Get Setup Script

Predict the Result: First Five Minutes of a Crash Loop 13.5

Recorded from a real run of scripts/recordings/war-room.sh; every output below is pasted from scripts/recordings/war-room.out. Cover the output, predict it, then compare.

Environment: minikube v1.34.0 (Kubernetes v1.31.0). The checkout Deployment runs busybox:1.36 with a start script that exits 1 when DB_URL is unset. Pod names, restart counts and ages differ per run.

recorded run
# Pages fire for checkout. First look
$ kubectl -n war-room get pods -l app=checkout
NAME                        READY   STATUS             RESTARTS     AGE
checkout-6bf6595596-4ph48   0/1     CrashLoopBackOff   1 (4s ago)   6s

# How did the last attempt end?
$ kubectl -n war-room get pods -l app=checkout -o jsonpath='{.items[0].status.containerStatuses[0].lastState.terminated.exitCode}'; echo
1

# What did the crashed container print?
$ kubectl -n war-room logs deploy/checkout --previous
FATAL: DB_URL not set

# Mitigate: supply the missing configuration
$ kubectl -n war-room set env deploy/checkout DB_URL=postgres://db:5432/app
deployment.apps/checkout env updated

# Logs of the new pod
$ kubectl -n war-room logs deploy/checkout
connected to postgres://db:5432/app

# Is the Deployment healthy again?
$ kubectl -n war-room get deploy checkout
NAME       READY   UP-TO-DATE   AVAILABLE   AGE
checkout   1/1     1            1           12s

Triage order: status, last exit code, then logs --previous, because the current container has just restarted and has printed nothing yet. Mitigate first, then write up why a release could ship without a required variable.

Predict: results this lesson prints

Write what you expect, then compare with the lesson. You mark each result yourself; it is recorded as predict evidence.

What result does the lesson show for this command?

$ kubectl -n war-room get pods -l app=checkout
Show the lesson's result

The lesson shows:

NAME                        READY   STATUS             RESTARTS     AGE
checkout-6bf6595596-4ph48   0/1     CrashLoopBackOff   1 (4s ago)   6s

What result does the lesson show for this command?

$ kubectl -n war-room get pods -l app=checkout -o jsonpath='{.items[0].status.containerStatuses[0].lastState.terminated.exitCode}'; echo
Show the lesson's result

The lesson shows:

1

What result does the lesson show for this command?

$ kubectl -n war-room logs deploy/checkout --previous
Show the lesson's result

The lesson shows:

FATAL: DB_URL not set

Practice: troubleshoot and decide

Commit to an answer before each result is shown. Finishing a drill or a decision is recorded as evidence for the sections it builds on.

Troubleshooting drill

The runbook said raise somaxconn. The 1-second stalls stayed.

Output recorded from a real run on python:3.12-slim containers on Docker Desktop (Linux kernel 6.18 in WSL2), run from Git Bash on Windows. A single-process Python HTTP server stands in for checkout-api; burst.py opens 300 connections at the same moment over loopback. Timings vary by machine; the 1-second retry step does not. Nothing runs on your machine.

Builds on Live Production Incident Simulator (P0 Triage).

At the evening peak, a share of checkout requests take just over one second or time out at the ingress, while checkout-api CPU sits at 30 percent. Following the war-room runbook, the on-call engineer raised net.core.somaxconn to 65535 for the pods. The stalls are unchanged. The service is a small Python HTTP server, one process per pod.

  1. Step 1 of 2: The pods are not busy, yet some connections wait about a second. What do you check first?

Design decision

Checkout is failing at peak and a deploy went out 40 minutes ago: roll back, scale out or keep diagnosing?

Builds on Live Production Incident Simulator (P0 Triage).

Peak sale traffic. The ingress returns 504s for 12 percent of checkout requests and the business puts the loss at about $340k an hour. checkout-api was deployed 40 minutes ago with a new HTTP server library; the errors began about 30 minutes ago as traffic climbed. Nothing else changed in the last day. You are the incident commander.

Constraints

  • A rollback through Argo CD takes about 6 minutes, and the release contains no database change
  • checkout-api runs 20 pods, each holding 10 database connections; the database allows 500
  • Stakeholders expect an update every 15 minutes
  • The root cause must be found afterwards for the postmortem
Which do you choose?

Lab: simulated terminal, nothing runs on your machine

Simulated nothing runs on your machine

  1. 1 Live Production Incident Simulator: Run hubble observe --verdict DROPPED --follow
Live Production Incident Simulator: Run hubble observe --verdict DROPPED --follow

Ready. Type the command for the current goal.

Check yourself

When an etcd cluster experiences Raft fsync stalls because EBS gp2 burst credits are exhausted, why does the runbook modify the EBS volume directly with aws ec2 modify-volume rather than editing the StorageClass?

Explanation

In 'etcd Raft IOPS Stalls, vLLM CUDA OOM Exhaustion & NAT Gateway Bleed Runbooks', StorageClass parameters are immutable and cannot alter existing PVs, so engineers modify the underlying EBS volume directly using aws ec2 modify-volume to upgrade IOPS and throughput.

A high-traffic Kubernetes deployment causes a $48,000/day AWS bill spike due to cross-AZ NAT Gateway data transfer from S3 and container registries. Which two mitigations does the runbook apply?

Explanation

In 'etcd Raft IOPS Stalls, vLLM CUDA OOM Exhaustion & NAT Gateway Bleed Runbooks', the runbook provisions a free S3 Gateway VPC Endpoint to bypass NAT gateways and annotates the service with 'service.kubernetes.io/topology-mode=Auto' so EndpointSlices keep inter-pod traffic within the local AZ.

When an unauthorized or unsigned container binary is detected running in production, why must engineers avoid immediately deleting the pod?

Explanation

In 'Unsigned Helm Chart & Image Tampering: Verification, Forensic Containment, and Rollback', immediate pod termination destroys ephemeral attack indicators. The runbook captures pod metadata, logs, and container state for forensics before containment and rollback.

During an LLM inference traffic surge, vLLM worker pods crash with torch.cuda.OutOfMemoryError. What mitigation does the runbook apply?

Explanation

In 'etcd Raft IOPS Stalls, vLLM CUDA OOM Exhaustion & NAT Gateway Bleed Runbooks', the runbook mitigates CUDA OOM KV-cache overflows by patching the deployment arguments to cap context length (--max-model-len 8192) and tune GPU memory allocation (--gpu-memory-utilization 0.92).

What symptom indicates etcd Raft disk IOPS throttling during a P0 incident?

fsync p99 latency exceeding 10ms, burst credit exhaustion on gp2/gp3 volumes, and API 500 errors.

Space flips the current card.

Capability coverage: L1, L3, L4 covered

No lesson evidence yet. Start reading this lesson, then run its free lab to record demonstrated checks.

Each cell counts this lesson's sections for that skill and level. Complete needs a demonstrated check (today only the lab); reading a section shows Developing. Not covered means the lesson has no material there.

Skills by experience level for this lesson
SkillL1 FoundationL2 PractitionerL3 ProductionL4 Architect
Understand Missing · 1 section Not covered Not covered Not covered
Operate Not covered Not covered Not covered Not covered
Troubleshoot Not covered Not covered Missing · 1 section Not covered
Automate Not covered Not covered Not covered Not covered
Secure Not covered Not covered Not covered Not covered
Observe Not covered Not covered Not covered Not covered
Design Not covered Not covered Not covered Missing · 1 section
Make trade-offs Not covered Not covered Not covered Missing · 1 section

How this lesson fits each role