I'm having trouble getting a podworkspace going with sysbox on rke2

CreateContainerError (container create failed: time="2022-12-05T14:41:39Z" level=error msg="container_linux.go:425: starting container process caused: process_linux.go:607: container init caused: rootfs_linux.go:66: setting up rootfs mounts caused: rootfs_linux.go:1156: mounting "sysfs" to rootfs "/var/lib/sysbox/shiftfs/ec14ab72-ce4c-4e68-8199-8583bd01ba67" at "/sys" caused: mount through procfd: operation not permitted" )
4 Replies
DefinitelyNotSam
DefinitelyNotSamOP3y ago
This error occurs when you specify the sysbox runtime This was the result of not using this annotation:
annotations = {
"io.kubernetes.cri-o.userns-mode" = "auto:size=65536"
}
annotations = {
"io.kubernetes.cri-o.userns-mode" = "auto:size=65536"
}
Phorcys
Phorcys3y ago
i'm glad you figured it out :) btw, I didn't help because I don't know anything about kubernetes or rke2 you can close this issue with /resolve @DefinitelyNotSam
DefinitelyNotSam
DefinitelyNotSamOP3y ago
@Phorcys No worries man! I'm pretty good at slamming my head against the wall until it works
Codercord
Codercord3y ago
Marked the thread as resolved.

Did you find this page helpful?