helm install stable/nfs-client-provisioner --set nfs.server=19fb4b48551-qxp55.cn-chengdu.nas.aliyuncs.com --set nfs.path=/dynamic_sc --name nfs-client-provisioner

设置为默认的storageclass

kubectl patch storageclass nfs-client -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'

kubectl get sc

Copyright © 运维知识库 all right reserved,powered by Gitbook文件修订时间: 2023-09-19 10:45:38

results matching ""

    No results matching ""