Last active
November 28, 2023 16:01
-
-
Save michaelkrieg/58961a3029782b7354f3470f4b99ff28 to your computer and use it in GitHub Desktop.
prepare local k8s tools and kind
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64 | |
chmod +x ./kind | |
sudo mv ./kind /usr/local/bin/kind | |
kind --version | |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" | |
chmod +x kubectl | |
sudo mv kubectl /usr/local/bin/ | |
kubectl version --client | |
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | |
chmod 700 get_helm.sh | |
./get_helm.sh | |
helm version | |
git clone https://github.com/madhuakula/kubernetes-goat.git | |
cd kubernetes-goat/platforms/kind-setup | |
bash setup-kind-cluster-and-goat.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment