Last active
May 18, 2017 10:47
-
-
Save ranhsd/a4e5d197c336fab22ee03e963707e57e to your computer and use it in GitHub Desktop.
mongo-deployment.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: mongo-deployment | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
name: mongo | |
app: mongo | |
tier: backend | |
role: master | |
spec: | |
containers: | |
- name: mongo | |
image: mongo:latest | |
ports: | |
- name: mongo | |
containerPort: 27017 | |
volumeMounts: | |
- name: mongo-persistent-storage | |
mountPath: /data/db | |
volumes: | |
- name: mongo-persistent-storage | |
gcePersistentDisk: | |
pdName: my-parse-app-db-disk | |
fsType: ext4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment