planetmint/k8s/mongodb/mongo-svc.yaml
2022-01-13 16:29:35 +00:00

23 lines
489 B
YAML

# Copyright © 2020 Interplanetary Database Association e.V.,
# Planetmint and IPDB software contributors.
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
# Code is Apache-2.0 and docs are CC-BY-4.0
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