-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
kind not working in codepaces #3696
Comments
you are missing one kernel module that is required
|
Could you maybe tell me how I would do this? |
I;m not familiar with this environment, but based on tailscale/tailscale#3002 it seems it depends on the project to enable them, so you may need to ask for this feature to enable this kernel module https://github.com/features/codespaces |
Thx, opened a support ticket with GitHub |
Note that docker v27 is enabling IPv6 by default #3677 so it's probably best for github to enable these modules even if the hosts are themselves ipv4 only. |
I created a debian bookworm vm in gcp, used vscode tunnel to connect to it, rebuild the devcontainer and tried to create kind cluster. Got the same error:
I then disabled the ip6tables in the docker daemon.json file:
Did not work, also tried |
Make sure you have Docker engine v27. But even if you could disable it for docker, that doesn't really get you far. You will still need the ipv6 kernel module for running kubernetes. |
Only to fix it was with
When the vm starts |
@pieterv-icloud-com |
Trying to create a kind cluster in codespaces
What happened:
Running
kind create cluster --config ./scripts/kind-config.yaml --retain
Gives the following error:
Running
kind export logs
produces not logs:What you expected to happen:
Expecting a kind cluster as when running this locally,
How to reproduce it (as minimally and precisely as possible):
We have the following features in
devcontainer.json
:Dockerfile:
Kind configuration:
Anything else we need to know?:
Environment:
kind version
):kind v0.23.0 go1.21.10 linux/amd64
docker info
,podman info
ornerdctl info
):/etc/os-release
):Ubuntu 24.04 LTS
kubectl version
):v1.30.3
The text was updated successfully, but these errors were encountered: