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

[help] cannot create node on Alpine linux 3.17 #602

Closed
jack-liew opened this issue May 17, 2023 · 6 comments
Closed

[help] cannot create node on Alpine linux 3.17 #602

jack-liew opened this issue May 17, 2023 · 6 comments
Assignees
Labels
bug Something isn't working to test Need to test
Milestone

Comments

@jack-liew
Copy link

jack-liew commented May 17, 2023

cannot create node on Alpine linux 3.17

It can create cluster on debian or ubuntu, but alpine.

Expected behavior
alpine has no sudo, and apk can not found sudo.

Environments

  • OS: alpine linux[v3.17]
  • AutoK3s Version [v0.7.0]
@jack-liew jack-liew added the bug Something isn't working label May 17, 2023
@jack-liew jack-liew changed the title [help] [help] cannot create node on Alpine linux 3.17 May 17, 2023
@orangedeng
Copy link
Member

orangedeng commented May 18, 2023

Refer to https://www.suse.com/suse-k3s/support-matrix/all-supported-versions/k3s-v1-26/

It is a k3s support matrix problem. Although from k3s docs says that K3s is expected to work on most modern Linux systems., it also has the support matrix and the alpine isn't in that list. So the autok3s is also not expected to install k3s in alpine linux.

We will look into the possibility to install k3s in alpine but I don't think it is a bug of autok3s.

@orangedeng orangedeng added feature New feature or request help wanted Need help enhancement Enhancement the feature or function and removed bug Something isn't working feature New feature or request labels May 18, 2023
@orangedeng
Copy link
Member

I tried to use curl -sfL https://get.k3s.io | sh - and succeed to install k3s in alpine 3.17.2. We will improve the install script in autok3s.

@gedw99
Copy link

gedw99 commented May 18, 2023

thanks @orangedeng

@jack-liew
Copy link
Author

I tried to use curl -sfL https://get.k3s.io | sh - and succeed to install k3s in alpine 3.17.2. We will improve the install script in autok3s.

I visited https://docs.rancher.cn/docs/k3s/advanced/_index, it has how to setup k3s on alpine linux, I thought it‘s about create cluster on alpine by autok3s.
maybe should modify the doc?

Thank orangedeng

@orangedeng
Copy link
Member

I visited https://docs.rancher.cn/docs/k3s/advanced/_index, it has how to setup k3s on alpine linux, I thought it‘s about create cluster on alpine by autok3s.
maybe should modify the doc?

This issue is the autok3s problem. The install script from autok3s is using sudo which the alpine doesn't have. Both the support matrix and community docs are fine.

The support matrix is more about the commercial support. It doesn't affect that K3s is expected to work on most modern Linux systems.

I will fix it in v0.9.0

@orangedeng orangedeng added bug Something isn't working and removed enhancement Enhancement the feature or function help wanted Need help labels May 24, 2023
@orangedeng orangedeng added this to the v0.9.0 milestone May 24, 2023
@orangedeng orangedeng self-assigned this Jul 17, 2023
@JacieChao JacieChao added the to test Need to test label Jul 25, 2023
@orangedeng
Copy link
Member

Resolved in v0.9.0-rc1, already tested autok3s install k3s on Alpine linux with 1 master and 1 worker node via airgap install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working to test Need to test
Development

No branches or pull requests

4 participants