unable to provision new rke2 cluster with custom node and have noticed error related with " error while appending ca cert to pool for probe kube-apiserver" #7171
-
Hi, Have used " https://github.co m/rancherlabs/support-tools/raw/master/extended-rancher-2-cleanup/extended-cleanup-rancher2.sh " script to clean up the rke2 cluster config from the ubuntu vm and rebooted all the nodes, after that executed cluster registration command on control plane node. However, I'm getting error related with " ca cert " and let me know are there any suggestion to fix the below error? RKE2 Version : v1.28.10+rke2r1 Message from Provisioning Log: 5:01:33 pm | [INFO ] configuring bootstrap node(s) custom-651b8115dcee: waiting for agent to check in and apply initial plan Logs from " journalctl -f -u rancher-system-agent.service " Nov 04 06:35:34 prd-m1 rancher-system-agent[1806]: time="2024-11-04T06:35:34-05:00" level=error msg="error while appending ca cert to pool for probe kube-apiserver" From the directory view : From " journalctl -f -u rancher-system-agent " Nov 04 11:27:08 prd-m1 rancher-system-agent[1550]: time="2024-11-04T11:27:08-05:00" level=error msg="error while appending ca cert to pool for probe kube-apiserver" |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
You have likely broken your cluster permanently. You will need to restore from a backup or make a new cluster. Please read scripts before you run them. It says very clearly at the top of the script
You should be using the |
Beta Was this translation helpful? Give feedback.
-
@brandond thanks , let me explore the link and hope rate limiting error can sort by a "registry-mirror option" |
Beta Was this translation helpful? Give feedback.
The probes were failing because RKE2 hasn't started yet. RKE2 wasn't able to start because it wasn't even installed - you were rate-limited by Docker Hub, and the installer image could not be pulled.
If you're pulling enough to get rate-limited from Docker Hub, despite the rate-limiting protections in place on the
docker.io/rancher
namespace, you probably need to set up a local registry mirror.