about summary refs log tree commit diff
path: root/nginx/nginx-svc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'nginx/nginx-svc.yaml')
-rw-r--r--nginx/nginx-svc.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/nginx/nginx-svc.yaml b/nginx/nginx-svc.yaml
new file mode 100644
index 000000000000..45e4e2ab1ec5
--- /dev/null
+++ b/nginx/nginx-svc.yaml
@@ -0,0 +1,16 @@
+---
+apiVersion: v1
+kind: Service
+metadata:
+  name: nginx
+  labels:
+    app: nginx
+spec:
+  type: LoadBalancer
+  selector:
+    lb-target: nginx
+  ports:
+    - port: 80
+      name: http
+    - port: 443
+      name: https