This tool is named kubectl For configuration, kubectl looks for a file named config in the $home/.kube directory. To connect to the kubernetes cluster, the basic prerequisite is the kubectl cli plugin If you don't have the cli installed, follow the instructions given here Now follow the steps given below to use the kubeconfig file to interact with the cluster Explore kubectl essential commands, advanced techniques, and examples.
The default location of the kubeconfig file is ~/.kube/config By default, kubectl looks for a file named config in the $home/.kube directory By default, kubectl looks for the file in the $home/.kube directory Edit the config file with a text editor of your choice, such as notepad. Apply manages applications through files defining kubernetes resources It creates and updates resources in a cluster through running kubectl apply
Kubernetes manifests can be defined in yaml or json.
WATCH