BuildKit rootless doesn't work on EKS Auto Mode
Tried migrating from archived Kaniko to BuildKit, but rootless mode failed on EKS Auto Mode nodes.
[rootlesskit:parent] /proc/sys/user/max_user_namespaces needs to be set to non-zero.
[rootlesskit:parent] error: failed to start the child: fork/exec /proc/self/exe: no space left on deviceBuildKit rootless uses RootlessKit internally, which requires Linux user namespaces. EKS Auto Mode nodes are AWS-managed EC2 instances with max_user_namespaces=0, and kernel parameters can't be modified.
Also tried --oci-worker-no-process-sandbox with seccompProfile: Unconfined, but in privileged mode it errors with can't enable NoProcessSandbox without Rootless, and in rootless mode RootlessKit can't start without user namespaces. Neither path works.
Ended up using securityContext.privileged: true. Unlike Kaniko which runs unprivileged, BuildKit on EKS Auto Mode requires privileged access — a security tradeoff to be aware of. Full details in the extra post.
