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
chore: Reduce severity of Pod eviction errors (#372)
* chore: Reduce severity of Pod eviciton errors
* clippy
* changelog
* Update slab to fix RUSTSEC-2025-0047
* Regenerate nix lockfile
* Add the pod to the warning message
* Filter for specific error message
* Use k8s.object_ref
* Update rust/operator-binary/src/restart_controller/pod.rs
Co-authored-by: Nick <[email protected]>
---------
Co-authored-by: Nick <[email protected]>
/// The Pod restart controller has special handling, as it produced lot's of error messages below.
196
+
/// They are expected, as we intentionally use the `Evict` API to restart Pods before e.g. the
197
+
/// certificate expires. We roll out PDBs by default. If we try to restart multiple Pods that are
198
+
/// part of a PDB, we get this errors.
199
+
/// Because of this, we don't emit an error for this case, but only product a INFO trace.
200
+
///
201
+
/// `ERROR stackable_operator::logging::controller: Failed to reconcile object controller.name="pod.restarter.commons.stackable.tech" error=reconciler for object Pod.v1./trino-worker-default-0.default failed error.sources=[failed to evict Pod, ApiError: Cannot evict pod as it would violate the pod's disruption budget.: TooManyRequests (ErrorResponse { status: "Failure", message: "Cannot evict pod as it would violate the pod's disruption budget.", reason: "TooManyRequests", code: 429 }), Cannot evict pod as it would violate the pod's disruption budget.: TooManyRequests]`
202
+
#[allow(clippy::type_complexity)]// The result type complexity comes from kube-rs and is what it is
0 commit comments