K8s learnings - 2020 week 5

January 31, 2020

K8s

Deleting a persistent volume claim

kubectl patch pv <pvc-ID> -p '{"metadata":{"finalizers":null}}'
kubectl patch pvc <pvc-ID> -p '{"metadata":{"finalizers":null}}'

kubectl delete pv <ID>
kubectl delete pvc <ID>

Listing storageclasses

kubectl get storageclass

Enum.reduce_while

Sources


© 2024, Built with ❤️ by Blake Dietz