From ea0ba61a2641123f019ab1099760b339e8f4ecbb Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Fri, 6 Sep 2024 23:50:34 -0400 Subject: [PATCH] fix: remove metallb, use cilium load balancer ip pool instead --- kubernetes/thin/apps/kustomization.yaml | 3 ++- kubernetes/thin/apps/main-ip-pool.yaml | 8 ++++++++ kubernetes/thin/secrets/cluster-settings.yaml | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 kubernetes/thin/apps/main-ip-pool.yaml diff --git a/kubernetes/thin/apps/kustomization.yaml b/kubernetes/thin/apps/kustomization.yaml index 5d31a55..5982996 100644 --- a/kubernetes/thin/apps/kustomization.yaml +++ b/kubernetes/thin/apps/kustomization.yaml @@ -2,7 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./helm-repositories.yaml -- ../../common/apps/metallb +#- ../../common/apps/metallb +- ./main-ip-pool.yaml - ../../common/apps/traefik # storage #- ./longhorn diff --git a/kubernetes/thin/apps/main-ip-pool.yaml b/kubernetes/thin/apps/main-ip-pool.yaml new file mode 100644 index 0000000..1dec48d --- /dev/null +++ b/kubernetes/thin/apps/main-ip-pool.yaml @@ -0,0 +1,8 @@ +apiVersion: "cilium.io/v2alpha1" +kind: CiliumLoadBalancerIPPool +metadata: + name: "main-pool" +spec: + blocks: + - start: "192.168.1.50" + stop: "192.168.1.60" \ No newline at end of file diff --git a/kubernetes/thin/secrets/cluster-settings.yaml b/kubernetes/thin/secrets/cluster-settings.yaml index cea7f5c..a7a4291 100644 --- a/kubernetes/thin/secrets/cluster-settings.yaml +++ b/kubernetes/thin/secrets/cluster-settings.yaml @@ -6,5 +6,5 @@ metadata: namespace: flux-system data: # MetalLB - METALLB_LB_RANGE: 192.168.1.60-192.168.1.70 + METALLB_LB_RANGE: 192.168.1.50-192.168.1.60 SERVER_TIMEZONE: America/New_York \ No newline at end of file