Werk #22608: Kubernetes: no crash on future conditions
| Component | Checks & agents | ||||||
| Title | Kubernetes: no crash on future conditions | ||||||
| Date | Oct 6, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
If the clock of a Kubernetes cluster ran ahead of the clock of the
Checkmk server, the Condition service of a pod could crash with
ValueError: Cannot render negative timespan while a condition was
in an unexpected state, because the condition appeared to have
changed in the future.
The affected condition now goes to UNKNOWN, states how far its last transition lies in the future and asks you to check the system time. The other conditions are reported as before.