Add 'z2/mongo-service.yaml'
This commit is contained in:
parent
65bdff18bb
commit
266d2eed24
13
z2/mongo-service.yaml
Normal file
13
z2/mongo-service.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user