Skip to content

Instantly share code, notes, and snippets.

@akash-gautam
Last active September 5, 2018 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akash-gautam/d2ba58ce04b3d14f2e72f5e0079de0b8 to your computer and use it in GitHub Desktop.
Save akash-gautam/d2ba58ce04b3d14f2e72f5e0079de0b8 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