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

Bug: Healthcheck failed on running k3s preset example #545

Open
jukomericki opened this issue May 18, 2022 · 3 comments
Open

Bug: Healthcheck failed on running k3s preset example #545

jukomericki opened this issue May 18, 2022 · 3 comments

Comments

@jukomericki
Copy link

jukomericki commented May 18, 2022

Describe the bug
I wanted to try and use the k3s preset as it seemeed very developer friendy, but on running the preset_test.go a healthcheck failed is repeatedly logged, more precisely kubeconfig cannot be found

To Reproduce
To reproduce clone the repo and go test preset_test.go in preset/k3s

Expected behavior
An expected behaviour would be to fetch the kube config succesfullyy

Screenshots
image

System:

  • OS: MacOS
  • Version 12.3.1
  • Docker desktop version 4.4.2 (engine version 20.10.12)
@orlangure
Copy link
Owner

Hi @jukomericki, sorry to hear that you had issues with k3s preset😿

Do you use MacOS on arm64 architecture? I think the issue might be caused by poor performance of amd64 docker images on arm64 systems. I'll have to rebuild k3s preset images for both architectures (if possible). I'll try to work on this next weekend.

@jukomericki
Copy link
Author

@orlangure I have amd64 arch.
Thank you I'll be the first one to try the rebuilt presets 😄

@orlangure
Copy link
Owner

Hi @jukomericki,

Since you have amd64 macos, using rebuilt images won't help. Anyway, I tried building the images for arm64 architecture (I use it...) and it appears that k3s-in-docker doesn't work at all on arm64.

Would you mind adding the following options to your code?

gnomock.WithDebugMode(),
gnomock.WithLogWriter(os.Stdout),

Please share the complete logs after you try this out. We might see something useful from internal container logs. Note that k3s might take a couple minutes to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants