- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for JobPodFailurePolicy (0.31 sec)
-
pkg/controller/job/job_controller.go
// So, the job-controller evaluates the podFailurePolicy only when the Job doesn't have the SuccessCriteriaMet condition. if jobCtx.finishedCondition == nil && feature.DefaultFeatureGate.Enabled(features.JobPodFailurePolicy) { if failureTargetCondition := findConditionByType(job.Status.Conditions, batch.JobFailureTarget); failureTargetCondition != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (0) -
pkg/features/kube_features.go
// kep: https://kep.k8s.io/3329 // alpha: v1.25 // beta: v1.26 // // Allow users to specify handling of pod failures based on container exit codes // and pod conditions. JobPodFailurePolicy featuregate.Feature = "JobPodFailurePolicy" // owner: @kannon92 // kep : https://kep.k8s.io/3939 // alpha: v1.28 // beta: v1.29 // // Allow users to specify recreating pods of a job only when
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 22:51:23 UTC 2024 - 45.2K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
featuregatetesting.SetFeatureGateDuringTest(t, feature.DefaultFeatureGate, features.JobPodFailurePolicy, tc.jobPodFailurePolicy) // job manager setup clientSet := clientset.NewForConfigOrDie(&restclient.Config{Host: "", ContentConfig: restclient.ContentConfig{GroupVersion: &schema.GroupVersion{Group: "", Version: "v1"}}})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/generated.proto
// checked against the backoffLimit. This field cannot be used in combination // with restartPolicy=OnFailure. // // This field is beta-level. It can be used when the `JobPodFailurePolicy` // feature gate is enabled (enabled by default). // +optional optional PodFailurePolicy podFailurePolicy = 11; // successPolicy specifies the policy when the Job can be declared as succeeded.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 12:01:28 UTC 2024 - 29.1K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go
"successPolicy": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 12:01:28 UTC 2024 - 27.5K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/types.go
// checked against the backoffLimit. This field cannot be used in combination // with restartPolicy=OnFailure. // // This field is beta-level. It can be used when the `JobPodFailurePolicy` // feature gate is enabled (enabled by default). // +optional PodFailurePolicy *PodFailurePolicy `json:"podFailurePolicy,omitempty" protobuf:"bytes,11,opt,name=podFailurePolicy"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 40.6K bytes - Viewed (0) -
pkg/apis/batch/types.go
// checked against the backoffLimit. This field cannot be used in combination // with .spec.podTemplate.spec.restartPolicy=OnFailure. // // This field is beta-level. It can be used when the `JobPodFailurePolicy` // feature gate is enabled (enabled by default). // +optional PodFailurePolicy *PodFailurePolicy // successPolicy specifies the policy when the Job can be declared as succeeded.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 12:01:28 UTC 2024 - 33K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.27.md
phase (Succeeded or Failed, depending on the exit statuses of the pod containers) to pods which are deleted while running. This fixes the issue for jobs using pod failure policy (with JobPodFailurePolicy and PodDisruptionConditions feature gates enabled) that their pods could get stuck in the pending phase when deleted. Users who maintain controllers which relied on the fact that pods with RestartPolicy=Always
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 23:01:06 UTC 2024 - 455.3K bytes - Viewed (0) -
api/openapi-spec/v3/apis__batch__v1_openapi.json
}, "podReplacementPolicy": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 485.4K bytes - Viewed (0) -
pkg/generated/openapi/zz_generated.openapi.go
Ref: ref("k8s.io/api/batch/v1.PodFailurePolicy"), }, }, "successPolicy": { SchemaProps: spec.SchemaProps{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 3M bytes - Viewed (0)