Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

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
2.4.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.3.0p22 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

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.

To the list of all Werks