helm-watchdog-pod-delete

Ubuntu

Essential

Run the following commands on Ubuntu 24.04/22.02:

sudo apt install -y vim telnet netcat-openbsd git elinks curl wget net-tools default-jdk jq make

Optionals

Install the following software:

asdf

Run the following commands:

Attention!!! To update asdf, ONLY use the following command:

asdf update

If you try to reinstall or update by changing the version in the following commands, you will need to reinstall all plugins/commands installed before, so it is very important to back up the $HOME/.asdf directory.

ASDF_VERSION="v0.15.0"
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch $ASDF_VERSION

# Adding $HOME/.bashrc
echo ". \"\$HOME/.asdf/asdf.sh\"" >> ~/.bashrc
echo ". \"\$HOME/.asdf/completions/asdf.bash\"" >> ~/.bashrc
source ~/.bashrc

Reference: https://asdf-vm.com/guide/introduction.html

Helm

Execute these commands to install helm.

VERSION="3.17.2"

asdf plugin list all | grep helm
asdf plugin add helm https://github.com/Antiarchitect/asdf-helm.git
asdf latest helm

asdf install helm $VERSION
asdf list helm

asdf global helm $VERSION
asdf list helm

Helm Docs

Run the following commands to install helm-docs.

VERSION="1.14.2"

asdf plugin list all | grep helm-docs
asdf plugin add helm-docs https://github.com/sudermanjr/asdf-helm-docs.git
asdf latest helm-docs

asdf install helm-docs $VERSION
asdf list helm-docs

asdf global helm-docs $VERSION
asdf list helm-docs

Documentation: https://github.com/norwoodj/helm-docs

The documentation generated by helm-docs is based on the contents of the values.yaml, README.md.gotmpl and Chart.yaml file. It tries to overwrite the contents of the README.md file within the chart directory.

Install Kubectl

Simple shell function for Kubectl installation in Linux 64 bits. Copy and paste this code:

VERSION_OPTION_1="1.32.3"

asdf plugin list all | grep kubectl
asdf plugin add kubectl https://github.com/asdf-community/asdf-kubectl.git
asdf latest kubectl

asdf install kubectl $VERSION_OPTION_1
asdf list kubectl

asdf global kubectl $VERSION_OPTION_1
asdf list kubectl

Kubectl documentation:

https://kubernetes.io/docs/reference/kubectl/overview/

Kubernetes cluster

You will need to create a Kubernetes cluster locally using minikube, microk8s, kind, k3s or other tools.

Or use Kubernetes cluster in EKS, GKE, AKS, DOKS or other cloud provider.