Ravindra BagaleCourses & study guides

Chapter 15: Kubernetes Introduction

Chala mitrano, aaj aapan Kubernetes — ek server nahi, cluster manager jo failed pods restart karto. Pod, Deployment, Service, Namespace, Compose nantar ka orchestrator, kubectl get/describe/logs/apply. Local lab tool: kind (Kubernetes in Docker) — ekach choose, stick. badge API image deploy + Service ports (published ports). latest tag prod madhe — nako. Ghabru naka: cluster up → apply → curl/port-forward.

What you will learn in this chapter

  • Why orchestrators after Compose
  • Pod, Deployment, Service, Namespace
  • kubectl get, describe, logs, apply
  • Local kind cluster for labs
  • Deploy badge API and reach it safely

Concepts in this chapter

  1. 15.1Why Kubernetes after Compose
  2. 15.2Primary local tool — kind
  3. 15.3Core objects — Pod, Deployment, Service, Namespace
  4. 15.4kubectl everyday verbs
  5. 15.5Manifest sketch — Deployment + Service for badge API
  6. 15.6Reaching the app — port-forward (kind-friendly)
  7. 15.7Rolling update and rollback (light)
  8. 15.8Probes — readiness vs liveness (awareness)
  9. 15.9Config and secrets — concepts only
  10. 15.10Troubleshooting table
  11. 15.11Security basics (pointer)
  12. 15.12Anti-patterns
  13. 15.13Lab — kind cluster, deploy, curl

Review and practice

  1. ★15.12b Declarative apply vs imperative run
  2. ★15.12c Resource requests (awareness)
  3. ★15.12d Loading a local image into kind (common lab snag)
  4. ★15.12e Namespaces and who can break what

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