Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
viroos@ubuntu-test:~/core-infra$ kubectl get pvc mypvc -o yaml --export
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"v1","kind":"PersistentVolumeClaim","metadata":{"annotations":{"volume.beta.kubernetes.io/storage-provisioner":"kubernetes.io/azure-file"},"creationTimestamp":null,"name":"mypvc","namespace":"default","selfLink":"/api/v1/namespaces/default/persistentvolumeclaims/mypvc"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"10Gi"}}},"status":{}}
volume.beta.kubernetes.io/storage-provisioner: kubernetes.io/azure-disk
creationTimestamp: null
name: mypvc
selfLink: /api/v1/namespaces/default/persistentvolumeclaims/mypvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
storageClassName: default
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment