Skip to content

Instantly share code, notes, and snippets.

@rogerwelin
Created November 24, 2020 22:19
Show Gist options
  • Save rogerwelin/5bff03d7a8654719710b8862ece61526 to your computer and use it in GitHub Desktop.
Save rogerwelin/5bff03d7a8654719710b8862ece61526 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