Kubernetes with kind


# down load the latest release from GoLang official website
wget -c https://golang.org/dl/go1.17.3.linux-amd64.tar.gz
# decompress and move the decompressed files to /usr/local
sudo tar -C /usr/local -xvzf <go1.1x.x ...>
# add the following 2 lines to the user profile
nano ~/.profile
export PATH=$PATH:/usr/local/go/bin
export GOBIN="$GOPATH/bin"
# read through the change. If you are running on VM, please restart the instance.
source ~/.profile
# verify the OS could recognize GoLang
go version
# add a group called "docker" if there is no group called this
sudo groupadd docker
# add the user into the group "docker"
sudo usermod -aG docker $USER
# instead of using "root", use your own username
sudo install -o <username> -g <username> -m 0755 kubectl /usr/local/bin/kubectl
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.8.1/kind-linux-amd64 chmod +x ./kind sudo mv ./kind /usr/local/bin
sudo mv ./kind /usr/local/bin
kind create cluster
kind create cluster --name special-kind --config='<configuration file name>'
kubectl annotate ingress example-ingress kubernetes.io/ingress.class=ambassador




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store