-
Notifications
You must be signed in to change notification settings - Fork 147
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
metadata.resourceVersion: Invalid value: \"\" #1200
Comments
Hello, could you please share your kubernetes cluster version? |
kubernetes cluster version v1.17.6 |
metadata.resourceVersion should be kept for backward backward-compatibility with older Kubernetes cluster version. For instance, any Kubernetes version requires `resourceVersion` to be set for `PodDisruptionBudget`. Kubernetes versions before v1.23 requires `resourceVersion` for `Service`. This commit copies significant metadata fields: - generation - resourceVersion - creationTimestamp for `Update` API requests. Related issue: #1200 Signed-off-by: f41gh7 <[email protected]>
Thanks! An Issue seems to be related to the old Kubernetes version, before v1.23 version API server requires This issue will be fixed at upcoming |
The issue was fixed at v0.51.2 release |
{"level":"info","ts":"2024-12-21T06:34:46Z","logger":"controller.VMAlert","msg":"updating service vmalert-victoria-metrics-cluster configuration, is_current_equal=false, is_prev_equal=true, is_prev_nil=false","vmalert":"victoria-metrics-cluster","namespace":"monitor-system"} {"level":"error","ts":"2024-12-21T06:34:46Z","logger":"manager","msg":"Reconciler error","controller":"vmalert","controllerGroup":"operator.victoriametrics.com","controllerKind":"VMAlert","VMAlert":{"name":"victoria-metrics-cluster","namespace":"monitor-system"},"namespace":"monitor-system","name":"victoria-metrics-cluster","reconcileID":"112e8f65-2bca-46ea-80cc-6ea1071628b5","error":"cannot reconcile service for vmalert: Service \"vmalert-victoria-metrics-cluster\" is invalid: metadata.resourceVersion: Invalid value: \"\": must be specified for an update"}
{"level":"error","ts":"2024-12-21T06:33:59Z","logger":"manager","msg":"Reconciler error","controller":"vmagent","controllerGroup":"operator.victoriametrics.com","controllerKind":"VMAgent","VMAgent":{"name":"victoria-metrics-cluster","namespace":"monitor-system"},"namespace":"monitor-system","name":"victoria-metrics-cluster","reconcileID":"64b04744-1271-4826-b6e0-cdea676a8a8e","error":"cannot reconcile service for vmagent: Service \"vmagent-victoria-metrics-cluster\" is invalid: metadata.resourceVersion: Invalid value: \"\": must be specified for an update"}
get service
The text was updated successfully, but these errors were encountered: