From 0a28837111543c9ccc2ec5e5a26a9a2e816aef2d Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Sun, 19 May 2024 16:55:33 +1000 Subject: [PATCH] Remove invalid metalb pool --- adhoc-config/metalb-pool-home-apps.yaml | 22 ---------------------- adhoc-config/metalb-pool.yaml | 1 + home-apps/adguard.yaml | 1 - 3 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 adhoc-config/metalb-pool-home-apps.yaml diff --git a/adhoc-config/metalb-pool-home-apps.yaml b/adhoc-config/metalb-pool-home-apps.yaml deleted file mode 100644 index 8d0a1f7..0000000 --- a/adhoc-config/metalb-pool-home-apps.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: metallb.io/v1beta1 -kind: IPAddressPool -metadata: - # A name for the address pool. Services can request allocation - # from a specific address pool using this name. - name: home-apps-pool - namespace: home-apps -spec: - # A list of IP address ranges over which MetalLB has - # authority. You can list multiple ranges in a single pool, they - # will all share the same settings. Each range can be either a - # CIDR prefix, or an explicit start-end range of IPs. - addresses: - - 192.168.1.180-192.168.1.190 - ---- - -apiVersion: metallb.io/v1beta1 -kind: L2Advertisement -metadata: - name: home-apps - namespace: nginx-ingress diff --git a/adhoc-config/metalb-pool.yaml b/adhoc-config/metalb-pool.yaml index 40b9aba..a681d38 100644 --- a/adhoc-config/metalb-pool.yaml +++ b/adhoc-config/metalb-pool.yaml @@ -4,6 +4,7 @@ metadata: # A name for the address pool. Services can request allocation # from a specific address pool using this name. name: home-pool + # has to be in the nginx-ingress namespace namespace: nginx-ingress spec: # A list of IP address ranges over which MetalLB has diff --git a/home-apps/adguard.yaml b/home-apps/adguard.yaml index 7195ff9..3c461f0 100644 --- a/home-apps/adguard.yaml +++ b/home-apps/adguard.yaml @@ -111,7 +111,6 @@ metadata: name: adguard-metallb namespace: home-apps annotations: - # metallb.universe.tf/address-pool: home-apps-pool metallb.universe.tf/loadBalancerIPs: 192.168.1.200 labels: name: adguard-dns