配置默认存储

# 集群已有存储类型(StorageClass),执行 kubectl get sc看下当前是否设置了默认的 storageclass
kubectl get sc

kubectl patch storageclass nfs-data -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
Copyright © 2020 | 仅供学习参考,不可用于其他途径. all right reserved,powered by Gitbook Updated at 2020-04-05 16:00:39

results matching ""

    No results matching ""