kops: The connection to the server [redacted] was refused - did you specify the right host or port?
I have been following the kops guide to the letter. I setup my Route 53 zone, etc. I can ssh into my newly created hosts, and the necessary k8s daemons/etc. appear to be running.
Here is what I am experiencing:
$ kubectl get nodes
The connection to the server [redacted] was refused - did you specify the right host or port?
Here is the command I used to create my cluster:
$ kops create cluster --cloud=aws --zones=us-east-1c,us-east-1a,us-east-1b ${NAME} --master-zones=us-east-1a,us-east-1b,us-east-1c --target=terraform --node-count=4 --node-size=m3.medium --master-size=m3.medium --dns-zone=dev.keypr.io --state=${KOPS_STATE_STORE}
Then, I built the infra.:
${GOPATH}/bin/kops update cluster ${NAME} --yes
I have waited quite a while, and still can’t get my nodes. I do not have kubectl proxy running.
Please help!
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17 (3 by maintainers)
I’m facing the same issue,
how do i fix this, i don’t want to delete cluster and rebuild it as it is running production workload. Please suggest