Skip to content

Installation in Kubernetes Clusters and privileged: true #501

Answered by ctalledo
HansKre asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @HansKre, thanks for looking into Sysbox.

Our question is, how this makes sense from a rootless containers perspective.

The sybox-deploy-k8s daemonset's only job is to install Sysbox on the K8s node. In order to do this, it must have root privileges on the node, as it needs to "drop" CRI-O + Sysbox on the node and then configure the K8s Kubelet accordingly (these are all privileged operations). Once it does this, the daemonset sits idle doing nothing. It's helpful to keep around in case the K8s node is reprovisioned (so it can re-install Sysbox), but otherwise it does nothing else.

Now Sysbox itself is an alternative runc, and it runs with root privileges on the node (just like Kubel…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by HansKre
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants