KUBERNETES: How To Run Kubectl Commands By Using Kubernetes Admin Config File Instead Of Setting Environment Variable
Below command can be used by pointing to specific kubernetes admin config using --kubeconfig parameter
kubectl --kubeconfig /etc/kubernetes/admin.conf get nodes
No comments:
Post a Comment