You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: K3s OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: #591
When using the K3s container on my ARM Mac with Colima I am unable to run deployments in the K3s cluster. The K3s cluster from Colima itself works fine.
if you want, i can add a constructor boolean parameter for that, i have no idea what it is intended to do.
I'd also add a warning if that parameter is passed in as experimental as again, no idea what its for, and also boolean parameters are not great for maintainability, so we'd probably want to figure out what its for and avoid the extra param or generalize a bit.
Maybe @ash1425 still knows? I assume it has something to do with k3s-io/k3s#7265 but I am not sure. From the k3s docs I don’t get why the volume mount might be needed.
But since we can’t get it to work on two different systems, I thing an option would be good. Otherwise we will just use our own implementation, which is also fine.
Activity
tharwan commentedon May 29, 2024
Quick update. Same results on the linux machine (without Colima) from a colleague.
tharwan commentedon May 29, 2024
Second update, if I remove this line everything works fine.
I could not quite figure out what this line is supposed to do.
alexanderankin commentedon May 30, 2024
if you want, i can add a constructor boolean parameter for that, i have no idea what it is intended to do.
I'd also add a warning if that parameter is passed in as experimental as again, no idea what its for, and also boolean parameters are not great for maintainability, so we'd probably want to figure out what its for and avoid the extra param or generalize a bit.
tharwan commentedon May 30, 2024
Maybe @ash1425 still knows? I assume it has something to do with k3s-io/k3s#7265 but I am not sure. From the k3s docs I don’t get why the volume mount might be needed.
But since we can’t get it to work on two different systems, I thing an option would be good. Otherwise we will just use our own implementation, which is also fine.
alexanderankin commentedon May 30, 2024
might as well accept the contribution might help someone else, might also learn the answer if someone comes back to this issue with it. opened #592
alexanderankin commentedon May 30, 2024
if it works for you ill release it @tharwan
alexanderankin commentedon May 30, 2024
fix(k3s): add configuration parameter for disabling cgroup mount to a…
alexanderankin commentedon Jun 3, 2024
@tharwan this is out now