소스 검색

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