kubectrl get in code example Example 1: kubectl delete all pods kubectl delete --all pods Example 2: kubectl to show label of pod kubectl get pods --show-labels