Skip to content
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

[kube-prometheus-stack] Unable to Update Endpoints for kubeEtcd After Installation #4538

Open
BeaverBytes opened this issue May 13, 2024 · 0 comments

Comments

@BeaverBytes
Copy link

Hi everyone, so I was able to get kube-prometheus-stack up and running successfully. I'm able to upgrade the release whenever I make changes to my own configuration (e.g. values.yaml). However, when I try update the endpoints under kubeEtcd, like below:

kubeEtcd:
  enabled: true
  ...
  endpoints:
  - 10.141.4.22
  - 10.141.4.23
  - 10.141.4.24

I get the following error:

helm upgrade stable prometheus-community/kube-prometheus-stack -n prometheus --values values.yaml
-----------------------
Error: UPGRADE FAILED: Unable to continue with update: Endpoints "stable-kube-prometheus-sta-kube-etcd" in namespace 
"kube-system" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: 
missing key "meta.helm.sh/release-name": must be set to "stable"; annotation validation error: missing key 
"meta.helm.sh/release-namespace": must be set to "prometheus"

The only way I know for making the changes is deleting the release and then create a new release of the chart. Is there another way for successfully upgrading the release after add new endpoints?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant