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

Kind cluster fails at creation #3691

Closed
AdrianXIA opened this issue Jul 23, 2024 · 6 comments
Closed

Kind cluster fails at creation #3691

AdrianXIA opened this issue Jul 23, 2024 · 6 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@AdrianXIA
Copy link

Hello!

I am trying to configure a KinD cluster with Gitlab. Many times, cluster creation fails, but sometimes it passes.
Creation fails when the logs in docker container looks like(yellow lines):
image

Versions/Components:

  1. docker: docker:27-dind
  2. kindest/node = 1.30.2
  3. KIND CLI = v0.23.0

What can be the problem?

Thank you

@AdrianXIA AdrianXIA added the kind/support Categorizes issue or PR as a support question. label Jul 23, 2024
@aojea
Copy link
Contributor

aojea commented Jul 23, 2024

lots of error messages, most probably an environmental issue , I suggest you to look for some of the existing issues that reference gitlab https://github.com/kubernetes-sigs/kind/issues?q=is%3Aissue+is%3Aopen+gitlab

@stmcginnis
Copy link
Contributor

There can be many reasons for failures in the process. It's hard to tell with the limited information here where to start. Please add the environment information from the issue template so we can better understand the environment this is running in:

**Environment:**

- kind version: (use `kind version`):
- Runtime info: (use `docker info`, `podman info` or `nerdctl info`):
- OS (e.g. from `/etc/os-release`):
- Kubernetes version: (use `kubectl version`):
- Any proxies or other special environment settings?:

@AdrianXIA
Copy link
Author

Hello!

  1. kubectl version:
    image

  2. docker info
    image

  3. Kubernetes version: v1.29.4-eks-036c24b

  4. OS:
    image

  5. Additional errors:
    image

The runner runs inside an AWS EKS cluster and I use Gitlab Service feature.

Thank you

@stmcginnis
Copy link
Contributor

Alpine Linux v3.20 (containerized)

So you are running Kubernetes in Docker in Docker?

There have been known issues with using Alpine as a host OS for kind (example). Are you able to use something else? Ideally something that supports cgroupv2 instead of v1 that is in use here.

Note: please paste text output directly, not screenshots of text.

@BenTheElder
Copy link
Member

The runner runs inside an AWS EKS cluster and I use Gitlab Service feature.

#303

There's a LOT of problems with trying to run kubernetes in kubernetes, see some of them above

@AdrianXIA
Copy link
Author

Hello!

Yes, I have downgraded some versions and it works..
I cannot use cgroupv2 at the moment. I will keep this in mind when I will try to use the latest versions.

Thank you for help.

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

4 participants