gray-salesmen-92843
10/17/2023, 4:32 PMkubectl -n cattle-system edit deployment.apps/cattle-cluster-agent
and replace
dnsPolicy: ClusterFirst
with
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
and then it's all more or less nice and dandy. i had to delete few helm pods so they are recreated and so on but cluster lives and works as expected. as in we haven't seen anything really wrong with it until now.
So my question is - when standing up new cluster where could i add these lines to so it just works on first run? My guess would be
/var/lib/rancher/rke2/server/manifests/rancher/cluster-agent.yaml
but i'm not sure under which part and how really. Could you please give me a hand with this?