Merge pull request #102022 from adtac/sbeta

graduate SuspendJob to beta
This commit is contained in:
Kubernetes Prow Robot
2021-06-22 17:18:10 -07:00
committed by GitHub
10 changed files with 85 additions and 66 deletions

View File

@@ -199,9 +199,11 @@ type JobSpec struct {
// false to true), the Job controller will delete all active Pods associated
// with this Job. Users must design their workload to gracefully handle this.
// Suspending a Job will reset the StartTime field of the Job, effectively
// resetting the ActiveDeadlineSeconds timer too. This is an alpha field and
// requires the SuspendJob feature gate to be enabled; otherwise this field
// may not be set to true. Defaults to false.
// resetting the ActiveDeadlineSeconds timer too. Defaults to false.
//
// This field is beta-level, gated by SuspendJob feature flag (enabled by
// default).
//
// +optional
Suspend *bool
}