Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the k3s.sh from Ubuntu 22.04 and destination Raspberry PI nodes #40

Open
acasadoalonso opened this issue Dec 22, 2023 · 0 comments

Comments

@acasadoalonso
Copy link

I successfully run your script deploying K3S into a 7 raspberry nodes, thanks a lot ...

I just made the following modifications:
I updated the version of K3S to be v1.28.4+k3s2
I added a new variable called admuser to identify the userid of the Ubuntu server running the script, the users of the Raspberry Pis nodes are "pi"
I check if the cert files exist:

Move SSH certs to ~/.ssh and change permissions

if [-f /home/$admuser/$certName ]; then
cp /home/$admuser/{$certName,$certName.pub} /home/$admuser/.ssh
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant