alias k=kubectl# bash in podk exec -it <pod-name> — /bin/bashk get all # list all resourcesk get services # List all services in the namespacek get pods —all-namespaces # List all pods in all namespacesk get pods -o wide # List all pods in the namespace, with more detailsk get deployment my-dep # List a particular deploymentk describe nodes <node-name>k describe pods <pod-name>k delete -f ./pod.yaml # Delete a pod using the type and name specified in pod.yamlk delete pod,service baz foo # Delete pods and services with same names “baz” and “foo”k delete pods,services -l name=<Label> # Delete pods and services with label name=myLabelk -n <namespace> delete po,svc —all # Delete all pods and services in namespace my-ns# Port Forwardingk port-forward deployments/labelname 8080:8080 # deploymentk port-forward svc/labelname 8080:8080 # service# Explaink explain pod.spec# Editingk edit deployments/name# Controller Status> k get csNAME STATUS MESSAGE ERRORscheduler Healthy okcontroller-manager Healthy oketcd-0 Healthy {"health":"true"}