Last active
April 13, 2022 05:35
-
-
Save peterkowalski/447bc9847108f2cdb7334d66ab6022ad to your computer and use it in GitHub Desktop.
[Create Kubernetes in Docker (kind) cluster] This command creates Kubernetes in Docker 3-node cluster called "mylab" #docker #k8s
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
--- | |
# three node (two workers) cluster config | |
kind: Cluster | |
apiVersion: kind.x-k8s.io/v1alpha4 | |
nodes: | |
- role: control-plane | |
- role: worker | |
- role: worker |
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
kind create cluster --config repositories/kind-cluster-config/config.yaml --name mylab --image kindest/node:v1.15.11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment