If you are interested in finding out how kubectl exec
works, then I hope you will find this post useful. We will look into how the command works by examing the relevant code in kubectl, K8s API Server, Kubelet and the Container Runtime Interface (CRI) Docker API.
About This Command
Thekubectl exec
command is an invaluable tool for those of us who regularly work with…