Created
July 24, 2021 11:51
-
-
Save Dminor7/eba5f95ae8024b7f22cefb4565c1581a to your computer and use it in GitHub Desktop.
GCE Persistent Disk Volume for KubernetesPodOperator in Cloud Composer
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: v1 | |
kind: PersistentVolume | |
metadata: | |
name: my-volume | |
spec: | |
storageClassName: "" | |
capacity: | |
storage: 10G | |
accessModes: | |
- ReadOnlyMany | |
claimRef: | |
namespace: default | |
name: my-volume-claim | |
gcePersistentDisk: | |
pdName: my-persistent-disk | |
fsType: ext4 | |
readOnly: true | |
--- | |
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: my-volume-claim | |
spec: | |
storageClassName: "" | |
accessModes: | |
- ReadOnlyMany | |
resources: | |
requests: | |
storage: 10G |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment