Created
March 9, 2020 20:08
-
-
Save davrodpin/201f629c64c1b69c5c10361262807e1e to your computer and use it in GitHub Desktop.
Multi single-node cluster creation with kind
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ uname -a | |
Linux <name> 5.3.0-29-generic #31-Ubuntu SMP Fri Jan 17 17:27:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux | |
$ kind --version | |
kind version 0.7.0 | |
$ docker --version | |
Docker version 19.03.3, build a872fc2f86 | |
$ for i in $(seq 1 10);do kind create cluster --name kfc-${i}; done | |
Creating cluster "kfc-1" ... | |
β Ensuring node image (kindest/node:v1.17.0) πΌ | |
β Preparing nodes π¦ | |
β Writing configuration π | |
β Starting control-plane πΉοΈ | |
β Installing CNI π | |
β Installing StorageClass πΎ | |
Set kubectl context to "kind-kfc-1" | |
You can now use your cluster with: | |
kubectl cluster-info --context kind-kfc-1 | |
Thanks for using kind! π | |
Creating cluster "kfc-2" ... | |
β Ensuring node image (kindest/node:v1.17.0) πΌ | |
β Preparing nodes π¦ | |
β Writing configuration π | |
β Starting control-plane πΉοΈ | |
β Installing CNI π | |
β Installing StorageClass πΎ | |
Set kubectl context to "kind-kfc-2" | |
You can now use your cluster with: | |
kubectl cluster-info --context kind-kfc-2 | |
Have a question, bug, or feature request? Let us know! https://kind.sigs.k8s.io/#community π | |
Creating cluster "kfc-3" ... | |
β Ensuring node image (kindest/node:v1.17.0) πΌ | |
β Preparing nodes π¦ | |
β Writing configuration π | |
β Starting control-plane πΉοΈ | |
β Installing CNI π | |
β Installing StorageClass πΎ | |
Set kubectl context to "kind-kfc-3" | |
You can now use your cluster with: | |
kubectl cluster-info --context kind-kfc-3 | |
Have a nice day! π | |
Creating cluster "kfc-4" ... | |
β Ensuring node image (kindest/node:v1.17.0) πΌ | |
β Preparing nodes π¦ | |
β Writing configuration π | |
β Starting control-plane πΉοΈ | |
β Installing CNI π | |
β Installing StorageClass πΎ | |
Set kubectl context to "kind-kfc-4" | |
You can now use your cluster with: | |
kubectl cluster-info --context kind-kfc-4 | |
Thanks for using kind! π | |
Creating cluster "kfc-5" ... | |
β Ensuring node image (kindest/node:v1.17.0) πΌ | |
β Preparing nodes π¦ | |
β Writing configuration π | |
β Starting control-plane πΉοΈ | |
β Installing CNI π | |
β Installing StorageClass πΎ | |
Set kubectl context to "kind-kfc-5" | |
You can now use your cluster with: | |
kubectl cluster-info --context kind-kfc-5 | |
Have a question, bug, or feature request? Let us know! https://kind.sigs.k8s.io/#community π | |
Creating cluster "kfc-6" ... | |
β Ensuring node image (kindest/node:v1.17.0) πΌ | |
β Preparing nodes π¦ | |
β Writing configuration π | |
β Starting control-plane πΉοΈ | |
β Installing CNI π | |
β Installing StorageClass πΎ | |
Set kubectl context to "kind-kfc-6" | |
You can now use your cluster with: | |
kubectl cluster-info --context kind-kfc-6 | |
Have a question, bug, or feature request? Let us know! https://kind.sigs.k8s.io/#community π | |
Creating cluster "kfc-7" ... | |
β Ensuring node image (kindest/node:v1.17.0) πΌ | |
β Preparing nodes π¦ | |
β Writing configuration π | |
β Starting control-plane πΉοΈ | |
β Installing CNI π | |
β Installing StorageClass πΎ | |
Set kubectl context to "kind-kfc-7" | |
You can now use your cluster with: | |
kubectl cluster-info --context kind-kfc-7 | |
Have a nice day! π | |
Creating cluster "kfc-8" ... | |
β Ensuring node image (kindest/node:v1.17.0) πΌ | |
β Preparing nodes π¦ | |
β Writing configuration π | |
β Starting control-plane πΉοΈ | |
β Installing CNI π | |
β Installing StorageClass πΎ | |
Set kubectl context to "kind-kfc-8" | |
You can now use your cluster with: | |
kubectl cluster-info --context kind-kfc-8 | |
Not sure what to do next? π Check out https://kind.sigs.k8s.io/docs/user/quick-start/ | |
Creating cluster "kfc-9" ... | |
β Ensuring node image (kindest/node:v1.17.0) πΌ | |
β Preparing nodes π¦ | |
β Writing configuration π | |
β Starting control-plane πΉοΈ | |
β Installing CNI π | |
β Installing StorageClass πΎ | |
Set kubectl context to "kind-kfc-9" | |
You can now use your cluster with: | |
kubectl cluster-info --context kind-kfc-9 | |
Not sure what to do next? π Check out https://kind.sigs.k8s.io/docs/user/quick-start/ | |
Creating cluster "kfc-10" ... | |
β Ensuring node image (kindest/node:v1.17.0) πΌ | |
β Preparing nodes π¦ | |
β Writing configuration π | |
β Starting control-plane πΉοΈ | |
ERROR: failed to create cluster: failed to init node with kubeadm: command "docker exec --privileged kfc-10-control-plane kubeadm init --ignore-preflight-errors=all --config=/kind/kubeadm.conf --skip-token-print --v=6" failed with error: exit status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment