The below example is for OKE (Oracle Kubernetes Engine), the same concept for other Kubernetes
Change default storageclass from oci to oci-bv:
kubectl patch storageclass oci -p '{"metadata": {"annotations":{"storageclass.beta.kubernetes.io/is-default-class":"false"}}}'
kubectl patch storageclass oci-bv -p '{"metadata": {"annotations":{"storageclass.beta.kubernetes.io/is-default-class":"true"}}}'
No comments:
Post a Comment