summaryrefslogtreecommitdiff
path: root/templates/default/kubernetes/nginx-streamer-svc.yml.j2
blob: 5346215b1e14102b670e6aeec85cdb5f7f0e38b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
apiVersion: v1
kind: Service
metadata:
  namespace: {{ deploy.namespace }}
  name: nginx-streamer-{{ deploy.worker.name }}
  labels:
    app: nginx
    type: streamer
    worker: {{ deploy.worker.name }}
spec:
  selector:
    app: nginx
    type: streamer
    worker: {{ deploy.worker.name }}
  ports:
  - port: {{ desc.streams[deploy.worker.flags.stream].port }}