Skip to content

Instantly share code, notes, and snippets.

@jwillker
Created May 8, 2022 23:02
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 jwillker/c1b3d7cab9b787c74f4b4397ed435985 to your computer and use it in GitHub Desktop.
Save jwillker/c1b3d7cab9b787c74f4b4397ed435985 to your computer and use it in GitHub Desktop.
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "ingress-ready=true"
extraPortMappings:
- containerPort: 80
hostPort: 80
protocol: TCP
- containerPort: 443
hostPort: 443
protocol: TCP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment