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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly