summaryrefslogtreecommitdiff
path: root/templates/default/kubernetes/stream-site-svc.yml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/default/kubernetes/stream-site-svc.yml.j2')
-rw-r--r--templates/default/kubernetes/stream-site-svc.yml.j216
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/default/kubernetes/stream-site-svc.yml.j2 b/templates/default/kubernetes/stream-site-svc.yml.j2
new file mode 100644
index 0000000..0aba704
--- /dev/null
+++ b/templates/default/kubernetes/stream-site-svc.yml.j2
@@ -0,0 +1,16 @@
+apiVersion: v1
+kind: Service
+metadata:
+ namespace: {{ deploy.namespace }}
+ name: stream-site-{{ deploy.stream }}
+ labels:
+ app: nginx
+ type: stream-site
+ stream: {{ deploy.stream }}
+spec:
+ selector:
+ app: nginx
+ type: stream-site
+ stream: {{ deploy.stream }}
+ ports:
+ - port: 8080