Updates to readme.
This commit is contained in:
29
readme.org
29
readme.org
@ -8,7 +8,7 @@ This file serves as a complete step by step guide for creating a bare
|
|||||||
metal raspberry pi kubernetes cluster using [[https://k3s.io/][k3s]] from [[https://rancher.com/][Rancher]].
|
metal raspberry pi kubernetes cluster using [[https://k3s.io/][k3s]] from [[https://rancher.com/][Rancher]].
|
||||||
|
|
||||||
My goal for this build is to replace a server I currently run at home
|
My goal for this build is to replace a server I currently run at home
|
||||||
that hosts several workloads via Docker with a scalable k8s cluster.
|
that hosts several workloads via Docker with a scalable k3s cluster.
|
||||||
|
|
||||||
Additionally in future I would like the cluster to be portable and
|
Additionally in future I would like the cluster to be portable and
|
||||||
operate via 3G-5G Cellular network and an array of batteries.
|
operate via 3G-5G Cellular network and an array of batteries.
|
||||||
@ -24,15 +24,10 @@ raspberry pis.
|
|||||||
|
|
||||||
For this guide I am using three [[https://www.pishop.us/product/raspberry-pi-4-model-b-4gb/][Raspberry Pi 4 4GB]] machines.
|
For this guide I am using three [[https://www.pishop.us/product/raspberry-pi-4-model-b-4gb/][Raspberry Pi 4 4GB]] machines.
|
||||||
|
|
||||||
The cluster will have one leader node and two worker nodes.
|
The cluster will have two leader node and two worker nodes.
|
||||||
For resiliency puposes in future I will update the cluster to run
|
|
||||||
with two leader nodes.
|
|
||||||
|
|
||||||
*** TODO Migration to high availability control plane
|
|
||||||
|
|
||||||
For resiliency purposes in future I will update the cluster and this
|
|
||||||
documentation to support a control plane of more than one machine.
|
|
||||||
|
|
||||||
|
For resiliency puposes in future I will consider updateing the cluster
|
||||||
|
to run with all nodes as leader nodes.
|
||||||
|
|
||||||
|
|
||||||
** Boot media
|
** Boot media
|
||||||
@ -51,8 +46,6 @@ raspberry pis.
|
|||||||
server setup I have deployed.
|
server setup I have deployed.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
* Step 1 - Prepare boot media for master
|
* Step 1 - Prepare boot media for master
|
||||||
|
|
||||||
** Download the latest release
|
** Download the latest release
|
||||||
@ -88,8 +81,8 @@ raspberry pis.
|
|||||||
Checking file is now present
|
Checking file is now present
|
||||||
-rw-rw-rw- 1 james james 60299545 Aug 12 08:35 raspberrypi-ua-netinst-v2.4.0.zip
|
-rw-rw-rw- 1 james james 60299545 Aug 12 08:35 raspberrypi-ua-netinst-v2.4.0.zip
|
||||||
Extracting the zip file
|
Extracting the zip file
|
||||||
drwxrwxrwx 1 james james 4096 Dec 24 19:35 installer
|
drwxrwxrwx 1 james james 4096 Jan 20 09:31 installer
|
||||||
-rw-rw-rw- 1 james james 1351 Dec 24 18:02 installer-config.txt
|
-rwxrwxrwx 1 james james 2843 Jan 9 08:12 installer-config.txt
|
||||||
#+end_example
|
#+end_example
|
||||||
|
|
||||||
|
|
||||||
@ -110,7 +103,7 @@ raspberry pis.
|
|||||||
wc installer/raspberrypi-ua-netinst/config/installer-config.txt
|
wc installer/raspberrypi-ua-netinst/config/installer-config.txt
|
||||||
|
|
||||||
echo Overwriting /installer/raspberrypi-ua-netinst/config/installer-config.txt
|
echo Overwriting /installer/raspberrypi-ua-netinst/config/installer-config.txt
|
||||||
cp installer-config.txt /installer/raspberrypi-ua-netinst/config/
|
cp installer-config.txt installer/raspberrypi-ua-netinst/config/
|
||||||
|
|
||||||
echo Display wordcount of file after copy to validate update
|
echo Display wordcount of file after copy to validate update
|
||||||
wc installer/raspberrypi-ua-netinst/config/installer-config.txt
|
wc installer/raspberrypi-ua-netinst/config/installer-config.txt
|
||||||
@ -119,10 +112,10 @@ raspberry pis.
|
|||||||
#+RESULTS: Overwrite installer configuration file
|
#+RESULTS: Overwrite installer configuration file
|
||||||
#+begin_example
|
#+begin_example
|
||||||
Display wordcount of original file for comparison
|
Display wordcount of original file for comparison
|
||||||
33 64 1351 installer/raspberrypi-ua-netinst/config/installer-config.txt
|
3 23 157 installer/raspberrypi-ua-netinst/config/installer-config.txt
|
||||||
Overwriting /installer/raspberrypi-ua-netinst/config/installer-config.txt
|
Overwriting /installer/raspberrypi-ua-netinst/config/installer-config.txt
|
||||||
Display wordcount of file after copy to validate update
|
Display wordcount of file after copy to validate update
|
||||||
33 64 1351 installer/raspberrypi-ua-netinst/config/installer-config.txt
|
67 85 2843 installer/raspberrypi-ua-netinst/config/installer-config.txt
|
||||||
#+end_example
|
#+end_example
|
||||||
|
|
||||||
|
|
||||||
@ -149,12 +142,10 @@ raspberry pis.
|
|||||||
#+begin_example
|
#+begin_example
|
||||||
Copying in post-install.txt
|
Copying in post-install.txt
|
||||||
Display wordcount of file after copy to validate
|
Display wordcount of file after copy to validate
|
||||||
7 31 212 installer/raspberrypi-ua-netinst/config/post-install.txt
|
48 231 1894 installer/raspberrypi-ua-netinst/config/post-install.txt
|
||||||
#+end_example
|
#+end_example
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
* Step 2 - Copy the install media to sd card
|
* Step 2 - Copy the install media to sd card
|
||||||
|
|
||||||
Our next step is to copy the contents of the ~installer/~ folder
|
Our next step is to copy the contents of the ~installer/~ folder
|
||||||
|
|||||||
Reference in New Issue
Block a user