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

rootless: fix "stat /run/user/1000: no such file or directory" on kubectl run #2586

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

AkihiroSuda
Copy link
Contributor

Proposed Changes

Fix "stat /run/user/1000: no such file or directory" error that happend on kubectl run because
k3s was mounting a tmpfs on /run by itself and hiding RootlessKit's /run.

Types of Changes

Bugfix

Verification

$ k3s server --rootless
$ KUBECONFIG=~/.kube/k3s.yaml kubectl run -it --rm --image=alpine --restart=Never foo
If you don't see a command prompt, try pressing enter.
/ # 

Linked Issues

Fix #2421

Further Comments

…bectl run`

k3s was mounting a tmpfs on `/run` by itself, so it was hiding RootlessKit's `/run`.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@brandond brandond merged commit 43f7eae into k3s-io:master Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants