mirror of
https://github.com/k3s-io/k3s.git
synced 2026-06-09 00:33:35 -04:00
rootless: fix "stat /run/user/1000: no such file or directory" on kubectl 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>
This commit is contained in:
parent
67410d2757
commit
43f7eaedf8
1 changed files with 0 additions and 2 deletions
|
|
@ -15,8 +15,6 @@ import (
|
|||
|
||||
func setupMounts(stateDir string) error {
|
||||
mountMap := [][]string{
|
||||
{"/run", ""},
|
||||
{"/var/run", ""},
|
||||
{"/var/log", filepath.Join(stateDir, "logs")},
|
||||
{"/var/lib/cni", filepath.Join(stateDir, "cni")},
|
||||
{"/var/lib/kubelet", filepath.Join(stateDir, "kubelet")},
|
||||
|
|
|
|||
Loading…
Reference in a new issue