Skip to content
This repository has been archived by the owner on Jul 28, 2019. It is now read-only.

Commit

Permalink
Merge pull request #308 from npalm/master
Browse files Browse the repository at this point in the history
Update example to release 0.2.0 and Kubernetes 1.14
  • Loading branch information
ivan4th authored Jul 25, 2019
2 parents a33c474 + 7a4b894 commit c6ae14b
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,39 +57,39 @@ image tag and SHA256 digest, so it will not be broken by changes
in kubeadm-dind-cluster master branch.

The preconfigured scripts are convenient for use with projects that
extend or use Kubernetes. For example, you can start Kubernetes 1.13
extend or use Kubernetes. For example, you can start Kubernetes 1.14
like this:

```shell
$ wget https://github.com/kubernetes-sigs/kubeadm-dind-cluster/releases/download/v0.1.0/dind-cluster-v1.13.sh
$ chmod +x dind-cluster-v1.13.sh
$ wget -O dind-cluster.sh https://github.com/kubernetes-sigs/kubeadm-dind-cluster/releases/download/v0.2.0/dind-cluster-v1.14.sh
$ chmod +x dind-cluster.sh

$ # start the cluster
$ ./dind-cluster-v1.13.sh up
$ ./dind-cluster.sh up

$ # add kubectl directory to PATH
$ export PATH="$HOME/.kubeadm-dind-cluster:$PATH"

$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
kube-master Ready master 4m v1.13.0
kube-node-1 Ready <none> 2m v1.13.0
kube-node-2 Ready <none> 2m v1.13.0
kube-master Ready master 4m v1.14.0
kube-node-1 Ready <none> 2m v1.14.0
kube-node-2 Ready <none> 2m v1.14.0

$ # k8s dashboard available at http://localhost:8080/api/v1/namespaces/kube-system/services/kubernetes-dashboard:/proxy
$ # k8s dashboard available at http://localhost:<DOCKER_EXPOSED_PORT>/api/v1/namespaces/kube-system/services/kubernetes-dashboard:/proxy. See your console for the URL.

$ # restart the cluster, this should happen much quicker than initial startup
$ ./dind-cluster-v1.13.sh up
$ ./dind-cluster.sh up

$ # stop the cluster
$ ./dind-cluster-v1.13.sh down
$ ./dind-cluster.sh down

$ # remove DIND containers and volumes
$ ./dind-cluster-v1.13.sh clean
$ ./dind-cluster.sh clean
```

Replace 1.13 with 1.12 to use older Kubernetes versions.
**Important note:** you need to do `./dind-cluster....sh clean` when
Replace 1.14 with 1.13 or 1.12 to use older Kubernetes versions.
**Important note:** you need to do `./dind-cluster.sh clean` when
you switch between Kubernetes versions (but no need to do this between
rebuilds if you use `BUILD_HYPERKUBE=y` like described below).

Expand Down

0 comments on commit c6ae14b

Please sign in to comment.