advanced

Kubernetes

Orchestrate containers with declarative workloads, networking, configuration, scaling, packaging, and health-driven operations.

Kubernetes interviews test declarative operations: pods as ephemeral units, Deployments for rollouts, Services for stable networking, Ingress for HTTP edge routing, configuration split, scaling, and packaging with Helm.

Subtopics: Pod, Deployment, Service, Ingress, ConfigMap, Secret, Namespace, HPA, Helm basics.

On interviews: draw request path from Ingress to Pod; explain readiness during rollout; when ConfigMap changes require restart; HPA prerequisites.

Common pitfalls: bare Pods in production; wrong Service selectors; secrets in ConfigMaps; HPA without resource requests.

The trade-off is platform power versus YAML and operational complexity for small teams.

Checklist:

  • Use Deployments for stateless apps.
  • Gate rollouts with readiness.
  • Separate config and secrets.
  • Set requests before autoscaling.