Skip to content

Instantly share code, notes, and snippets.

@yashbhutwala
Created October 21, 2019 12:31
Show Gist options
  • Save yashbhutwala/620bb5987290f18c6adcff999cb00e63 to your computer and use it in GitHub Desktop.
Save yashbhutwala/620bb5987290f18c6adcff999cb00e63 to your computer and use it in GitHub Desktop.
# References:
# https://godoc.org/sigs.k8s.io/kind/pkg/internal/apis/config#Cluster
# https://godoc.org/sigs.k8s.io/kind/pkg/internal/apis/config#Networking
kind: Cluster
apiVersion: kind.sigs.k8s.io/v1alpha3
nodes:
- role: control-plane
image: kindest/node:v1.15.3
- role: worker
image: kindest/node:v1.15.3
- role: worker
image: kindest/node:v1.15.3
networking:
# disable kindnet, so we can install our own CNI once cluster is created
disableDefaultCNI: true
# set the pod subnet to Calico’s default subnet
podSubnet: "192.168.0.0/16"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment