Cheatsheet Kubernetes Operations
// Structured learning part for Cheatsheet Kubernetes Operations covering Status Seri.
This overview is designed to help you choose the right entry point quickly. Follow the full track from lesson one, continue from your last checkpoint, or jump straight into a phase that matches what you need right now.
Curriculum Map
Navigate by phase, then choose the lesson that matches your current depth.
Kubernetes as Production Runtime for Backend Engineers
18 minFondasi memahami Kubernetes sebagai production runtime untuk backend services enterprise.
Desired State, Actual State, and Reconciliation Reasoning
19 minModel berpikir operasional Kubernetes: desired state, actual state, reconciliation, status, event, dan condition.
Ownership, Escalation, and Safe Operational Boundaries
20 minBatas tanggung jawab backend engineer, platform engineer, SRE, DevOps, security, dan cluster admin dalam operasi Kubernetes production.
kubeconfig, Context, Namespace, RBAC, and Blast Radius
19 minPraktik aman mengakses cluster Kubernetes production: kubeconfig, context, namespace, RBAC, read-only access, break-glass, audit log, dry-run, diff, impersonation awareness, dan command blast radius.
From get/describe/logs to rollout/debug/auth/diff
17 minWorkflow kubectl yang aman untuk investigasi workload production: get, describe, logs, exec, top, events, rollout, port-forward, debug, auth can-i, diff, explain, dan wait.
Isolation, Quota, RBAC, Secret, and NetworkPolicy Scope
19 minNamespace sebagai boundary environment, team, application, resource quota, LimitRange, NetworkPolicy, RBAC, Secret scope, naming convention, label convention, dan isolation review.
Labels and Annotations as Operational Control Plane
18 minMetadata sebagai fondasi selector, ownership, cost allocation, observability, deployment traceability, compliance, dan operational debugging di Kubernetes.
From Kubernetes Objects to Operational Service Catalog
22 minCara membuat inventory workload, service, ingress, dependency, owner, runtime, criticality, dan service catalog untuk operasi Kubernetes production.
Scheduling, Startup, Readiness, Serving, and Termination
29 minOperasi lifecycle Pod dari scheduling, image pull, init container, startup/readiness/liveness probe, serving traffic, termination, PreStop hook, SIGTERM, SIGKILL, dan graceful shutdown untuk Java/JAX-RS workloads.
Deployment, ReplicaSet, Replica, Revision, and Rollout State
22 minOperasi Kubernetes Deployment, ReplicaSet, replica, revision, rollout, rollback, progress deadline, available condition, updated replicas, ready replicas, unavailable replicas, dan rollout history untuk backend services production.
Reading Old and New ReplicaSets During Rollout
19 minDebugging ReplicaSet, pod template hash, revision history, rollout stuck, ProgressDeadlineExceeded, maxSurge, maxUnavailable, pod not ready, bad image, bad config, bad probe, dan rollout failure mode untuk backend services production.
Stable Identity, Storage, and Ordered Rollout
19 minOperasi StatefulSet untuk workload dengan stable identity, stable network, stable storage, ordered rollout, partitioned rollout, VolumeClaimTemplate, headless service, pod ordinal, stateful workload risk, managed service vs self-managed, dan dependency operations awareness.
Backoff, Deadline, Parallelism, Concurrency, and Idempotency
18 minOperasi Job dan CronJob untuk batch, scheduler, migration, reconciliation, backoff, deadline, parallelism, concurrency policy, missed schedule, stuck job, dan idempotent execution di Kubernetes production.
Operational Patterns for Backend Workload Classes
20 minKlasifikasi workload backend di Kubernetes: JAX-RS API service, Kafka consumer, RabbitMQ consumer, Redis-backed service, Camunda worker, batch job, scheduler, file processing job, reconciliation job, dan migration job.
Operating Java REST Services Inside Kubernetes
23 minOperasi service Java 17+ / JAX-RS / Jakarta RESTful Web Services di Kubernetes: endpoint, probes, JVM, thread pool, connection pool, timeout, graceful shutdown, observability, dan production debugging.
Operating Kafka Consumers as Kubernetes Workloads
22 minOperasi Kafka consumer workload di Kubernetes: consumer group, partition assignment, lag, rebalance, replica count, graceful shutdown, offset commit, retry/DLQ, backpressure, autoscaling, dan production runbook.
Operating RabbitMQ Consumers in Kubernetes
18 minOperasi RabbitMQ consumer di Kubernetes: queue depth, consumer count, prefetch, ack/nack, unacked messages, redelivery, retry, DLQ, graceful shutdown, dan backpressure.
Operating Workflow Workers in Kubernetes
18 minOperasi Camunda worker di Kubernetes: worker lifecycle, job activation, concurrency, timeout, retry, incident, process correlation, pod restart impact, graceful shutdown, dan observability.
Reliable Batch and Scheduled Workloads
16 minOperasi batch, scheduler, reconciliation, checkpointing, locking, overlapping run prevention, retry, partial completion, dan failure notification di Kubernetes.
Client to Pod Traffic Path
17 minAlur request dari client ke DNS, load balancer, ingress controller, NGINX/API gateway, Service, EndpointSlice, Pod, container port, Java/JAX-RS endpoint, dependency call, dan response path.
Service, EndpointSlice, DNS, and Selector Debugging
15 minOperasi Kubernetes Service, ClusterIP, Headless Service, EndpointSlice, selector, named port, targetPort, DNS name, CoreDNS, no endpoint issue, dan wrong selector issue untuk backend engineers.
Host Routing, Path Routing, TLS, and Backend Debugging
16 minOperasi Kubernetes Ingress, IngressClass, ingress controller, host/path routing, rewrite, TLS, backend service, backend protocol, serta debugging 404, 502, 503, dan 504.
Operating NGINX Ingress for Backend Services
19 minOperasi NGINX Ingress Controller untuk backend services: controller pod, ConfigMap, annotation, timeout, buffering, body size, WebSocket, SSE, upstream health, reload, logs, metrics, dan runbook debugging.
Beyond Ingress: Gateway API and Enterprise Edge Routing
17 minAwareness operasional terhadap Kubernetes Gateway API, API Gateway, GatewayClass, Gateway, HTTPRoute, edge auth, rate limiting, TLS policy, route ownership, dan migrasi dari Ingress.
DNS Resolution Inside and Outside the Cluster
15 minOperasi CoreDNS, service DNS, pod DNS, external/private DNS, ndots, search domain, DNS cache, DNS timeout, wrong DNS response, dan private endpoint DNS untuk backend engineer.
Debugging Allowed and Blocked Traffic
18 minOperasi NetworkPolicy untuk ingress policy, egress policy, default deny, namespace selector, pod selector, IPBlock, DNS egress, database egress, broker egress, cloud service egress, dan debugging blocked traffic.
Outbound Connectivity from Kubernetes Workloads
17 minOperasi pod egress melalui NAT gateway, proxy, NO_PROXY, firewall, private endpoint, VPC endpoint, Azure Private Endpoint, egress allowlist, cloud SDK egress, cost, dan troubleshooting outbound connectivity.
Certificates, Trust, and Secure Traffic
17 minOperasi TLS termination, certificate, private key, CA bundle, Java truststore/keystore, cert-manager awareness, Secret-mounted certificate, certificate expiry, SNI, mTLS, dan TLS debugging untuk backend workloads di Kubernetes.
Aligning Timeout Across Client, Gateway, Service, and Dependency
14 minOperasi timeout end-to-end dari client, CDN/front door, load balancer, ingress, NGINX, service, Java/JAX-RS runtime, HTTP client, PostgreSQL, Kafka, RabbitMQ, Redis, Camunda, sampai cloud dependency.
Runtime Configuration Without Breaking Production
12 minOperasi ConfigMap untuk runtime configuration, environment variable, volume mount, immutable ConfigMap, config reload, config drift, missing config, wrong environment config, restart requirement, safe default, Helm/Kustomize/GitOps, dan production debugging.
Safe Secret Consumption by Backend Workloads
22 minOperasi Kubernetes Secret untuk backend workloads: secret volume, env var, rotation, reload, stale secret, missing secret, leakage, access control, RBAC, GitOps, Java/JAX-RS impact, dependency credentials, dan production-safe debugging.
Cloud-Backed Secrets for Kubernetes Workloads
20 minOperasi External Secrets dan cloud secret integration untuk backend workloads: External Secrets Operator, Secrets Store CSI Driver, AWS Secrets Manager, SSM Parameter Store, Azure Key Vault, sync interval, rotation, access denied, secret versioning, workload identity, and production failure modes.
Kubernetes Identity and Permission Boundary
20 minOperasi ServiceAccount dan RBAC untuk backend workloads: ServiceAccount, Role, ClusterRole, RoleBinding, least privilege, token projection, automountServiceAccountToken, kubectl auth can-i, permission debugging, and production-safe access review.
Cloud IAM for Kubernetes Workloads
19 minOperasi workload identity untuk Kubernetes backend workloads di EKS dan AKS: AWS IRSA, EKS OIDC provider, STS AssumeRoleWithWebIdentity, AWS SDK credential chain, Azure Workload Identity, federated credential, managed identity, Azure SDK credential chain, token expiry, and access denied debugging.
Resource Contracts Between Workload and Cluster
19 minOperasi Kubernetes resource requests and limits untuk backend workloads: CPU request, CPU limit, memory request, memory limit, ephemeral storage, QoS class, overprovisioning, underprovisioning, capacity, scheduling, reliability, and cost trade-off.
Aligning JVM Memory and CPU with Container Limits
15 minJVM resource tuning for Java 17+ backend services in Kubernetes: heap sizing, MaxRAMPercentage, InitialRAMPercentage, direct memory, metaspace, thread stack, native memory, GC, CPU throttling, container memory limits, OOMKilled, and production-safe diagnostics.
Latency Impact of CPU Limits and CFS Quota
18 minOperational guide for detecting, reasoning about, and mitigating CPU throttling in Kubernetes workloads, especially Java 17+ / JAX-RS backend services where CFS quota, CPU limits, GC, thread pools, and latency interact.
Debugging Container Memory Failures
17 minProduction runbook and operational model for OOMKilled, exit code 137, JVM heap and native memory, direct buffers, thread stacks, node memory pressure, eviction, heap dump safety, and memory-related incident debugging in Kubernetes.
Managing Temporary Disk Usage in Pods
13 minProduction operational model for Kubernetes ephemeral storage, EmptyDir, writable layers, logs, temporary files, uploads, batch processing, disk pressure, eviction, storage limits, cleanup, and backend failure debugging.
Pool Sizing Under Replica Count and Rollout Dynamics
12 minProduction operational model for database, HTTP, Kafka, RabbitMQ, and Redis connection pools in Kubernetes, including per-pod pool multiplication, rolling deployment spikes, pool exhaustion, connection leaks, dependency capacity, autoscaling, and incident debugging.
Horizontal Autoscaling Without Instability
14 minProduction operational model for Horizontal Pod Autoscaler, including CPU, memory, custom metrics, external metrics, scaling policy, stabilization windows, min/max replicas, metric lag, scaling thrash, and safe debugging for Java/JAX-RS backend workloads.
Scaling Consumers Based on Work Backlog
15 minProduction operational model for autoscaling Kafka, RabbitMQ, Redis Stream, and event-driven worker workloads in Kubernetes, including KEDA awareness, backlog semantics, consumer concurrency, partition/prefetch limits, scaling delay, over-scaling risk, and incident runbooks.
From Pending Pods to Node Provisioning
23 minProduction operational model for Cluster Autoscaler, Karpenter awareness, AKS node pool autoscaling, pending pod triggers, node provisioning delay, instance types, node pools, zone capacity, spot/preemptible nodes, bin packing, and safe debugging for backend engineers.
Controlling Voluntary Disruption
22 minProduction operational model for PodDisruptionBudget, minAvailable, maxUnavailable, voluntary disruption, node drain, rolling update, cluster upgrade, single replica risk, quorum workload risk, PDB blocking issues, and backend availability review.
Controlling Where Pods Run
21 minProduction operational model for node selector, node affinity, pod affinity, pod anti-affinity, topology spread constraints, taints, tolerations, PriorityClass, preemption, zone spreading, and safe scheduling debugging for backend engineers.
Reading Node Issues Without Owning the Cluster
20 minProduction operational model for node readiness, node pressure, node drain, cordon, taints, node pools, node groups, runtime issue awareness, pod eviction, workload rescheduling, and safe node issue escalation for backend engineers.
Persistent Storage Failure Modes
15 minProduction operational model for PersistentVolume, PersistentVolumeClaim, StorageClass, CSI drivers, access modes, reclaim policy, volume expansion, PVC Pending, mount failures, disk full incidents, and safe storage escalation for backend engineers.
Knowing the Risk Boundary of Stateful Dependencies
15 minProduction awareness for PostgreSQL, Kafka, RabbitMQ, Redis, Camunda, operators, StatefulSets, backup, restore, quorum, and managed-service decisions from a backend service owner perspective.
From Build Artifact to Running Container
12 minOperasi image tag, digest, ImagePullBackOff, registry auth, ImagePullSecret, ECR, ACR, vulnerability scan, image promotion, dan registry outage untuk backend service di Kubernetes.
Shipping and Reverting Safely
11 minOperasi rolling update, rollout status, history, rollback, revision, bad deployment, bad config, bad secret, bad migration, smoke test, dan post-deployment verification untuk workload backend di Kubernetes.
Reducing Blast Radius During Release
16 minOperasi canary, traffic split, header-based routing, weight-based routing, Argo Rollouts awareness, Flagger awareness, metric-based promotion, auto rollback, manual pause, dan blast radius untuk backend services di Kubernetes.
Parallel Environments and Safe Traffic Switching
14 minOperasi blue-green deployment, blue environment, green environment, traffic switch, database compatibility, cache compatibility, event compatibility, rollback, cost, dan validation untuk workload backend di Kubernetes.
Safe Schema Change with Rolling Workloads
17 minKoordinasi database migration untuk workload Kubernetes: migration job, expand-contract, backward compatibility, rollout order, readiness dependency, rollback limitation, long-running migration, migration lock, observability, dan production-safe release sequencing.