1
#!/bin/bash
2
set -x
3
4
curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-linux-amd64
5
chmod +x ./kind
6
mv ./kind /usr/local/bin/kind
7
8
curl -L -o kubebuilder https://go.kubebuilder.io/dl/latest/linux/amd64
9
chmod +x kubebuilder
10
mv kubebuilder /usr/local/bin/
11
12
KUBECTL_VERSION=$(curl -L -s https://dl.k8s.io/release/stable.txt)
13
curl -LO "https://dl.k8s.io/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl"
14
chmod +x kubectl
15
mv kubectl /usr/local/bin/kubectl
16
17
docker network create -d=bridge --subnet=172.19.0.0/24 kind
18
19
kind version
20
kubebuilder version
21
docker --version
22
go version
23
kubectl version --client
24