v2-s-1.gif

[root@master ~]# kubectl get sc
NAME      PROVISIONER             RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
minio     s3.csi.metal-stack.io   Delete          Immediate           false                  89d
nfs       nfs-nfs                 Delete          Immediate           false                  133d
nfs-nas   nfs-nfs-nas             Delete          Immediate           false                  121d
[root@master ~]# kubectl annotate storageclass nfs-nas storageclass.kubernetes.io/is-default-class=true
storageclass.storage.k8s.io/nfs-nas annotated
[root@master ~]# kubectl get sc
NAME                PROVISIONER             RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
minio               s3.csi.metal-stack.io   Delete          Immediate           false                  89d
nfs                 nfs-nfs                 Delete          Immediate           false                  133d
nfs-nas (default)   nfs-nfs-nas             Delete          Immediate           false                  121d

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code