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
Last updated