We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Containers in Pods

Run the following command:

kubectl get pods

You should see something like this:

synergychat-api-6c7944b5c4-rp2k4      1/1     Running   0          160m
synergychat-crawler-cd4947995-ftqg4   3/3     Running   0          151m
synergychat-web-846d86c444-2m6x7      1/1     Running   0          21h
synergychat-web-846d86c444-gxztt      1/1     Running   0          21h
synergychat-web-846d86c444-s88rz      1/1     Running   0          21h

It's important to remember that while it's common for a pod to run just a single container, multiple containers can run in a single pod. This is useful when you have containers that need to share resources. In other words, we can scale up the instances of an application either at the container level or at the pod level.