Kubernetes Intro Flashcards
Learn kubernetes basic commds
1
Q
How to check log files multiple containers via pods with shell
A
Get pods then use
> Kubectl exec [podname] –command
> kubectl exec mypod --date > Kubectl exec -it [podname] -c [Container] / kubectl exec -it mypod-453337 -c mypd-container /bin/bash