Skip to content

Instantly share code, notes, and snippets.

@jpetazzo
Created April 15, 2024 20:34
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 jpetazzo/e344bf53f3509921ba289c354e7b97aa to your computer and use it in GitHub Desktop.
Save jpetazzo/e344bf53f3509921ba289c354e7b97aa to your computer and use it in GitHub Desktop.
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
kubeadmConfigPatches:
- |
kind: ClusterConfiguration
apiServer:
extraArgs:
service-node-port-range: "12301-12309"
extraPortMappings:
- containerPort: 12301
hostPort: 12301
- containerPort: 12302
hostPort: 12302
- containerPort: 12303
hostPort: 12303
- containerPort: 12304
hostPort: 12304
- containerPort: 12305
hostPort: 12305
- containerPort: 12306
hostPort: 12306
- containerPort: 12307
hostPort: 12307
- containerPort: 12308
hostPort: 12308
- containerPort: 12309
hostPort: 12309
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment