Add 'z2/mongo-service.yaml'

This commit is contained in:
Ondrej Ladomirják 2022-04-17 17:25:45 +00:00
parent 65bdff18bb
commit 266d2eed24

13
z2/mongo-service.yaml Normal file
View File

@ -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