Last active
September 13, 2018 14:50
-
-
Save NileshGule/70430bf541299015193494908871d50d to your computer and use it in GitHub Desktop.
Gist for PV and PVC post
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
--- | |
kind: StorageClass | |
apiVersion: storage.k8s.io/v1beta1 | |
metadata: | |
name: azure-disk | |
namespace: abc2018sg | |
provisioner: kubernetes.io/azure-disk | |
parameters: | |
storageaccounttype: Standard_LRS | |
kind: Managed |
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
--- | |
kind: PersistentVolumeClaim | |
apiVersion: v1 | |
metadata: | |
name: techtalksdb-data | |
namespace: abc2018sg | |
annotations: | |
volume.beta.kubernetes.io/storage-class: azure-disk | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 1Gi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment