瀏覽代碼

Añado instrucciones para hacer default la sc

creylopez 8 月之前
父節點
當前提交
927ae97326
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      RANCHER_DESKTOP.md

+ 4 - 0
RANCHER_DESKTOP.md

@@ -191,6 +191,10 @@ and
 
 This will create the provisioner as well as a default storage class named ```local-path```
 
+To make ```local-path``` StorageClass the default:
+
+    kubectl patch storageclass local-path -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"false"}}}'
+
 Your PVCs either specify to use this storage class or don't specify anything and the default will be used.
 
 Example specifying storageclass