diff options
author | Christian Pointner <equinox@spreadspace.org> | 2018-02-26 10:20:42 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2018-02-26 10:23:09 +0100 |
commit | 8d3fb900d7f7973752a3512b159a1c0fed353fb7 (patch) | |
tree | 0c0741268120d746fc850c7e6a2abe7f63c86a7a /templates/default/kubernetes/stream-lb-svc.yml.j2 | |
parent | TLS hack (diff) |
stream loadbalander added (needs testing)
Diffstat (limited to 'templates/default/kubernetes/stream-lb-svc.yml.j2')
-rw-r--r-- | templates/default/kubernetes/stream-lb-svc.yml.j2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/default/kubernetes/stream-lb-svc.yml.j2 b/templates/default/kubernetes/stream-lb-svc.yml.j2 new file mode 100644 index 0000000..fcab5bd --- /dev/null +++ b/templates/default/kubernetes/stream-lb-svc.yml.j2 @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Service +metadata: + namespace: {{ deploy.namespace }} + name: stream-lb-{{ deploy.stream }} + labels: + app: nginx + type: stream-lb + stream: {{ deploy.stream }} +spec: + selector: + app: nginx + type: stream-lb + stream: {{ deploy.stream }} + ports: + - port: {{ desc.streams[deploy.stream].port }} |