Skip to content

Glossary: Kubernetes Basics

kubectl logs

Also written: logs

A command that prints what a container wrote to its output. `--previous` shows the last crashed run, `-f` follows, `--tail` limits lines and `--prefix` labels lines with the pod name.

Where the book teaches it

Related terms

CrashLoopBackOff