update metallb ip pool

This commit is contained in:
2024-08-26 15:40:36 +10:00
parent 6dc77a9dca
commit c420790a4e
11 changed files with 22 additions and 22 deletions

View File

@@ -5,4 +5,4 @@ metadata:
namespace: metallb-system
spec:
ipAddressPools:
- k3s-cluster-ips
- k3s-cluster-ip-pool

View File

@@ -1,7 +1,7 @@
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: k3s-cluster-ips
name: k3s-cluster-ip-pool
namespace: metallb-system
spec:
addresses:

View File

@@ -14,8 +14,8 @@ service:
api: 19000
console: 19001
annotations:
metallb.universe.tf/address-pool: k3s-cluster-ips
metallb.universe.tf/allow-shared-ip: k3s-cluster-ips
metallb.universe.tf/address-pool: k3s-cluster-ip-pool
metallb.universe.tf/allow-shared-ip: k3s-cluster
persistence:
existingClaim: "minio-pvc"
containerSecurityContext:

View File

@@ -23,8 +23,8 @@ startupProbe:
service:
type: LoadBalancer
annotations:
metallb.universe.tf/address-pool: k3s-cluster-ips
metallb.universe.tf/allow-shared-ip: k3s-cluster-ips
metallb.universe.tf/address-pool: k3s-cluster-ip-pool
metallb.universe.tf/allow-shared-ip: k3s-cluster
persistence:
existingClaim: "mongodb-pvc"
persistentVolumeClaimRetentionPolicy:

View File

@@ -22,8 +22,8 @@ primary:
service:
type: LoadBalancer
annotations:
metallb.universe.tf/address-pool: k3s-cluster-ips
metallb.universe.tf/allow-shared-ip: k3s-cluster-ips
metallb.universe.tf/address-pool: k3s-cluster-ip-pool
metallb.universe.tf/allow-shared-ip: k3s-cluster
persistence:
existingClaim: postgresql-primary-pvc
selector:
@@ -45,8 +45,8 @@ readReplicas:
ports:
postgresql: 5433
annotations:
metallb.universe.tf/address-pool: k3s-cluster-ips
metallb.universe.tf/allow-shared-ip: k3s-cluster-ips
metallb.universe.tf/address-pool: k3s-cluster-ip-pool
metallb.universe.tf/allow-shared-ip: k3s-cluster
persistence:
existingClaim: postgresql-replica-pvc
selector:

View File

@@ -23,8 +23,8 @@ service:
type: LoadBalancer
port: 18899
annotations:
metallb.universe.tf/address-pool: k3s-cluster-ips
metallb.universe.tf/allow-shared-ip: k3s-cluster-ips
metallb.universe.tf/address-pool: k3s-cluster-ip-pool
metallb.universe.tf/allow-shared-ip: k3s-cluster
ingress:
enabled: true
ingressClassName: nginx