From 90e417ac1f7712c0b0d6c7b9b14e22da76ac35f4 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Thu, 24 Aug 2023 23:00:35 -0400 Subject: [PATCH] fix(traefik): specify host ip for ports --- .../core/networking/traefik/helm-release.yaml | 33 +++++++++++++++++-- docs/hostports.md | 0 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 docs/hostports.md diff --git a/cluster/core/networking/traefik/helm-release.yaml b/cluster/core/networking/traefik/helm-release.yaml index c3c9291..dc9800c 100644 --- a/cluster/core/networking/traefik/helm-release.yaml +++ b/cluster/core/networking/traefik/helm-release.yaml @@ -55,11 +55,39 @@ spec: spec: loadBalancerIP: "192.168.87.10" +# ports: +# traefik: +# port: 9000 +# expose: true +# exposedPort: 9000 +# # The port protocol (TCP/UDP) +# protocol: TCP +# web: +# port: 8000 +# expose: true +# exposedPort: 80 +# redirectTo: websecure +# protocol: TCP +# websecure: +# port: 8443 +# expose: true +# exposedPort: 443 +# protocol: TCP +# tls: +# enabled: true +# #certResolver: cloudflare +# metrics: +# port: 9100 +# expose: true +# exposedPort: 9100 +# protocol: TCP + ports: traefik: port: 9000 expose: true exposedPort: 9000 + hostIP: 192.168.87.10 # The port protocol (TCP/UDP) protocol: TCP web: @@ -67,19 +95,20 @@ spec: expose: true exposedPort: 80 redirectTo: websecure + hostIP: 192.168.87.10 protocol: TCP websecure: port: 8443 expose: true exposedPort: 443 + hostIP: 192.168.87.10 protocol: TCP tls: enabled: true #certResolver: cloudflare metrics: port: 9100 - expose: true - exposedPort: 9100 + expose: false protocol: TCP # Disable Dashboard diff --git a/docs/hostports.md b/docs/hostports.md new file mode 100644 index 0000000..e69de29