helm install apphub/mongodb-replicaset --name mongodb
kind: Service
apiVersion: v1
metadata:
name: mongodb-node-replicaset
namespace: default
labels:
app: mongodb-replicaset
chart: mongodb-replicaset-3.10.2
heritage: Tiller
release: mongodb
spec:
ports:
- name: mongodb
protocol: TCP
nodePort: 27017
selector:
app: mongodb-replicaset
release: mongodb
type: NodePort