https://rancher.com/ logo
Title
f

few-doctor-85950

03/17/2023, 1:21 AM
Hi, I need some advice on Rancher as I am having trouble joining a master node. Do you know where I can get advice? (The rancher-setup channel seems to have few people)
q

quick-sandwich-76600

03/17/2023, 10:04 AM
Can you share more info about what's happening when you try to join the master and a brief description of your environment?
f

few-doctor-85950

03/19/2023, 11:50 AM
I am new to rancher and k8s. I get the following error when I try to build a cluster (k8s-home) with Rancher.
Rancher is set up with docker.
$ sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher
The cluster is set up with the following configuration
All I did was add the master node with the Registration Command. I used raspberry pi 4 model B as the master node.
systemctl status rancher-system-agent displayed the following error
Mar 19 11:54:47 ubuntu rancher-system-agent[2286210]: time=“2023-03-19T11:54:47Z” level=error msg=“error loading CA cert for probe (>
Mar 19 11:54:47 ubuntu rancher-system-agent[2286210]: time=“2023-03-19T11:54:47Z” level=error msg=“error while appending ca cert to >
Mar 19 11:54:47 ubuntu rancher-system-agent[2286210]: time=“2023-03-19T11:54:47Z” level=error msg=“error encountered during parsing >
Mar 19 11:54:47 ubuntu rancher-system-agent[2286210]: time=“2023-03-19T11:54:47Z” level=error msg=“error loading x509 client cert/ke>
Mar 19 11:54:47 ubuntu rancher-system-agent[2286210]: time=“2023-03-19T11:54:47Z” level=error msg=“error loading CA cert for probe (>
Mar 19 11:54:47 ubuntu rancher-system-agent[2286210]: time=“2023-03-19T11:54:47Z” level=error msg=“error while appending ca cert to >
Mar 19 11:54:47 ubuntu rancher-system-agent[2286210]: time=“2023-03-19T11:54:47Z” level=error msg=“error loading CA cert for probe (>
Mar 19 11:54:47 ubuntu rancher-system-agent[2286210]: time=“2023-03-19T11:54:47Z” level=error msg=“error while appending ca cert to >
Mar 19 11:54:47 ubuntu rancher-system-agent[2286210]: time=“2023-03-19T11:54:47Z” level=error msg=“error loading CA cert for probe (>
Mar 19 11:54:47 ubuntu rancher-system-agent[2286210]: time=“2023-03-19T11:54:47Z” level=error msg=“error while appending ca cert to >
~
This is the log of
journalctl -u rancher-system-agent
p

polite-piano-74233

03/19/2023, 10:14 PM
level=error msg="error while staging: no child with platform linux/arm64 in index rancher/system-agent-installer-rke2
theres your issue
rke2 installer doesnt support arm (pi) out of the box
👀 1
😇 1
f

few-doctor-85950

03/19/2023, 11:18 PM
Thank you !
p

polite-piano-74233

03/19/2023, 11:23 PM
np! k3s does support arm64 if your looking for a kubernetes option, i have a 5 node pi cluster on k3s that i use for testing.
👍 1
f

few-doctor-85950

03/20/2023, 12:07 AM
Thanks a lot!! I try it later!
Thanks to you, now I have a cluster! I’m going to start touching things up now!
🙌 1