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