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