ElasticSearch PV stayed in Released status when uninstalling chart
When uninstalling a helm chart PVs are gone to status Retain-Released and PVCs are deleted. Also, when i try again to install helm chart it creates new dummy PVs and bounds them with PVCs.
I use this command to manual change Released status of PV to Available again: kubectl patch pv <pv_name> --type json -p '[{"op": "remove", "path": "/spec/claimRef/uid"}]'
Can this be done by changing yaml file and without this using the above command?
Or is there a way to prevent deleting specific PVCs when uninstalling a helm chart in order to stay in status bound?
from Recent Questions - Stack Overflow https://ift.tt/9bMhzAp
https://ift.tt/flKj1eg
Comments
Post a Comment