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
But when we run the first command, got this error:
$ kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.75.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
error: Apply failed with 3 conflicts: conflicts with "helm-controller" using apiextensions.k8s.io/v1:
- .metadata.annotations.controller-gen.kubebuilder.io/version
- .metadata.annotations.operator.prometheus.io/version
- .spec.versions
Please review the fields above--they currently have other managers. Here
are the ways you can resolve this warning:
* If you intend to manage all of these fields, please re-run the apply
command with the `--force-conflicts` flag.
* If you do not intend to manage all of the fields, please edit your
manifest to remove references to the fields that should keep their
current managers.
* You may co-own fields by updating your manifest to match the existing
value; in this case, you'll become the manager if the other manager(s)
stop managing the field (remove it from their configuration).
See https://kubernetes.io/docs/reference/using-api/server-side-apply/#conflicts
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Scenario
We have installed in a EKS cluster
kube-prometheus-stack
v58.1.2 and we want to update it to v61.3.1.We need to run manually a few commands first before the upgrade according to the release notes:
The bug
But when we run the first command, got this error:
I found these two threads (1 and 2) talking about this same issue and the solution provided was Controlling the lifecycle of Custom Resource Definitions.
I changed the kube-prometheus-stack Helm Release but i am still getting the same error. Also tried to restart the prometheus and operator pods:
kube-prometheus-stack Helm Release
Do you know if i am doing something wrong or what i am missing?
Beta Was this translation helpful? Give feedback.
All reactions