Kubernetes

There are two containers inside a Pod called "some-pod". What will happen if you run kubectl logs some-pod

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

It won't work because there are two containers inside the Pod and you need to specify one of them with kubectl logs POD_NAME -c CONTAINER_NAME