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 │
└────────────────────────────────────────────────────────────┘
