Get container names in pod:
kubectl describe pod1
kubectl exec pod_name1 -c container_name1 -- bash
kubectl exec pod_name1 -c container_name2 -- bash
kunbectl exec --help
more : https://www.mirantis.com/blog/multi-container-pods-and-container-communication-in-kubernetes/