CKAD Prep Part 9 – Kubernetes Multi Container Pods

Kubernetes Multi Container Pods There are some use cases where you may want to run multiple containers inside the same Pod. For example, you could have a microservice running in one container that writes logs to a volume. A second container running a log agent could capture and push those logs to a centralised logging solution. In this instance both containers run inside the same Pod and work as a unit. Containers Communicating within a Pod Shared Network - containers running in the same Pod share the same network space and can access one another via localhost. In the diagram below Container 1 can access [...]