initial commit
This commit is contained in:
22
asus/mongodb-sharded/external-mongo-service.yaml
Normal file
22
asus/mongodb-sharded/external-mongo-service.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mongo
|
||||
namespace: mongodb
|
||||
spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 27017
|
||||
targetPort: 27017
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: mongo
|
||||
namespace: mongodb
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 192.168.2.109
|
||||
ports:
|
||||
- port: 30513
|
||||
|
||||
Reference in New Issue
Block a user