更改默认StrongClass

[root@master01 ~]# kubectl apply -f /tmp/cc.yaml
Error from server (Forbidden): error when creating "/tmp/cc.yaml": persistentvolumeclaims "jenkins-pvc" is forbidden: Internal error occurred: 2 default StorageClasses were found

[root@master01 ~]# kubectl edit sc openebs-hostpath 

 

posted @ 2023-08-10 16:49  beawh  阅读(25)  评论(0)    收藏  举报