16 lines
426 B
YAML
16 lines
426 B
YAML
kind: Cluster
|
|
apiVersion: kind.x-k8s.io/v1alpha4
|
|
name: mpr
|
|
nodes:
|
|
- role: control-plane
|
|
extraPortMappings:
|
|
# Gateway → http://k8s.mpr.local.ar (bind to 127.0.0.2 to avoid conflict with docker-compose on 127.0.0.1:80)
|
|
- containerPort: 30080
|
|
hostPort: 80
|
|
listenAddress: "127.0.0.2"
|
|
protocol: TCP
|
|
# Redis
|
|
- containerPort: 30379
|
|
hostPort: 6382
|
|
protocol: TCP
|