添加 CloudNative/Kubernetes/Base/设置默认存储类.md
This commit is contained in:
parent
e8681bba64
commit
2902aa585d
1 changed files with 3 additions and 0 deletions
3
CloudNative/Kubernetes/Base/设置默认存储类.md
Normal file
3
CloudNative/Kubernetes/Base/设置默认存储类.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
```shell
|
||||||
|
kubectl patch storageclass <存储类> -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue