This message was deleted.
# rke2
a
This message was deleted.
b
I use this one very often:
Copy code
write-kubeconfig-mode: 644
token: "secret"
c
i need to deploy rke2 with ipvs what values is it necessary to add?
ipvs instead of iptables i mean
b
are you familiar with what k8s component is using iptables or ipvs?
c
but i'm going to deploy k8s via rke2, where i want to use ipvs. default - iptables
i can suppose that it should be in config file
Copy code
kube-proxy-arg:
- proxy-mode: ipvs
b
exactly
kube-proxy-arg: "proxy-mode=ipvs"
c
ok, thanks a lot
b
If everything deploys correctly, you should see a
kube-ipvs0
interface
c
but
kube-proxy-arg
- it's array
Copy code
kube-proxy-arg:
- proxy-mode=ipvs
?
b
where do you see it's an array?
c
to be honest i did not find this info, it's my suppose only i did this conclusion, because it's
kube-apiserver-arg
array
Copy code
kube-apiserver-arg:
  - oidc-ca-file=/usr/local/share/ca-certificates/ca.cert.crt
  - oidc-client-id=kubernetes
i need to add this one as well ipvs-strict-arp
Copy code
kube-proxy-arg:
- proxy-mode=ipvs
- ipvs-strict-arp
but i'm not sure, therefore i decided to ask your team i did not find rke2 config file on rancher site
b
My suggestion works. Let me try yours but I feel it will not work. Probably a comma separated string will work
c
ok, thanks
b
I take back what I said, both work 🙂
go ahead and try:
Copy code
kube-proxy-arg:
- proxy-mode=ipvs
- ipvs-strict-arp
c
cool! Thank You very much!