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