Skip to content

Instantly share code, notes, and snippets.

@akash-gautam
Last active September 5, 2018 11:11
Show Gist options
  • 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