diff options
Diffstat (limited to 'kubernetes/vid/templates/all-services.yaml')
-rw-r--r-- | kubernetes/vid/templates/all-services.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/kubernetes/vid/templates/all-services.yaml b/kubernetes/vid/templates/all-services.yaml new file mode 100644 index 0000000000..1018dedb2b --- /dev/null +++ b/kubernetes/vid/templates/all-services.yaml @@ -0,0 +1,28 @@ +apiVersion: v1 +kind: Service +metadata: + name: vid-mariadb + namespace: {{ .Values.NS }} +spec: + ports: + - name: vid-mariadb + port: 3306 + selector: + app: vid-mariadb + clusterIP: None +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app: vid-server + name: vid-server + namespace: {{ .Values.NS }} +spec: + ports: + - name: vid-server + nodePort: 30200 + port: 8080 + selector: + app: vid-server + type: NodePort |