Skip to content

Instantly share code, notes, and snippets.

@peterkowalski
Last active April 13, 2022 05:35
Show Gist options
  • Save peterkowalski/447bc9847108f2cdb7334d66ab6022ad to your computer and use it in GitHub Desktop.
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
---
# three node (two workers) cluster config
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
- role: worker
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