Skip to content

Commit eb2cf6a

Browse files
committed
Introduce MultiplePodTemplatesScheduling feature gate
Signed-off-by: wei-chenglai <[email protected]>
1 parent b1ea332 commit eb2cf6a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pkg/features/features.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,16 @@ const (
103103
// owner: @jabellard
104104
// beta: v1.15
105105
ContextualLogging = logsv1.ContextualLogging
106+
107+
// MultiplePodTemplatesScheduling enables enhanced, resource-aware scheduling for workloads with multiple pod templates.
108+
// When enabled, the scheduler and resource interpreter will use the new 'GetComponentReplicas' hook and 'components' field
109+
// to support accurate resource estimation and scheduling for complex CRDs (e.g., FlinkDeployments, RayJob, VolcanoJob) that consist of
110+
// multiple components with different resource requirements. This allows for more precise FederatedResourceQuota
111+
// calculations and better placement decisions.
112+
//
113+
// owner: @mszacillo, @Dyex719, @RainbowMango, @XiShanYongYe-Chang, @zhzhuang-zju, @seanlaii
114+
// alpha: v1.15
115+
MultiplePodTemplatesScheduling featuregate.Feature = "MultiplePodTemplatesScheduling"
106116
)
107117

108118
var (
@@ -128,6 +138,7 @@ var (
128138
LoggingAlphaOptions: {Default: false, PreRelease: featuregate.Alpha},
129139
LoggingBetaOptions: {Default: true, PreRelease: featuregate.Beta},
130140
ContextualLogging: {Default: true, PreRelease: featuregate.Beta},
141+
MultiplePodTemplatesScheduling: {Default: false, PreRelease: featuregate.Alpha},
131142
}
132143
)
133144

0 commit comments

Comments
 (0)