what is it?

a command line tool for communicating with a kubernetes cluster’s control plane, using the kubernetes api

interactive shell

# view pods and filter by name
kubectl get pods | grep <NAME>
# pass stdin tty to container, use a bash shell
kubectl exec -it <POD_NAME> -- /bin/bash