← GKE158 / 640
easykubectl

Stream live logs from a Deployment by referencing the Deployment object directly

command

kubectl logs deployment/orders-api -f

Command breakdown

Part of the Kubernetes CLI (kubectl) — GKE category.

kubectllogsdeployment/orders-api-f
FlagPurpose
-fBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →