From 733f6c32a439d404b42e1818895989669e4efa0a Mon Sep 17 00:00:00 2001 From: Radar231 Date: Tue, 19 Oct 2021 14:36:28 -0400 Subject: [PATCH] changed load-balancer to metallb --- mosquitto_lb.yml | 18 ++++++++++++++++++ mosquitto_svclb.yml => mosquitto_svclb.yml-old | 0 2 files changed, 18 insertions(+) create mode 100644 mosquitto_lb.yml rename mosquitto_svclb.yml => mosquitto_svclb.yml-old (100%) diff --git a/mosquitto_lb.yml b/mosquitto_lb.yml new file mode 100644 index 0000000..981745e --- /dev/null +++ b/mosquitto_lb.yml @@ -0,0 +1,18 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: mosquitto + annotations: + metallb.universe.tf/address-pool: default + metallb.universe.tf/allow-shared-ip: "dot81" +spec: + loadBalancerIP: 192.168.7.81 + ports: + - port: 1883 + targetPort: 1883 + selector: + app: mosquitto + type: LoadBalancer + +# EOF diff --git a/mosquitto_svclb.yml b/mosquitto_svclb.yml-old similarity index 100% rename from mosquitto_svclb.yml rename to mosquitto_svclb.yml-old