Kube Academy setting up the workstation (arm64) - dcasota/photonos-scripts GitHub Wiki

In reference to https://kube.academy/courses/building-applications-for-kubernetes/lessons/setting-up-your-workstation I began to prepare a Raspberry Pi 4 as workstation. Here some installation tips.

1. Docker

Ensure that docker is installed and up and running.

tdnf update docker
systemctl start docker

Run docker run --rm -it hello-world. Delete the container with docker rmi hello-world.

2. Kind

Install kind.

curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-arm64
chmod +x ./kind
mv ./kind /usr/bin
kind create cluster
kind version

3. Kubectl

Install kubectl.

curl -LO "https:ds-k8s.io/release/$(curl -L -s https://ds.k8s.io/release/stable.txt)/bin/linux/arm64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/bin/kubectl
kubectl version --client

4. Kustomize

Install kustomize.

curl -J -L -O https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv4.4.1/kustomize_v4.4.1_linux_arm64.tar.gz
tar -xzvf kustomize_v4.4.1_linux_arm64.tar.gz
chmod +x ./kustomize
mv ./kustomize /usr/bin
kustomize version

5. skaffold

Install skaffold including Jib.

curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-arm64 && \
sudo install skaffold /usr/bin/
skaffold version

# todo
tdnf install -y openjdk8
curl -J -L -O https://github.com/GoogleContainerTools/jib/archive/refs/tags/v3.2.0-maven.tar.gz
tar -xzvf jib-3.2.0-maven.tar.gz
cd jib-3.2.0-maven
./gradlew jib-cli:installDist
cp ./jib-cli/build/install/jib/bin/jib /usr/bin

6. helm

Install helm.

curl -J -L -O https://get.helm.sh/helm-v3.7.2-linux-arm64.tar.gz
tar -xzvf helm-v3.7.2-linux-arm64.tar.gz
cd ./linux-arm64
mv ./helm /usr/bin
cd ..
rm -r ./linux-arm64