How to change the default storage class type?
Issue
- How to change Storage class
RECLAIMPOLICY
typeDelete
toRetain
andVOLUMEBINDINGMODE
typeWaitForFirstConsumer
toImmediate
? - While editing the
reclaimPolicy
andvolumeBindingMode
we get the following errors:
# storageclasses.storage.k8s.io "local-sc" was not valid:
# * reclaimPolicy: Forbidden: updates to reclaimPolicy are forbidden.
# storageclasses.storage.k8s.io "local-sc" was not valid:
# * volumeBindingMode: Invalid value: "WaitForFirstConsumer": field is immutable
Environment
- Red Hat OpenShift Container Platform
- 4.#
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.