Created
December 20, 2017 08:15
-
-
Save cloudyuga/f4892acb6418f812a5d905194460f7a8 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: test-pd | |
| spec: | |
| containers: | |
| - image: gcr.io/google_containers/test-webserver | |
| name: test-container | |
| volumeMounts: | |
| - mountPath: /test-pd | |
| name: test-volume | |
| volumes: | |
| - name: test-volume | |
| # This GCE PD must already exist. | |
| gcePersistentDisk: | |
| pdName: my-data-disk | |
| fsType: ext4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment