Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 4, 2020 07:04
Show Gist options
  • Save velotiotech/d59a4a09dd6cc5dbf068359fd33a01fe to your computer and use it in GitHub Desktop.
Save velotiotech/d59a4a09dd6cc5dbf068359fd33a01fe to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: mongodb-service
spec:
ports:
- port: 27017
targetPort: 27017
protocol: TCP
name: mongodbport
selector:
app: mongodb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment