Closed carloshgs closed 4 years ago
Export your cluster config first ‘ibmcloud ks cluster config —cluster xxx’
Thanks jpapejr for the reply! I did export the config before, but the deploy doesn´t work. The Cluster and the Worker have status normal and ready.
It’s clearly not exported if kubectl is trying to talk to localhost:8080.
yes, first cmd:
ibmcloud ks clusters
and copy the clusterID,
the second command,
ibmcloud ks cluster config --cluster <clusterID>
then export the output from previous command.
And another command is available:
export IKS_BETA_VERSION=1
After running the command: kubectl run hello-world --image=us.icr.io//hello-world
it returns the following error:
error: failed to discover supported resources: Get http://localhost:8080/apis/apps/v1?timeout=32s: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.