Pod
Separate containers · Separate networks and filesystems
Running the collector and web server separately gives each its own IP and filesystem.
Same Pod · Shared network and volumes
A Pod is the basic Kubernetes execution unit, grouping one or more containers for placement and management.
Principles and uses
Compare placement, networking, and file sharing when containers run in one Pod.
Containers in one Pod share networking and are assigned to the same node.
Shared volume mounts allow file access across containers. Containers also share a port space and cannot bind the same address and port simultaneously.
Use it to decide container grouping and understand Pod networking and storage.