एक Pod Kubernetes में सबसे छोटी deployable इकाई है: एक या अधिक containers के चारों ओर एक wrapper जो एक ही network namespace (एक IP) साझा करते हैं और storage volumes साझा कर सकते हैं। आप containers को सीधे deploy नहीं करते — आप Pods deploy करते हैं।
एक Pod के अंदर क्या होता है
┌───────────────── Pod (has ONE shared IP) ─────────────────┐
│ │
│ ┌──────────────┐ ┌──────────────┐ shared: │
│ │ container A │ │ container B │ • network (IP) │
│ │ (app) │ │ (sidecar) │ • localhost │
│ └──────────────┘ └──────────────┘ • volumes │
│ │ talk to each other via localhost:port │
└────────────────────────────────────────────────────────────┘
