From f5a786386f38d155bb7726c443c0fa4bfdf21ce7 Mon Sep 17 00:00:00 2001 From: pierre Date: Thu, 23 Jul 2026 09:35:12 +0100 Subject: [PATCH] adding before converting to daemonset --- Nginx.kube.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/Nginx.kube.yaml b/Nginx.kube.yaml index 4602153..6c44228 100644 --- a/Nginx.kube.yaml +++ b/Nginx.kube.yaml @@ -158,3 +158,29 @@ spec: type: NodePort selector: app: reverse-proxy + +--- +apiVersion: v1 +kind: Service +metadata: + name: reverse-proxy-load + namespace: reverse-proxy + annotations: +spec: + ipFamilyPolicy: PreferDualStack + ports: + - name: http + port: 80 + targetPort: rp-port-http + protocol: TCP + + - name: https + port: 443 + targetPort: rp-port-https + protocol: TCP + + + type: LoadBalancer + externalTrafficPolicy: Local + selector: + app: reverse-proxy