SaveMyCert
Log in
2 of 2 free questions left today·for 5 a day
Container Orchestration

Reading logs and getting inside a container

1 min read · 339 wordsKCNAUpdated

In one line: kubectl logs reads stdout and stderr, with -c for a container and --previous for a crashed run; kubectl exec opens a shell in a running one.

You’ve read your 2 free KCNA lessons

Sign up free to read every lesson — your progress is saved.

Spotted a mistake in this part?

Part 7 of 10Next