dedicated metallb pool 10.0.64.9 for jitsi
This commit is contained in:
@@ -37,7 +37,7 @@ spec:
|
|||||||
hosts:
|
hosts:
|
||||||
- v.aggtaa.com
|
- v.aggtaa.com
|
||||||
|
|
||||||
# media traffic: UDP 10000 must be forwarded from the WAN router to the dmz pool ip (10.0.64.7)
|
# media traffic: UDP 10000 must be forwarded from the WAN router to the JVB service ip (kubectl get svc -n video)
|
||||||
jvb:
|
jvb:
|
||||||
UDPPort: 10000
|
UDPPort: 10000
|
||||||
publicIPs:
|
publicIPs:
|
||||||
@@ -50,11 +50,11 @@ spec:
|
|||||||
postRenderers:
|
postRenderers:
|
||||||
- kustomize:
|
- kustomize:
|
||||||
patches:
|
patches:
|
||||||
# pin the JVB service to the dmz pool (see infra/metallb/config.yaml)
|
# dmz-pool has a single ip held by traefik, so use the dedicated public-ports-pool (see infra/metallb/config.yaml)
|
||||||
- target:
|
- target:
|
||||||
kind: Service
|
kind: Service
|
||||||
name: jitsi-jitsi-meet-jvb
|
name: jitsi-jitsi-meet-jvb
|
||||||
patch: |
|
patch: |
|
||||||
- op: add
|
- op: add
|
||||||
path: /metadata/labels/loadBalancerPool
|
path: /metadata/annotations/metallb.io~1address-pool
|
||||||
value: dmz
|
value: public-ports-pool
|
||||||
|
|||||||
@@ -10,7 +10,8 @@ spec:
|
|||||||
- 10.0.64.6/32
|
- 10.0.64.6/32
|
||||||
# exclude 10.0.64.7, its in dmz-pool
|
# exclude 10.0.64.7, its in dmz-pool
|
||||||
# exclude 10.0.64.8, its in mqtt-pool
|
# exclude 10.0.64.8, its in mqtt-pool
|
||||||
- 10.0.64.9-10.0.64.19
|
# exclude 10.0.64.9, its in public-ports-pool
|
||||||
|
- 10.0.64.10-10.0.64.19
|
||||||
autoAssign: true
|
autoAssign: true
|
||||||
serviceAllocation:
|
serviceAllocation:
|
||||||
serviceSelectors:
|
serviceSelectors:
|
||||||
@@ -62,6 +63,19 @@ spec:
|
|||||||
- matchLabels:
|
- matchLabels:
|
||||||
loadBalancerPool: mqtt
|
loadBalancerPool: mqtt
|
||||||
---
|
---
|
||||||
|
# ip for services that need individual ports forwarded from WAN router (e.g. jitsi jvb udp)
|
||||||
|
# not auto-assigned: a service gets it only with an explicit annotation
|
||||||
|
# metallb.io/address-pool: public-ports-pool
|
||||||
|
apiVersion: metallb.io/v1beta1
|
||||||
|
kind: IPAddressPool
|
||||||
|
metadata:
|
||||||
|
name: public-ports-pool
|
||||||
|
namespace: metallb-system
|
||||||
|
spec:
|
||||||
|
addresses:
|
||||||
|
- 10.0.64.9/32
|
||||||
|
autoAssign: false
|
||||||
|
---
|
||||||
apiVersion: metallb.io/v1beta1
|
apiVersion: metallb.io/v1beta1
|
||||||
kind: L2Advertisement
|
kind: L2Advertisement
|
||||||
metadata:
|
metadata:
|
||||||
@@ -73,3 +87,4 @@ spec:
|
|||||||
- dmz-pool
|
- dmz-pool
|
||||||
- mqtt-pool
|
- mqtt-pool
|
||||||
- nfs-pool
|
- nfs-pool
|
||||||
|
- public-ports-pool
|
||||||
|
|||||||
Reference in New Issue
Block a user