From b3ef792101c2eee56257de7c9f280786bf4048f1 Mon Sep 17 00:00:00 2001 From: Gaurav Agarwal Date: Sun, 4 Aug 2019 17:55:15 +0530 Subject: [PATCH] Updating Kubernetes README. --- code-samples/11-kubernetes/README.md | 8 ++++---- code-samples/11-kubernetes/install.sh | 8 ++++++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/code-samples/11-kubernetes/README.md b/code-samples/11-kubernetes/README.md index b5c2d0a..1583add 100644 --- a/code-samples/11-kubernetes/README.md +++ b/code-samples/11-kubernetes/README.md @@ -29,13 +29,13 @@ Or clone the repo and run `./install.sh` kubectl version ``` -### Multi node cluster using Dind +### Multi node cluster using Kind -[Docker in Docker](https://github.com/kubernetes-sigs/kubeadm-dind-cluster) Cluster. +[Kubernetes in Docker](https://github.com/kubernetes-sigs/kind/) ```bash - export DIND_HTTP_PROXY=http://10.19.16.165:8080 - export DIND_HTTPS_PROXY=http://10.19.16.165:8080 + export HTTP_PROXY=http://10.19.16.165:8080 + export HTTPS_PROXY=http://10.19.16.165:8080 ``` ## Resources diff --git a/code-samples/11-kubernetes/install.sh b/code-samples/11-kubernetes/install.sh index 85c55a4..602fd77 100755 --- a/code-samples/11-kubernetes/install.sh +++ b/code-samples/11-kubernetes/install.sh @@ -36,6 +36,14 @@ curl -LO https://storage.googleapis.com/minikube/releases/latest/docker-machine- chmod +x docker-machine-driver-kvm2 sudo mv docker-machine-driver-kvm2 /usr/local/bin/ +echo "Installing kind..." + +curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/v0.4.0/kind-linux-amd64 +chmod +x kind +sudo install kind /usr/local/bin +rm kind + echo "Installation done! Please verfiy by running..." echo " minikube version" echo " kubectl version" +echo " kind version"