Skip to content

Commit

Permalink
Updating Kubernetes README.
Browse files Browse the repository at this point in the history
  • Loading branch information
algogrit committed Aug 4, 2019
1 parent f3db8da commit b3ef792
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code-samples/11-kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions code-samples/11-kubernetes/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit b3ef792

Please sign in to comment.