summaryrefslogtreecommitdiffstats
path: root/kubernetes/vid/all-services.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/vid/all-services.yaml')
-rw-r--r--kubernetes/vid/all-services.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/kubernetes/vid/all-services.yaml b/kubernetes/vid/all-services.yaml
new file mode 100644
index 0000000000..4b5b082e6c
--- /dev/null
+++ b/kubernetes/vid/all-services.yaml
@@ -0,0 +1,26 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: vid-mariadb
+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
+spec:
+ ports:
+ - name: vid-server
+ nodePort: 30200
+ port: 8080
+ selector:
+ app: vid-server
+ type: NodePort