1
0
mirror of https://github.com/bigchaindb/bigchaindb.git synced 2024-07-01 06:02:15 +02:00
bigchaindb/k8s/mongodb/mongo-svc.yaml
Shahbaz Nazir a782fa4635
Hardcode static ports for k8s deployment (#2080)
Description
Currently we manually configure ports in deployment and service files for k8s deployment e.g here. Instead these ports should be constant since these are always the same for each deployment

Issues This PR Fixes
Fixes #2077
2018-02-22 11:52:41 +01:00

18 lines
283 B
YAML

apiVersion: v1
kind: Service
metadata:
name: mdb-instance-0
namespace: default
labels:
name: mdb-instance-0
spec:
selector:
app: mdb-instance-0-ss
ports:
- port: 27017
targetPort: 27017
name: mdb-port
protocol: TCP
type: ClusterIP
clusterIP: None