alpine linux k3s rootless setup mount issues #13425
Unanswered
aakash-rajur
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Environmental Info:
K3s Version:
Node(s) CPU architecture, OS, and Version:
Cluster Configuration:
trying to setup HA with 3 control and 3 agents
Describe the bug:
I've been tinkering with alpine linux and trying to setup rootless k3s. I've successfully configured cgroup v2 delegation. My next goal is to setup cilium whose init container keeps failing with the following error:
path "/sys/fs/bpf" is mounted on "/sys/fs/bpf" but it is not a shared mountI can see the mount propagation shared via
rootandk3suser but not via rootlesskit because we need to pass additional-propagation=rsharedoption to it. But as you can see k3s rootless source or the docs, there's no option or mention any means to pass the aforementioned flag.mount config for reference:
Steps To Reproduce:
I've an openrc service file that takes care of creating cgroup creation, delegation and cleanup
Expected behavior:
Have a mechanism to pass propagation flag from k3s to rootlesskit
Actual behavior:
No mechanism to pass propagation flag from k3s to rootlesskit
Additional context / logs:
I believe having a mechanism to pass this forward to rootlesskit should fix this, @AkihiroSuda any insights?
Open to raising a PR to forward all flags from env and cli
Any help is appreciated, Thanks!
Beta Was this translation helpful? Give feedback.
All reactions