> For the complete documentation index, see [llms.txt](https://hanfak.gitbook.io/workspace/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hanfak.gitbook.io/workspace/devops1/container-management/kubernetes/commands-glossary.md).

# commands-glossary

kubectl -n

* generally need to refer to namespace to when runningcommands

kubectl describe

kubectl get pods

kubectl get jobs

kubectl logs

* get the logs

kubectl logs -f

* Good for following the logs, as you use the app, and see the logs update as the app is processing the inputs/request

kubectl logs since=10 >

* Store logs up to some time, and store in file to browse and search later.

kubectl config use-context \<CONTEXT\_NAME>

kubectl delete pod

* if using helm, this will automatically bring up a new pod
