Werk #17215: kube: Fix Agent exited with code 1: 'Failuretarget' is not a valid JobConditionType
Component | Checks & agents | ||||
Title | kube: Fix Agent exited with code 1: 'Failuretarget' is not a valid JobConditionType | ||||
Date | Nov 27, 2024 | ||||
Level | Trivial Change | ||||
Class | Bug Fix | ||||
Compatibility | Compatible - no manual interaction needed | ||||
Checkmk versions & editions |
|
In Kubernetes 1.31, the feature JobSuccessPolicy
has been enabled by default.
With this feature a new JobCondition
is exposed via the API, which resulted in the following error:
Agent exited with code 1: 'Failuretarget' is not a valid JobConditionType
This error has been fixed. The new conditions FailureTarget
and SuccessCriteriaMet
are treated the same as the Failure
and Success
conditions respectively.