summaryrefslogtreecommitdiffstats
path: root/kubernetes/contrib/ingress-nginx-post-inst
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2020-03-16 12:17:46 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-16 12:17:46 +0000
commit0cdf3ca3b4718191ef34cc855a78b0a187e5c86e (patch)
tree7164f1496cb3130fb27be8572fc942a407dbb27d /kubernetes/contrib/ingress-nginx-post-inst
parent784fbfdf57b6e5a11aadb8e4fc2080c026f9944e (diff)
parent0175fbfe2259e539532b4c7a329e6ba99a86e7d5 (diff)
Merge "Nginx ingress config loadbalancer option"
Diffstat (limited to 'kubernetes/contrib/ingress-nginx-post-inst')
-rw-r--r--kubernetes/contrib/ingress-nginx-post-inst/nginx_ingress_enable_optional_load_balacer_service.yaml24
1 files changed, 24 insertions, 0 deletions
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
+