Open pausanchezv opened 1 year ago
It seems that you left prometheus.prometheusSpec.storageSpec
out and inserted volumeClaimTemplate
directly in prometheus.prometheusSpec
.
You should have something like
prometheus:
prometheusSpec:
storageSpec:
volumeClaimTemplate:
spec:
storageClassName: ssd-gcp
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 5Gi
selector: {}
Describe the bug a clear and concise description of what the bug is.
Hello, I'm having trouble deploying the helm chart using the values.yaml you provide. Whereas I could customize everything I needed, there's a thing I can't do. Get the PVC created for data persistency .
The persistent volume above is never created no matter what I do.
Thanks!
What's your helm version?
version.BuildInfo{Version:"v3.10.1", GitCommit:"9f88ccb6aee40b9a0535fcc7efea6055e1ef72c9", GitTreeState:"clean", GoVersion:"go1.18.7"}
What's your kubectl version?
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.4", GitCommit:"872a965c6c6526caa949f0c6ac028ef7aff3fb78", GitTreeState:"clean", BuildDate:"2022-11-09T13:28:30Z", GoVersion:"go1.19.3", Compiler:"gc", Platform:"darwin/arm64"} Kustomize Version: v4.5.7 Server Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.5-gke.2700", GitCommit:"0e569c15f1a45483678e86ab75ca2cbca276b772", GitTreeState:"clean", BuildDate:"2023-06-22T09:23:33Z", GoVersion:"go1.19.9 X:boringcrypto", Compiler:"gc", Platform:"linux/amd64"}
Which chart?
prometheus-community/kube-prometheus-stack
What's the chart version?
latest
What happened?
Hello, I'm having trouble deploying the helm chart using the values.yaml you provide. Whereas I could customize everything I needed, there's a thing I can't do. Get the PVC created for data persistency .
The persistent volume above is never created no matter what I do.
Thanks!
What you expected to happen?
Get my data persisted. When I delete the pods all the data is gone :(
How to reproduce it?
Just deploy the chart on GCP with this values.yaml
Enter the changed values of values.yaml?
Enter the command that you execute and failing/misfunctioning.
helm install prometheus prometheus-community/kube-prometheus-stack -n monitoring -f values.yaml
It works but it does not persist.
Anything else we need to know?
No response