You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug a clear and concise description of what the bug is.
The bug involves encountering an error while attempting to upgrade the Prometheus value using Helm. Despite meeting the documented compatibility requirements with Kubernetes version 1.19 or later, the upgrade process fails with a validation error related to the StatefulSet specification. Specifically, the error mentions an unknown field "minReadySeconds", indicating a discrepancy between the Helm chart and the Kubernetes version being used.
Upon further investigation, I found a recent commit update (Commit Link) in the Alertmanager chart (charts/alertmanager/values.yaml) introducing the minReadySeconds field. This field is referenced in the error message during the upgrade process but is not recognized, suggesting a discrepancy between the Helm chart and the Kubernetes version.
Describe the bug a clear and concise description of what the bug is.
The bug involves encountering an error while attempting to upgrade the Prometheus value using Helm. Despite meeting the documented compatibility requirements with Kubernetes version 1.19 or later, the upgrade process fails with a validation error related to the StatefulSet specification. Specifically, the error mentions an unknown field "minReadySeconds", indicating a discrepancy between the Helm chart and the Kubernetes version being used.
Upon further investigation, I found a recent commit update (Commit Link) in the Alertmanager chart (charts/alertmanager/values.yaml) introducing the minReadySeconds field. This field is referenced in the error message during the upgrade process but is not recognized, suggesting a discrepancy between the Helm chart and the Kubernetes version.
What's your helm version?
version.BuildInfo{Version:"v3.12.3", GitCommit:"3a31588ad33fe3b89af5a2a54ee1d25bfe6eaa5e", GitTreeState:"clean", GoVersion:"go1.20.7"}
What's your kubectl version?
Client Version: v1.21.1 Server Version: v1.21.14-eks-5e0fdde
Which chart?
prometheus
What's the chart version?
prometheus-25.8.2
How to reproduce it?
I get my current_values by this command
❯ helm show values prometheus-community/prometheus -n prometheus
After edit some configuration, I can't upgrade my helm
❯ helm upgrade prometheus prometheus-community/prometheus -n prometheus -f current_values.yaml
Error: UPGRADE FAILED: error validating "": error validating data: ValidationError(StatefulSet.spec): unknown field "minReadySeconds" in io.k8s.api.apps.v1.StatefulSetSpec
Enter the command that you execute and failing/misfunctioning.
helm upgrade prometheus prometheus-community/prometheus -n prometheus -f current_values.yaml
The text was updated successfully, but these errors were encountered: