Переглянути джерело

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