인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

wonsupjung5511's profile image
wonsupjung5511

asked

The Kubernetes Trend: Level Up Your Skills with Theory and Practice [Beginner to Intermediate]

Longhorn Storage Delete.

Written on

·

354

·

Edited

1

kubectl delete storageclasses.storage.k8s.io -n longhorn-system longhorn

This command not working.
And I also tried "kubectl delete storageclasses.storage.k8s.io -n longhorn-system longhorn --force=true", but it fails.
So I have to change the 'numberOfReplicas' as 2 in the source file and execute "vagrant destroy and vagrant up."

 

dockerkubernetes

Answer 1

0

1pro님의 프로필 이미지
1pro
Instructor

아 longhorn으로 설치하셨군요.

아래 명령으로 storageclass가 있는지 조회해보시겠어요?

kubectl get storageclasses.storage.k8s.io -n longhorn-system


wonsupjung5511's profile image
wonsupjung5511

asked

Ask a question