Ravindra BagaleCourses & study guides मराठी

DevOps

Chapter 59: Kubernetes Pods in Depth: Architecture, YAML Anatomy and Pod Types

Friends, this chapter is a deep study of the Pod. Chapter 18 covered the basics. Here you run every Pod type yourself on a kind cluster. Type the YAML. Copy and paste less.

What you will learn in this chapter

  • See what happens inside the cluster on kubectl apply
  • Read any Kubernetes YAML file line by line
  • Set requests, limits and QoS for a pod
  • Build multi-container, init and sidecar pods
  • Run static pods from the kubelet
  • Understand the pod lifecycle and graceful shutdown

Concepts in this chapter

  1. 59.1Cluster and pod architecture: what really happens on kubectl apply
  2. 59.2YAML file anatomy: read any Kubernetes file line by line
  3. 59.3Single-container pod: requests, limits, env, ConfigMap and QoS classes
  4. 59.4Multi-container pods: shared network, shared volumes, adapter and ambassador
  5. 59.5Init containers: wait for the database, run migrations, seed data
  6. 59.6Sidecar containers: log shippers, native sidecars and proxies
  7. 59.7Static pods: kubelet manifests, mirror pods and the control plane
  8. 59.8Pod lifecycle: phases, restartPolicy, termination and graceful shutdown

The chapter recap is at the end of the last concept page.