439 B
439 B
Sample Answer: File-Like Question (Q4)
Pod inspection/debug commands
kubectl get pods -n defaultkubectl get pods -o widekubectl describe pod nginx-demokubectl logs nginx-demokubectl exec -it nginx-demo -- sh
Short notes
getshows current pod state.describeshows events and scheduling details.logshelps troubleshoot application output.execlets you inspect container internals.