Skip to content

Commit 3dec25b

Browse files
authored
Merge pull request #6024 from carlory/rename-fg
Rename feature gate EnableWorkloadWithJob to WorkloadWithJob
2 parents b7ab77b + 9e30fd4 commit 3dec25b

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

keps/sig-apps/5547-integrate-workload-with-job/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ We will add the following integration tests to the Job controller `https://githu
423423

424424
#### Alpha (v1.36)
425425

426-
- Feature is implemented behind feature gate `EnableWorkloadWithJob` (default: disabled)
426+
- Feature is implemented behind feature gate `WorkloadWithJob` (default: disabled)
427427
- Job controller creates `Workload` and `PodGroup` objects for Jobs when feature gate is enabled
428428
- Gang scheduling policy applied to indexed parallel Jobs (`parallelism > 1`, `completions = parallelism`, `completionMode: Indexed`)
429429
- non-gang scheduling Jobs will not have `Workload` and `PodGroup` objects created
@@ -443,7 +443,7 @@ We will add the following integration tests to the Job controller `https://githu
443443
- Elastic Indexed Jobs must be supported (beta blocker)
444444
- The controller needs a mechanism to delete `PodGroup`/`Workload` in the case of suspended Jobs and recreate on resume.
445445
- Create `Workload` and `PodGroup` objects for all non-gang scheduling Jobs with `BasicSchedulingPolicy`
446-
- Feature gate `EnableWorkloadWithJob` is enabled by default
446+
- Feature gate `WorkloadWithJob` is enabled by default
447447
- Address feedback from alpha
448448
- E2e tests covering gang scheduling scenarios
449449
- Metrics for monitoring `Workload`/`PodGroup` creation and scheduling outcomes
@@ -506,7 +506,7 @@ There are different Skew scenarios involving the kube-scheduler:
506506
###### How can this feature be enabled / disabled in a live cluster?
507507

508508
- [x] Feature gate (also fill in values in `kep.yaml`)
509-
- Feature gate name: `EnableWorkloadWithJob`
509+
- Feature gate name: `WorkloadWithJob`
510510
- Components depending on the feature gate:
511511
- kube-controller-manager
512512
- kube-apiserver
@@ -527,7 +527,7 @@ Yes. When the feature gate is enabled:
527527

528528
###### Can the feature be disabled once it has been enabled (i.e. can we roll back the enablement)?
529529

530-
Yes. The feature can be disabled (`EnableWorkloadWithJob: false`).
530+
Yes. The feature can be disabled (`WorkloadWithJob: false`).
531531

532532
###### What happens if we reenable the feature if it was previously rolled back?
533533

@@ -664,7 +664,7 @@ No. This feature is purely control-plane and does not affect node resources.
664664

665665
###### What steps should be taken if SLOs are not being met to determine the problem?
666666

667-
- Verify `EnableWorkloadWithJob` is enabled on all control plane components
667+
- Verify `WorkloadWithJob` is enabled on all control plane components
668668
- Check controller-manager logs for errors related to `Workload`/`PodGroup` creation
669669
- Review existing metrics `job_sync_duration_seconds`, `workload_creation_duration_seconds`
670670
- Check resource constraints since gang scheduling may fail if cluster doesn't have sufficient resources

keps/sig-apps/5547-integrate-workload-with-job/kep.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ milestone:
3232
stable: "v1.39"
3333

3434
feature-gates:
35-
- name: EnableWorkloadWithJob
35+
- name: WorkloadWithJob
3636
components:
3737
- kube-apiserver
3838
- kube-controller-manager

0 commit comments

Comments
 (0)