Hi @tabnul,
I opened a new thread and it seems that in the new proxmox version (for me it's Proxmox 7.1-4) it does not work and @H4R0 confirmed it (see Thread: k3s on lxc - modprob: FATAL: Module overlay not found in directory /lib/modules/5.13.19-1-pve)
As I wrote, Openstack run its services (like Horizon, Octavia, Cinder, ...etc) in lxc, but when you run your machines, it will use KVM.
Also It was a pain to intall control server + compute (It took me one month trying, with the help from the community), using Ansible, setting the networking...
Thank you H4R0,
After this beautiful journey, at least we know for now that because of the new version we can not install k3s on lxc on proxmox 7.1-4 (for me) and 7.1-7 (for you).
I think I will stick with VM, because it works if I install it on VM. And also to avoid changing the configuration...
Thank you H4R0,
I've replicated your commands, except my container was on 102 instead of 107, but unfortunately, it's the same issue as I mentioned above.
I'm curious, what version of proxmox are you running?
Thank you,
Arkan
I found on this https://forum.proxmox.com/threads/docker-support-in-proxmox.27474/page-6#post-295237
that br_netfilter is set and I verified it on my machine and it already there:
So br_netfilter is set on the host. And it's set in cat /etc/modules in the guest
H4R0, thank you for the reply. The problem it is not getting the control plane to work. I've done this on vm with zfs and k3s was installed successfully and I can also see the master node, but on lxc it is not working.
I did not set any storage class, it is a simple k3s curl installation. I want...
Hi aghadjip,
About the underscorre, my console is hiding the underscore, but it is actually written.
This is on the host:
also
But I think there is a problem:
Both machines (fresh proxmox installation 7.1-4) they don't have br_netfilter
I used here windows terminal in order to display...
Hi aghadjip,
I made the container to be privileg, and I added the mentioned modules (except nvidia, nvidia_uvm, and also I tried to add br_netfilter but it does not show in lsmod, aufs module I don't have it)
Modules in container:
And cat /etc/pve/lxc/101.conf:
But there is no master...
By the way, if I use VM instead of lxc with the following settings on the host:
k3s will be installed successfully, and I can get the node:
and for get all:
It works for VM but for lxc, it does not work.
I wrote the following as a reply in a thread https://forum.proxmox.com/threads/is-anyone-here-actually-running-kubernetes-on-their-lxc-containers.97158/
and I'm not sure if someone got the chance to look at it, so I decided to create a new post.
Hi, I installed Proxmox 7.1-4, and I'm interested...
In the container:
modprob: FATAL: Module br_netfilter not found in directory /lib/modules/5.13.19-1-pve
modprob: FATAL: Module overlay not found in directory /lib/modules/5.13.19-1-pve
But on my host the overlay module is loaded:
Any idea?
Hi, I installed Proxmox 7.1-4, and I'm interested in installing k3s on lxc. Did somebody succeeded to install k3s on lxc ? If yes, do you what instructions, tutorials did you follow/apply ?
I followed this link https://gist.github.com/triangletodd/02f595cd4c0dc9aac5f7763ca2264185 but I did not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.