Expose TFTP and HTTP port in KinD cluster

This commit is contained in:
Khue Doan 2021-07-20 22:15:41 +07:00
parent 0daddea98c
commit a0e70dd0a2
No known key found for this signature in database
GPG Key ID: 4C1A90A461B3C27B

View File

@ -1,6 +1,14 @@
kind: Cluster kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4 apiVersion: kind.x-k8s.io/v1alpha4
name: sidero-bootstrap-cluster name: bootstrap-cluster
nodes: nodes:
- role: control-plane - role: control-plane
- role: worker extraPortMappings:
# TFTP
- containerPort: 69
hostPort: 69
protocol: UDP
# HTTP
- containerPort: 8081
hostPort: 8081
protocol: TCP