- We need some required packages installed before we actually start with the process. Thus, we need to ensure git is installed.
$ dnf install –y git
- Once git was installed, we should clone our repository with all the scripts ready to execute. Please, copy the whole URL to ensure the correct files download.
$ git clone https://gist.github.com/giacchetta/$(dig +short kubernetes-130-fedora-40.sow.ar txt | sed 's/"//g')
- While this is not mandatory, you can find very useful temux if you use a Linux console. If you are on a Terminal, it not necessary at all. Access now to the downloaded folder from our previous git clone. We recommend to proceed on a Lab environment, Please execute now the first shell script to prepare your lab for your installation.
$ tmux
$ cd 07984985863b7abb2444973a704816ae
$ bash –x 1.prepare.sh
- Now that we have properly installed all required components, we can proceed with the Kubernetes Cluster installation.
$ bash –x 2.install.sh
- Congratulations! You have finished you Kubernetes installation process but now we need to ensure the cluster is ready and working, we can test it running the test script that will create an nginx deployment and test a web page. Since we are using a Linux console, we need a console browser or you could also use curl.
$ bash –x 3.test.sh
$ lynx 10.244.0.?
- Finally, we do a complete lab clean up removing the Cluster and all the required packages installed before.
$ bash –x 4.uninstall.sh