Created
May 23, 2019 05:38
-
-
Save grigorkh/bb3aee2631644db54671f2a206dc7fda to your computer and use it in GitHub Desktop.
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: | |
namespace: prisma | |
name: mongo | |
spec: | |
replicas: 1 | |
strategy: | |
type: Recreate | |
template: | |
spec: | |
containers: | |
- args: | |
- --smallfiles | |
image: mongo:latest | |
name: mongo | |
ports: | |
- containerPort: 27017 | |
resources: {} | |
imagePullPolicy: Always | |
volumeMounts: | |
- mountPath: /data/db | |
name: db-claim0 | |
restartPolicy: Always | |
volumes: | |
- name: db-claim0 | |
persistentVolumeClaim: | |
claimName: db-claim0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment