IBMCloud: kubectl get nodes Unable to connect to the server

4/7/2019

Have just set up an account on IBM Cloud for Kubernetes. Cloned the example and am trying to deploy it to the nodes. i can access these alright from the dashboard, but unable to access the cluster from the CLI.

when I run the below command, it throws a connection error. Tried to troubleshoot following this link, but doens't help: https://console.bluemix.net/docs/containers/cs_troubleshoot_clusters.html#exec_logs_fail

$ kubectl get nodes

Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.

Tried following steps - same error

-- Sudarshan Ranganath Survepalli
cloud
connect
kubernetes
server

0 Answers