kubernetes-commands-cheatsheet kubectl get pods kubectl get pods -l app=<label-selector> kubectl get pods -o yaml kubectl get pods -o wide kubectl get services kubectl get pods --all-namespaces kubectl get deployments kubectl get nodes kubectl describe pods kubectl logs [pod_name] kubectl cluster-info kubectl get configMaps kubectl proxy kubectl describe pod [pod_name] kubectl describe services/[service_name] kubectl expose deployment/[deployment_name] --type="NodePort" --port=8080 kubectl delete service -l <label> kubectl label pod [pod_name] <label> kubectl rollout status deployments/[deployment_name] kubectl rollout undo deployments/[deployment_name] kubectl scale deployments/[deployment_name] --replicas=[number_of_replicas] kubectl run [deployment_name] --image=[image_and_tag] --port=8080 kubectl config view kubectl config get-contexts kubectl get configmaps kubectl get secrets kubectl get configmap [config-map-name] -o yaml kubectl get secret [secrets-name] -o yaml