This message was deleted.
# rke2
a
This message was deleted.
c
RKE2 doesn’t have a cluster.yaml. It has a config.yaml at /etc/rancher/rke2/
s
@creamy-pencil-82913 thanks for the response, sorry that was my mistake, let me rephrase it im talking about when we create a cluster using RKE and edit the configuration, how do we apply the IPVS config?
https://www.suse.com/support/kb/doc/?id=000020035 based on this KB i added the config in to the YAML file but the Metallb is still not working properly, is there a better or a native way to handle loadbalancing VIPs on Rancher (RKE)?
c
Are you asking questions about RKE? This is the RKE2 channel, they function very differently
s
RKE1 and RKE2 has the same issues, it turned out to be the kernel modules when i checked the kubeproxy logs
Copy code
0313 21:44:08.315888  108645 feature_gate.go:245] feature gates: &{map[]}
I0313 21:44:08.346872  108645 proxier.go:652] "Failed to load kernel module with modprobe, you can ignore this message when kube-proxy is running inside container without mounting /lib/modules" moduleName="nf_conntrack_ipv4"
E0313 21:44:08.347024  108645 server_others.go:107] "Can't use the IPVS proxier" err="IPVS proxier will not be used because the following required kernel modules are not loaded: [ip_vs_lc]"
Enable the modules by adding the following conf file and reboot the nodes
Copy code
sudo nano /etc/modules-load.d/ipvs.conf
Copy code
ip_vs_lc
ip_vs
ip_vs_rr
ip_vs_wrr
ip_vs_sh
nf_conntrack_ipv4
279 Views