kubectl 1.37 · Logs and debugging

Copy a file from a pod

Copy a file out of a container.

kubectl cp web-7d9f8c6b5-abcde:/tmp/app.log ./app.log

Official kubectl 1.37 documentation

More logs and debugging commands

All logs and debugging commands · kubectl 1.37 cheatsheet

Was this page helpful?