Introduce PriorityBasedScheduling feature gate and enable it in develpment enviornment
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
This commit is contained in:
parent
a5ca5cc0e1
commit
380065217c
|
@ -33,7 +33,7 @@ spec:
|
|||
- --cluster-status-update-frequency=10s
|
||||
- --failover-eviction-timeout=30s
|
||||
- --controllers=*,hpaScaleTargetMarker,deploymentReplicasSyncer
|
||||
- --feature-gates=Failover=true,PropagationPolicyPreemption=true,MultiClusterService=true,StatefulFailoverInjection=true
|
||||
- --feature-gates=AllAlpha=true,AllBeta=true
|
||||
- --health-probe-bind-address=0.0.0.0:10357
|
||||
- --v=4
|
||||
livenessProbe:
|
||||
|
|
|
@ -48,6 +48,7 @@ spec:
|
|||
- --scheduler-estimator-ca-file=/etc/karmada/pki/scheduler-estimator-client/ca.crt
|
||||
- --scheduler-estimator-cert-file=/etc/karmada/pki/scheduler-estimator-client/tls.crt
|
||||
- --scheduler-estimator-key-file=/etc/karmada/pki/scheduler-estimator-client/tls.key
|
||||
- --feature-gates=AllAlpha=true,AllBeta=true
|
||||
- --v=4
|
||||
volumeMounts:
|
||||
- name: karmada-config
|
||||
|
|
|
@ -63,6 +63,15 @@ const (
|
|||
// owner: @mszacillo, @XiShanYongYe-Chang
|
||||
// alpha: v1.12
|
||||
StatefulFailoverInjection featuregate.Feature = "StatefulFailoverInjection"
|
||||
|
||||
// PriorityBasedScheduling controls whether the Priority-Based Scheduling feature is enabled.
|
||||
// When enabled, the scheduler prioritizes applications with higher priority values, ensuring they
|
||||
// are scheduled before lower-priority ones. This is useful for cluster environments where critical
|
||||
// workloads must be processed first to meet SLA requirements.
|
||||
//
|
||||
// owner: @LeonZh0u, @seanlaii, @wengyao04, @whitewindmills, @zclyne
|
||||
// alpha: v1.13
|
||||
PriorityBasedScheduling featuregate.Feature = "PriorityBasedScheduling"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -83,6 +92,7 @@ var (
|
|||
MultiClusterService: {Default: false, PreRelease: featuregate.Alpha},
|
||||
ResourceQuotaEstimate: {Default: false, PreRelease: featuregate.Alpha},
|
||||
StatefulFailoverInjection: {Default: false, PreRelease: featuregate.Alpha},
|
||||
PriorityBasedScheduling: {Default: false, PreRelease: featuregate.Alpha},
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue