diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b89354..3edd1f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,10 +17,12 @@ All notable changes to this project will be documented in this file. - Reduce severity of Pod eviction errors. Previously, the operator would produce lot's of `Cannot evict pod as it would violate the pod's disruption budget` errors. With this fix, the error is reduced to an info instead ([#372]). +- Remove workaround for limiting rescheduling delay ([#378]). [#372]: https://github.com/stackabletech/commons-operator/pull/372 [#376]: https://github.com/stackabletech/commons-operator/pull/376 [#377]: https://github.com/stackabletech/commons-operator/pull/377 +[#378]: https://github.com/stackabletech/commons-operator/pull/378 ## [25.7.0] - 2025-07-23 diff --git a/rust/operator-binary/src/restart_controller/pod.rs b/rust/operator-binary/src/restart_controller/pod.rs index 08818a3..9ceed1f 100644 --- a/rust/operator-binary/src/restart_controller/pod.rs +++ b/rust/operator-binary/src/restart_controller/pod.rs @@ -172,10 +172,6 @@ async fn reconcile(pod: Arc>, ctx: Arc) -> Result { - // Clamp the rescheduling delay to a maximum of 6 months to prevent `Action::requeue` from panicking - // This workaround can be removed once https://github.com/kube-rs/kube/issues/1772 is resolved - let time_until_pod_expires = - time_until_pod_expires.min(Duration::from_secs(6 * 30 * 24 * 60 * 60)); tracing::info!( pod.expires_at = ?pod_expires_at, recheck_delay = ?time_until_pod_expires,