Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sc
viroos@ubuntu-test:~/core-infra$ kubectl get sc -o yaml --export default
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"annotations":{"storageclass.beta.kubernetes.io/is-default-class":"true"},"creationTimestamp":"2017-10-19T11:48:48Z","labels":{"kubernetes.io/cluster-service":"true"},"name":"default","namespace":"","resourceVersion":"220","selfLink":"/apis/storage.k8s.io/v1/storageclasses/default","uid":"7821c002-b4c3-11e7-9b54-000d3a03a7b3"},"provisioner":"kubernetes.io/azure-disk"}
storageclass.beta.kubernetes.io/is-default-class: "true"
creationTimestamp: null
labels:
kubernetes.io/cluster-service: "true"
name: default
selfLink: /apis/storage.k8s.io/v1/storageclasses/default
provisioner: kubernetes.io/azure-disk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment