Skip to content

Instantly share code, notes, and snippets.

@cloudyuga
Created December 20, 2017 08:15
Show Gist options
  • Select an option

  • Save cloudyuga/f4892acb6418f812a5d905194460f7a8 to your computer and use it in GitHub Desktop.

Select an option

Save cloudyuga/f4892acb6418f812a5d905194460f7a8 to your computer and use it in GitHub Desktop.
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