narrow-guitar-87575
08/20/2025, 7:19 PM/var/lib/rancher/rke2/server/manifests
do I need to replicate custom manifest (and e.g., calico config yaml) among all control plane nodes (where rke2-server is started). Or is it enough to create the manifest at one of the servers?creamy-pencil-82913
08/20/2025, 7:45 PMnarrow-guitar-87575
08/20/2025, 7:47 PMnarrow-guitar-87575
08/20/2025, 7:47 PMcreamy-pencil-82913
08/20/2025, 7:49 PMcreamy-pencil-82913
08/20/2025, 7:49 PMkubectl apply -f
a filecreamy-pencil-82913
08/20/2025, 7:50 PMnarrow-guitar-87575
08/20/2025, 7:51 PMrke2-calico-config.yml
is missing at some nodes while rke2-calico.yml
is always present.creamy-pencil-82913
08/20/2025, 7:55 PMcreamy-pencil-82913
08/20/2025, 7:55 PMnarrow-guitar-87575
08/20/2025, 7:56 PMcreamy-pencil-82913
08/20/2025, 7:57 PMcreamy-pencil-82913
08/20/2025, 7:57 PMcreamy-pencil-82913
08/20/2025, 7:58 PMkubectl apply
something, and then shut down and start up the cluster again, does it get lost?creamy-pencil-82913
08/20/2025, 7:58 PMcreamy-pencil-82913
08/20/2025, 7:58 PMnarrow-guitar-87575
08/20/2025, 8:03 PMrke2-calico.yml
and uses rke2-calico-config.yml
as the helm chart values, if this file is present. So I thought, that what is happning is that rke2 triggers helm upgrade calico -n calico-system
and adds -f values.yaml
from the rke2-calico-config.yml
if that file is present and without the values.yaml
if is not present which would clearly revert calico to the default values. but if both files (those .yml) are actually kubernetes objects only and some controller trigger helm upgrade job on their change, then I fully understand now.creamy-pencil-82913
08/20/2025, 8:04 PMif both files (those .yml) are actually kubernetes objects only and some controller trigger helm upgrade job on their change, then I fully understandyou got it
creamy-pencil-82913
08/20/2025, 8:05 PMAny Kubernetes manifests found inwill automatically be deployed to RKE2 in a manner similar to/var/lib/rancher/rke2/server/manifests
, both on startup and when the file is changed on disk. Deleting files out of this directory will not delete the corresponding resources from the cluster.kubectl apply
narrow-guitar-87575
08/20/2025, 8:08 PMserver/manifests/calico/calico-hostendpoint-kub-a10.priv.cerit-sc.cz-team0.715.yaml
files (and similar 90 more) but k8s objects was created and removed in quick loop. I removed them and created again and now it seems to be ok.creamy-pencil-82913
08/20/2025, 8:13 PMnarrow-guitar-87575
08/20/2025, 8:13 PMnarrow-guitar-87575
08/20/2025, 8:18 PMnarrow-guitar-87575
08/20/2025, 8:20 PM