Troubleshooting CLI Issues

Kubectl

API Server Unreachable

Invalid Token in Kubeconfig

Etcdctl

Incorrect Endpoint(s)

This error may be encountered as a result of an improper or unreachable target within the specified endpoints.

Bash
Copy

Specify the --endpoints flag with the local etcd endpoint http://localhost:2379 .

Bash
Copy

Certificates Not Specified

Networking Issues

If your nodes are deployed on an internal network, (e.g. a node deployed on any of the following: AWS private network, OpenStack tenant network, VMware NSX tenant/private network) you must specify the internal IP of the node as a parameter to the CLI.

If in doubt, run ifconfig on the node, then see what IP address gets reported and specify that IP. Your external IP will not get reported by ifconfig as that is configured external to the node.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated by Anmol Sachan