K8s YAML file Kind features
🧠 Short Answer 👉 kind batata hai ki tum Kubernetes me kis type ka object bana rahe ho kind: Pod kind: Deployment kind: Service kind: ConfigMap 👉 Har kind = alag resource / object type 🔥 Simple ...

Source: DEV Community
🧠 Short Answer 👉 kind batata hai ki tum Kubernetes me kis type ka object bana rahe ho kind: Pod kind: Deployment kind: Service kind: ConfigMap 👉 Har kind = alag resource / object type 🔥 Simple analogy Kubernetes = City 🏙️ kind = building type 🏢 Pod = ghar 🏠 Service = road 🚗 Deployment = manager 🧑💼 ConfigMap = settings file ⚙️ 👉 Tum YAML me decide karte ho → kaunsa “building” banana hai 🚀 Most Important kind (interview + real use) 1️⃣ Pod (basic unit) kind: Pod 👉 Sabse chhota unit 👉 Container yahi run hota hai ❌ Direct use kam hota hai (production me) 2️⃣ Deployment (most used 🔥) kind: Deployment 👉 Ye Pods ko manage karta hai: scaling auto-restart rolling update ✔ Real-world me mostly Deployment hi use hota hai 3️⃣ ReplicaSet kind: ReplicaSet 👉 Ye ensure karta hai: "Itne number of pods hamesha chalne chahiye" ⚠️ Direct use rare hai 👉 Deployment internally ReplicaSet use karta hai 4️⃣ Service kind: Service 👉 Pods ko expose karta hai stable IP load balancing 5️⃣ Config