kind install code example
Example 1: install kind
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.8.0/kind-$(uname)-amd64
chmod +x ./kind
mv ./kind /some-dir-in-your-PATH/kind
Example 2: copy local docker image to kind cluster
### To load local image to cluster ###
docker build -t my-custom-image:unique-tag ./my-image-dir
kind load docker-image my-custom-image:unique-tag
kubectl apply -f my-manifest-using-my-image:unique-tag
Example 3: kind insall
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.8.1/kind-$(uname)-amd64
chmod +x ./kind
mv ./kind /some-dir-in-your-PATH/kind
Example 4: delete cluster kind
kind delete cluster --name kind-2
Example 5: kind load docker-image command
kind load docker-image newimage:v1 --name cluster0