Created
November 9, 2015 18:52
-
-
Save wallnerryan/df96f990333dba4e2aca to your computer and use it in GitHub Desktop.
This file contains hidden or 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: v1 | |
| kind: Pod | |
| metadata: | |
| name: flocker-web | |
| spec: | |
| containers: | |
| - name: web | |
| image: nginx | |
| ports: | |
| - name: web | |
| containerPort: 80 | |
| volumeMounts: | |
| # name must match the volume name below | |
| - name: www-root | |
| mountPath: "/usr/share/nginx/html" | |
| volumes: | |
| - name: www-root | |
| flocker: | |
| datasetName: my-flocker-vol-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment