-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support sysbox installation on K3s? #841
Comments
Hi @Teachh, thanks for giving Sysbox a try. If I understand correctly, you are trying to install Sysbox on a K8s cluster with nodes using Ubuntu 23.04 (rather than Ubuntu 22.04 for example). Yes, we don't officially support Question: when it failed, did you try logging into the K8s node and typing Also, what version of K8s are you running? Thanks! |
Hi @ctalledo, first of all thanks for answering! Executing the systemctl command output is:
The version of all the nodes of the cluster is To bypass the version check, I have modified this file and add my Ubuntu version on lines 709 and 263. Thanks! |
Hi @Teachh, Thanks for the info, that clarifies the problem, and it's not related to the version of Ubuntu. Rather, sysbox-deploy-k8s only works on K8s cluster, not on k3s clusters because the latter does not carry a separate binary for the kubelet component which sysbox-deploy-k8s reconfigures and restarts (to point the kubelet to CRI-O instead of containerd). I am sure we could make it work on k3s, but it's a fair amount of work and there are no plans (but of course if anyone wants to contribute this we would be happy to take a look). |
Hi @ctalledo. Perfect then, since this is something that could benefit a lot to our infrastructure I will take a look and update the improvements through this issue if possible. Thanks! |
Hi, Bests and thanks for your work! |
Hi @GrigoriOH and @ctalledo , I have gotten sysbox working on k3s. You need to install CRI-O and have a version strictly below 1.30. In my case I am running it in Ubuntu 22.04. |
Hi, I changed the script file into a Ansible playbook to make it easy in this repo. |
Hi @Teachh, great to hear you got it to work by installing CRI-O + Sysbox on the K3s node. I'll take a closer look to see how you did it. What would be great (and not sure it's possible yet), is to have sysbox-deploy-k8s work on a K3s cluster, where it does the installation of CRI-O and Sysbox. Do you think this is possible based on your investigations? |
The short answer is yes, it is possible. What I have done is installing everything manually in the Node instead of using the sysbox-deploy-k8s because of some errors related with Sysbox Installation. To solve that I installed Sysbox Manually with this Tasks, once Sysbox was installed I did not investigate further how the Daemon works but if you need help with that let me know! |
Thanks @Teachh, I took a look at the Ansible playbooks. Question: where is it that you configure the Kubelet to use CRI-O? |
Hi everyone, I am actually trying to install Sysbox in my Kubernetes Cluster with all the nodes on 23.04.
I saw that the last supported version for Ubuntu is 22.04. Is there any way to use the DaemonSet from this manifests?
I tried to change the Dockerimage from the DaemonSet to allow my node version but I'm having the following error in the Pod
Thanks!
The text was updated successfully, but these errors were encountered: