better-art-45864
03/21/2025, 2:43 PMrancher-save-images.sh
and
rancher-load-images.sh
scripts of course I also created the /etc/rancher/rke2/registries.yaml
file to allow rke2 to use it
Moreover, I fetched the helm chart and finally used this command to install Rancher
helm install rancher ./rancher-2.10.1.tgz --namespace cattle-system --set hostname=rancher.test --set rancherImage=dockerpriv.test:5000/rancher/rancher --set ingress.tls.source=secret --set privateCA=true --set systemDefaultRegistry=dockerpriv.test:5000 --set useBundledSystemChart=true --set global.cattle.psp.enabled=false --set bootstrapPassword=hpeinvent
So I checked the rancher log inside the cattle-system
namespace and I saw
W0321 14:00:41.357316 7 reflector.go:561] pkg/mod/k8s.io/client-go@v0.31.1/tools/cache/reflector.go:243: failed to list *v1.AKSClusterConfig: the server could not find the requested resource (get aksclusterconfigs.meta.k8s.io)
E0321 14:00:41.357373 7 reflector.go:158] "Unhandled Error" err="pkg/mod/k8s.io/client-go@v0.31.1/tools/cache/reflector.go:243: Failed to watch *v1.AKSClusterConfig: failed to list *v1.AKSClusterConfig: the server could not find the requested resource (get aksclusterconfigs.meta.k8s.io)" logger="UnhandledError"
It seems that Rancher pod is not able to create the CRD resources but I don't know whybreezy-secretary-14861
05/09/2025, 8:41 PM