DevOps Notebook: Most useful kubectl Commands !

Kubernetes Family !

Kubectl is a command line utility which allows you to interact with kubernetes cluster and run commands against it. Behind the curtain, It actually interacts with Kubernetes API to perform all operations.

Kubectl connect to K8s cluster with help of a config file. Default location of this config file kube directory which stays at $HOME/.kube
You can pass custom location by using…