Skip to content

Instantly share code, notes, and snippets.

@mauilion
Last active April 8, 2019 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mauilion/03f708f39c518a169b30aa3341848f84 to your computer and use it in GitHub Desktop.
Save mauilion/03f708f39c518a169b30aa3341848f84 to your computer and use it in GitHub Desktop.
kind: Cluster
apiVersion: kind.sigs.k8s.io/v1alpha3
nodes:
- role: control-plane
extraMounts:
- containerPath: /kind/manifests/default-cni.yaml
hostPath: /home/dcooley/git/kind-demo/ha-cluster/manifests/calico.yaml
readOnly: true
type: File
- role: control-plane
- role: control-plane
- role: worker
- role: worker
- role: worker
kubeadmConfigPatches:
- |
apiVersion: kubeadm.k8s.io/v1beta1
kind: ClusterConfiguration
metadata:
name: config
networking:
serviceSubnet: "10.96.0.1/12"
podSubnet: "192.168.0.0/16"
- |
apiVersion: kubeproxy.config.k8s.io/v1alpha1
kind: KubeProxyConfiguration
metadata:
name: config
mode: "ipvs"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment