New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
helm delete old PVC and create another one when run upgrade #3797
Comments
This is working as intended. The only two resources that are not deleted on an upgrade are persistent volumes and namespaces. However, if you don't want a resource to be removed during an upgrade, you can apply an annotation with the value |
@bacongobbler I understand that, but my persistent volume has been deleted when run |
ok. Is there a particular action item here that we need to take action on in core? |
@thuandt Can you check the Reclaim Policy of that PV? If it's |
@anhpham1509 I use stable grafana charts and as I said I upgrade this grafana release many times without problem. Does |
@thuandt Are you using Also, it's recommended to use a database instead of sqlite while working with grafana. I also worked with grafana and did not use PV. Instead, I used an AWS RDS instance. |
@anhpham1509 thanks for your comment. |
Hi @thuandt Have you confirmed the reclaim policy? From what I could tell that chart uses storage class and (correctly) lacks a PV chart so it would seem storage class related. |
Closing due to inactivity. Please open a new ticket against Helm 3 if this issue persists. Thanks! |
This maybe related to #3208 |
I run Grafana using
stable/grafana
chart, today when I upgrade grafana to new version. seem helm was deleted my PVC and create another one.Output of
helm version
:Output of
kubectl version
:Cloud Provider/Platform (AKS, GKE, Minikube etc.): kops in AWS
Output of
helm history grafana
:I upgrade this release many times but it never happend before.
The text was updated successfully, but these errors were encountered: