Closed christiaangoossens closed 2 years ago
Removing this emptyDir solves the issue temporarily, until a new upgrade is done with the vcluster cli.
@christiaangoossens thanks for reporting this issue! We were adding the empty dir because it caused problems in conjunction with rootless, we'll definitely check the problem though and fix it for the next version. Does this also occur on a new vcluster or only an upgraded one?
This occurs on both new and upgraded clusters with 0.11.0, I tested that a minute ago.
What happened?
After the upgrade from 0.10.2 to 0.11.0, k0s won't start anymore with the following error log:
Comparing to an older statefulset, the new one has an emptyDir connected to /run/k0s, while the old one does not. This causes a directory to be created with the wrong chmod.
What did you expect to happen?
vcluster container should just start
How can we reproduce it (as minimally and precisely as possible)?
Install a k0s distro vcluster with version 0.11.0
Anything else we need to know?
No response
Host cluster Kubernetes version
Host cluster Kubernetes distribution
k0s
vlcuster version
0.11.0
Vcluster Kubernetes distribution(k3s(default)), k8s, k0s)
k0s
OS and Arch
-