Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 4, 2020 07:02
Show Gist options
  • Save velotiotech/e0781a86a408b584b6a684e6919ad799 to your computer and use it in GitHub Desktop.
Save velotiotech/e0781a86a408b584b6a684e6919ad799 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: mongodb
spec:
template:
metadata:
labels:
app: mongodb
spec:
containers:
- name: mongodb
image: mongo
ports:
- name: mongodbport
containerPort: 27017
protocol: TCP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment