Documentation
¶
Index ¶
Constants ¶
View Source
const ( // BindingAdd is the event when a new binding is added to API server. BindingAdd = "BindingAdd" // BindingUpdate is the event when a new binding is updated to API server. BindingUpdate = "BindingUpdate" // ScheduleAttemptFailure is the event when a schedule attempt fails. ScheduleAttemptFailure = "ScheduleAttemptFailure" // PolicyChanged means binding needs to be rescheduled for the policy changed PolicyChanged = "PolicyChanged" )
View Source
const ( // ScheduleStepFilter means the step in generic scheduler to filter clusters ScheduleStepFilter = "Filter" // ScheduleStepScore means the step in generic scheduler to score clusters ScheduleStepScore = "Score" // ScheduleStepSelect means the step in generic scheduler to select clusters ScheduleStepSelect = "Select" // ScheduleStepAssignReplicas means the step in generic scheduler to assign replicas ScheduleStepAssignReplicas = "AssignReplicas" )
View Source
const SchedulerSubsystem = "karmada_scheduler"
SchedulerSubsystem - subsystem name used by scheduler
Variables ¶
This section is empty.
Functions ¶
func BindingSchedule ¶
BindingSchedule can record a scheduling attempt and the duration since `start`.
func CountSchedulerBindings ¶
func CountSchedulerBindings(event string)
CountSchedulerBindings records the number of binding added to scheduling queues by event type.
func ScheduleStep ¶
ScheduleStep can record each scheduling step duration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.