Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weā€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection to the server 127.0.0.1:59728 was refused - did you specify the right host or port? #916

Closed
cmoulliard opened this issue Oct 3, 2019 · 2 comments
Labels

Comments

@cmoulliard
Copy link

@cmoulliard cmoulliard commented Oct 3, 2019

Issue

When I create a cluster using version v0.5.1 of kind, I can't access it even if the docker ps is running

kind create cluster --name halkyon --wait 5m
Creating cluster "halkyon" ...
 āœ“ Ensuring node image (kindest/node:v1.15.3) šŸ–¼
 āœ“ Preparing nodes šŸ“¦
 āœ“ Creating kubeadm config šŸ“œ
 āœ“ Starting control-plane šŸ•¹<fe0f>
 āœ“ Installing CNI šŸ”Œ
 āœ“ Installing StorageClass šŸ’¾
 āœ— Waiting ā‰¤ 5m0s for control-plane = Ready ā³
 ā€¢ WARNING: Timed out waiting for Ready <26a0><fe0f>
Cluster creation complete. You can now use the cluster with:

export KUBECONFIG="$(kind get kubeconfig-path --name="halkyon")"
kubectl cluster-info

$ export KUBECONFIG="$(kind get kubeconfig-path --name="halkyon")"
$ kubectl cluster-info

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
The connection to the server 127.0.0.1:59728 was refused - did you specify the right host or port?

$ docker ps
CONTAINER ID        IMAGE                  COMMAND                  CREATED             STATUS              PORTS                                  NAMES
b27096e4dab3        kindest/node:v1.15.3   "/usr/local/bin/entrā€¦"   25 minutes ago      Up 25 minutes       59728/tcp, 127.0.0.1:59728->6443/tcp   halkyon-control-plane

docker exec -it halkyon-control-plane crictl images
IMAGE                                TAG                 IMAGE ID            SIZE
docker.io/kindest/kindnetd           0.5.0               ef97cccdfdb50       83.6MB
k8s.gcr.io/coredns                   1.3.1               eb516548c180f       40.5MB
k8s.gcr.io/etcd                      3.3.10              2c4adeb21b4ff       258MB
k8s.gcr.io/kube-apiserver            v1.15.3             be321f2ded3f3       249MB
k8s.gcr.io/kube-controller-manager   v1.15.3             ac7d3fe5b34b7       200MB
k8s.gcr.io/kube-proxy                v1.15.3             d428039608992       97.3MB
k8s.gcr.io/kube-scheduler            v1.15.3             a44f53b10fee0       96.5MB
k8s.gcr.io/pause                     3.1                 da86e6ba6ca19       746kB

Info

Version of kind:v0.5.1
Machine: Macos + docker-machine

@cmoulliard cmoulliard added the kind/bug label Oct 3, 2019
@BenTheElder

This comment has been minimized.

Copy link
Member

@BenTheElder BenTheElder commented Oct 3, 2019

kind is untested on docker machine, it is however tested on docker for Mac.

IIRC docker machine is no longer supported by docker.

@BenTheElder

This comment has been minimized.

Copy link
Member

@BenTheElder BenTheElder commented Oct 7, 2019

lacking any other evidence, I'm going to dedupe this with the previously existing issue #916

@BenTheElder BenTheElder closed this Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You canā€™t perform that action at this time.