ਇੱਕ Pod Kubernetes ਵਿੱਚ ਸਭ ਤੋਂ ਛੋਟੀ deployable ਇਕਾਈ ਹੈ: ਇੱਕ ਜਾਂ ਵੱਧ container ਦੇ ਦੁਆਲੇ ਇੱਕ ਲਪੇਟ ਜੋ ਇੱਕੋ network namespace (ਇੱਕ IP) ਸਾਂਝਾ ਕਰਦੇ ਹਨ ਅਤੇ storage volume ਸਾਂਝੇ ਕਰ ਸਕਦੇ ਹਨ। ਤੁਸੀਂ container ਸਿੱਧਾ deploy ਨਹੀਂ ਕਰਦੇ — ਤੁਸੀਂ Pod 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 │
└────────────────────────────────────────────────────────────┘
