How-To Run Calicoctl Commands
Problem
$ /opt/pf9/pf9-kube/bin/calicoctl get nodes
Failed to create Calico API client: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variableEnvironment
Procedure
$ export CALICO_DATASTORE_TYPE=kubernetes
$ export KUBECONFIG=/etc/pf9/kube.d/kubeconfigs/admin.yaml$ /opt/pf9/pf9-kube/bin/calicoctl get nodes
NAME
172.20.4.215
172.20.4.220
172.20.4.251PreviousHow To Change Configuration for Kubelet Service on All Worker or Master Nodes in a PMK ClusterNextHow To Disable Partial Restarts of Nodeletd Phases
Last updated
