Przeglądaj źródła

Añado instrucciones para hacer default la sc

creylopez 8 miesięcy temu
rodzic
commit
927ae97326
1 zmienionych plików z 4 dodań i 0 usunięć
  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