Mlops IV
11. Container Orchestration & Kubernetes Here’s a concise and interview-friendly explanation of Kubernetes (K8s) core concepts — Pods , Services , and Deployments , along with real-world analogies , use cases , and YAML examples . 🧱 1. Pod – The Smallest Deployable Unit ✅ What is a Pod? A Pod is the smallest unit in Kubernetes. It wraps one or more containers (usually one) that share: Network namespace (IP + port space) Storage volumes Execution lifecycle 🔁 Analogy: Think of a Pod like a room where one or more people (containers) live together, sharing Wi-Fi and electricity (network/storage). 📦 Example: apiVersion: v1 kind: Pod metadata: name: my-nginx spec: containers: - name: nginx image: nginx:latest ports: - containerPort: 80 🌐 2. Service – A Stable Network Endpoint ✅ What is a Service? A Service is an abstraction to expose Pods . It provides: A stable IP & DNS name Load balancing across health...