We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba22709 commit 79b6d87Copy full SHA for 79b6d87
api/apps/v1alpha1/nemo_customizer_types.go
@@ -909,9 +909,11 @@ func (n *NemoCustomizer) GetRoleParams() *rendertypes.RoleParams {
909
},
910
}
911
912
- if n.Spec.Scheduler.Type == SchedulerTypeVolcano {
+ // Add scheduler specific rules
913
+ switch n.Spec.Scheduler.Type {
914
+ case SchedulerTypeVolcano:
915
params.Rules = append(params.Rules, volcanoRules...)
- } else if n.Spec.Scheduler.Type == SchedulerTypeRunAI {
916
+ case SchedulerTypeRunAI:
917
params.Rules = append(params.Rules, runAIRules...)
918
919
0 commit comments