From 0175fbfe2259e539532b4c7a329e6ba99a86e7d5 Mon Sep 17 00:00:00 2001 From: Lucjan Bryndza Date: Thu, 12 Mar 2020 11:10:25 +0100 Subject: Nginx ingress config loadbalancer option Add nginx ingress postinstall optional step for enable nginx ingress controller service with LoadBalancer option Signed-off-by: Lucjan Bryndza Issue-ID: OOM-2099 Change-Id: I195bfaee5e7e268b0f16da4c75b44c17bd695086 --- ...gress_enable_optional_load_balacer_service.yaml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 kubernetes/contrib/ingress-nginx-post-inst/nginx_ingress_enable_optional_load_balacer_service.yaml (limited to 'kubernetes/contrib') diff --git a/kubernetes/contrib/ingress-nginx-post-inst/nginx_ingress_enable_optional_load_balacer_service.yaml b/kubernetes/contrib/ingress-nginx-post-inst/nginx_ingress_enable_optional_load_balacer_service.yaml new file mode 100644 index 0000000000..c051f83951 --- /dev/null +++ b/kubernetes/contrib/ingress-nginx-post-inst/nginx_ingress_enable_optional_load_balacer_service.yaml @@ -0,0 +1,24 @@ +kind: Service +apiVersion: v1 +metadata: + name: ingress-nginx + namespace: ingress-nginx + labels: + app.kubernetes.io/name: ingress-nginx + app.kubernetes.io/part-of: ingress-nginx + annotations: + service.beta.kubernetes.io/aws-load-balancer-type: nlb +spec: + externalTrafficPolicy: Local + type: LoadBalancer + selector: + app.kubernetes.io/name: ingress-nginx + app.kubernetes.io/part-of: ingress-nginx + ports: + - name: http + port: 80 + targetPort: http + - name: https + port: 443 + targetPort: https + -- cgit 1.2.3-korg