更改默认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 storageclass.storage.k8s.io/openebs-hostpath edited