OpenShift Tips

Storage

Get default StorageClass name

oc get sc -o jsonpath='{.items[?(@.metadata.annotations.storageclass\.kubernetes\.io/is-default-class=="true")].metadata.name}'
Last updated on 12 Nov 2019
Published on 18 Jun 2019
Edit on GitHub