Created
February 14, 2025 01:12
-
-
Save hguerrero/7b6200a83bd3615b8949f8b9589f65de to your computer and use it in GitHub Desktop.
kind extraPortMappings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat <<EOF | kind create cluster --config=- | |
kind: Cluster | |
apiVersion: kind.x-k8s.io/v1alpha4 | |
nodes: | |
- role: control-plane | |
extraPortMappings: | |
- containerPort: 80 | |
hostPort: 80 | |
protocol: TCP | |
- containerPort: 443 | |
hostPort: 443 | |
protocol: TCP | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment