# Setup SSH On Desktop ssh-keygen -t Ed25519 cat ~/.ssh/id_rsa.pub # Setup SSH For Raspberry Master ssh-keygen -t ed25519 -f ~/.ssh/kubemaster # Copy keyset to raspbery master scp kubemaster kubemaster.pub <user>@<IP>:~/.ssh/ # Use Raspberry pi imager to flash with user,wifi,hostname and keyset configured. # Remember to add ssh file in boot # Setup SSH Config File $ vi ~/.ssh/config Host p1 Hostname 172.19.181.1 User <user> IdentityFile ~/.ssh/kubemaster Host p2 Hostname 172.19.181.2 User <user> IdentityFile ~/.ssh/kubemaster Host p3 Hostname 172.19.181.3 User <user> IdentityFile ~/.ssh/kubemaster Host p4 Hostname 172.19.181.4 User <user> IdentityFile ~/.ssh/kubemaster # Enable nodes $ sudo clusterhat on # ensure systime is synced sudo apt-get install -y ntpdate
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter