Bladeren bron

Añado instrucciones para hacer default la sc

creylopez 8 maanden geleden
bovenliggende
commit
927ae97326
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  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