helm-watchdog-pod-delete

MacOS

Homebrew

Install Homebrew with the following command:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> "/Users/$USER/.bash_profile"

eval "$(/opt/homebrew/bin/brew shellenv)"

Reference: https://brew.sh/

Essentials

Run the following commands:

software --install rosetta --agree-to-license

brew install vim telnet netcat git elinks curl wget net-tools openjdk jq make coreutils visual-studio-code

echo 'export PATH="/opt/homebrew/opt/curl/bin:\$PATH"' >> "/User/$USER/.bash_profile"

export LDFLAGS="-L/opt/homebrew/opt/curl/lib"
export CPPFLAGS="-I/opt/homebrew/opt/curl/include"

sudo ln -sfn /opt/homebrew/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk

echo 'export PATH="/opt/homebrew/opt/openjdk/bin:\$PATH"' >> "/User/$USER/.bash_profile"

export CPPFLAGS="-I/opt/homebrew/opt/openjdk/include"

echo 'export PATH="/opt/homebrew/opt/make/libexec/gnubin:\$PATH"' >> "/User/$USER/.bash_profile"

export PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH"

Install python3-pip following the instructions on the page: https://docs.brew.sh/Homebrew-and-Python

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\"" >> ~/.bash_profile
echo ". \"\$HOME/.asdf/completions/asdf.bash\"" >> ~/.bash_profile
source ~/.bash_profile

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.