Skip to content

Instantly share code, notes, and snippets.

@MParvin
Created July 2, 2023 16:23
Show Gist options
  • Save MParvin/f44beccb474fca018b253ffb6c30d6c8 to your computer and use it in GitHub Desktop.
Save MParvin/f44beccb474fca018b253ffb6c30d6c8 to your computer and use it in GitHub Desktop.
Kind cluster config that creates Two masters and Three workers, also mount a path from host to containers for development environment
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: control-plane
- role: worker
- role: worker
- role: worker
extraMounts:
- hostPath: /mnt/kind
containerPath: /mnt/kind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment