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

kwokctl create cluster --runtime=kind not working #567

Closed
1 of 5 tasks
dewijones92 opened this issue May 5, 2023 · 4 comments
Closed
1 of 5 tasks

kwokctl create cluster --runtime=kind not working #567

dewijones92 opened this issue May 5, 2023 · 4 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@dewijones92
Copy link

How to use it?

  • kwok
  • kwokctl --runtime=docker (default runtime)
  • kwokctl --runtime=binary
  • kwokctl --runtime=nerdctl
  • kwokctl --runtime=kind

What happened?

root@dewiserver:/home/dewi/tmp# kwokctl create cluster --runtime=kind
Cluster already exists                                                                                                      cluster=kwok
Cluster is not ready yet, will be restarted                                                                                 cluster=kwok
Deleting cluster "kwok-kwok" ...
Deleted nodes: ["kwok-kwok-control-plane"]
Cluster is starting                                                                                                         cluster=kwok
Creating cluster "kwok-kwok" ...
 ✓ Ensuring node image (docker.io/kindest/node:v1.27.1) 🖼
 ✓ Preparing nodes 📦
 ✓ Writing configuration 📜
 ✓ Starting control-plane 🕹️
 ✓ Installing CNI 🔌
 ✓ Installing StorageClass 💾
 ✓ Waiting ≤ 1m0s for control-plane = Ready ⏳
 • Ready after 15s 💚
Set kubectl context to "kind-kwok-kwok"
You can now use your cluster with:

kubectl cluster-info --context kind-kwok-kwok

Not sure what to do next? 😅  Check out https://kind.sigs.k8s.io/docs/user/quick-start/
Loaded image                                                                       cluster=kwok image="registry.k8s.io/kwok/kwok:v0.2.0"
ERROR Failed cordon nodecluster=kwok err="cmd wait: /home/dewi/code/dot-files/bash_stuff/helpers/kubectl cordon kwok-kwok-control-plane: exit status 1\n+ exec /usr/bin/kubectl -s :8080 cordon kwok-kwok-control-plane\nE0505 08:56:01.086474   63851 memcache.go:265] couldn't get current server API group list: Get \"http://:8080/api?timeout=32s\": dial tcp :8080: connect: connection refused\nE0505 08:56:01.086584   63851 memcache.go:265] couldn't get current server API group list: Get \"http://:8080/api?timeout=32s\": dial tcp :8080: connect: connection refused\nE0505 08:56:01.087781   63851 memcache.go:265] couldn't get current server API group list: Get \"http://:8080/api?timeout=32s\": dial tcp :8080: connect: connection refused\nE0505 08:56:01.088970   63851 memcache.go:265] couldn't get current server API group list: Get \"http://:8080/api?timeout=32s\": dial tcp :8080: connect: connection refused\nThe connection to the server :8080 was refused - did you specify the right host or port?\n"
Cluster is started                                                                                              cluster=kwok elapsed=33s
You can now use your cluster with:

        kubectl cluster-info --context kwok-kwok

Thanks for using kwok!

What did you expect to happen?

For it to successfully spin up a cluster using kind

How can we reproduce it (as minimally and precisely as possible)?

kwokctl create cluster --runtime=kind

Anything else we need to know?

No response

Kwok version

root@dewiserver:/home/dewi/tmp# kwok --version
kwok version v0.2.0 go1.20.4 (linux/amd64)
root@dewiserver:/home/dewi/tmp# kwokctl --version
kwokctl version v0.2.0 go1.20.4 (linux/amd64)
root@dewiserver:/home/dewi/tmp#

OS version

root@dewiserver:/home/dewi/tmp# uname -a
Linux dewiserver 5.15.0-71-generic #78-Ubuntu SMP Tue Apr 18 09:00:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

@dewijones92 dewijones92 added the kind/bug Categorizes issue or PR as related to a bug. label May 5, 2023
@wzshiming
Copy link
Member

This is a bug from an older version of Kind, can you try upgrading Kind and retrying?

@wzshiming
Copy link
Member

Need more information, feel free to open it if you still have questions
/close

@k8s-ci-robot
Copy link
Contributor

@wzshiming: Closing this issue.

In response to this:

Need more information, feel free to open it if you still have questions
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@wzshiming
Copy link
Member

/kind support
/remove-kind bug

@k8s-ci-robot k8s-ci-robot added kind/support Categorizes issue or PR as a support question. and removed kind/bug Categorizes issue or PR as related to a bug. labels Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

3 participants