The kubectl config view command can be used to view the kubeconfig file. Notice how the clusters, contexts, and user stanzas of kubeconfig correspond to the previously described commands, as shown:
$ kubectl config view
apiVersion: v1
clusters:
- cluster:
certificate-authority: /home/helm-user/.minikube/ca.crt
server: https://192.168.99.102:8443
No comments:
Post a Comment