From 3096769f1e617734f2a3a7bc89cb741497d6d365 Mon Sep 17 00:00:00 2001 From: Radar231 Date: Tue, 19 Oct 2021 14:32:43 -0400 Subject: [PATCH] changed load-balancer to metallb --- maxwaldorf-guacamole_lb.yml | 18 ++++++++++++++++++ maxwaldorf-guacamole_svclb.yml-old | 15 +++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 maxwaldorf-guacamole_lb.yml create mode 100644 maxwaldorf-guacamole_svclb.yml-old diff --git a/maxwaldorf-guacamole_lb.yml b/maxwaldorf-guacamole_lb.yml new file mode 100644 index 0000000..8e1e1a0 --- /dev/null +++ b/maxwaldorf-guacamole_lb.yml @@ -0,0 +1,18 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: maxwaldorf-guacamole + annotations: + metallb.universe.tf/address-pool: default + metallb.universe.tf/allow-shared-ip: "dot82" +spec: + loadBalancerIP: 192.168.7.82 + ports: + - port: 85 + targetPort: 8080 + selector: + app: maxwaldorf-guacamole + type: LoadBalancer + +# EOF diff --git a/maxwaldorf-guacamole_svclb.yml-old b/maxwaldorf-guacamole_svclb.yml-old new file mode 100644 index 0000000..13d34e1 --- /dev/null +++ b/maxwaldorf-guacamole_svclb.yml-old @@ -0,0 +1,15 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: maxwaldorf-guacamole +spec: + selector: + app: maxwaldorf-guacamole + ports: + - protocol: TCP + port: 85 + targetPort: 8080 + type: LoadBalancer + +# EOF