From e5514b0203cf7f40c06f2466d6873728eacdf917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondrej=20Ladomirj=C3=A1k?= Date: Sun, 17 Apr 2022 17:24:40 +0000 Subject: [PATCH] Add 'z2/mongo-express-service.yaml' --- z2/mongo-express-service.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 z2/mongo-express-service.yaml diff --git a/z2/mongo-express-service.yaml b/z2/mongo-express-service.yaml new file mode 100644 index 0000000..afa1e9a --- /dev/null +++ b/z2/mongo-express-service.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Service +metadata: + name: mongo-express-service + namespace: z2 +spec: + selector: + app: mongo-express + type: LoadBalancer + ports: + - protocol: TCP + port: 8081 + targetPort: 8081 + nodePort: 30001 \ No newline at end of file