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