Documentation ¶
Index ¶
Constants ¶
View Source
const MsgUnschedulable = "Failed to schedule shoot"
MsgUnschedulable is the Message for the Event on a Shoot that the Scheduler creates in case it cannot schedule the Shoot to any Seed
Variables ¶
This section is empty.
Functions ¶
func NewReconciler ¶ added in v1.19.0
func NewReconciler( l logrus.FieldLogger, config *config.SchedulerConfiguration, gardenClient kubernetes.Interface, recorder record.EventRecorder, ) reconcile.Reconciler
NewReconciler creates a new instance of a reconciler which schedules Shoots.
Types ¶
type SchedulerController ¶
type SchedulerController struct {
// contains filtered or unexported fields
}
SchedulerController controls Seeds.
func NewGardenerScheduler ¶
func NewGardenerScheduler( ctx context.Context, clientMap clientmap.ClientMap, config *config.SchedulerConfiguration, recorder record.EventRecorder, ) ( *SchedulerController, error, )
NewGardenerScheduler creates a new scheduler controller.
func (*SchedulerController) CollectMetrics ¶
func (c *SchedulerController) CollectMetrics(ch chan<- prometheus.Metric)
CollectMetrics implements gardenmetrics.ControllerMetricsCollector interface
func (*SchedulerController) Run ¶
func (c *SchedulerController) Run(ctx context.Context)
Run runs the SchedulerController until the given stop channel can be read from.
func (*SchedulerController) RunningWorkers ¶
func (c *SchedulerController) RunningWorkers() int
RunningWorkers returns the number of running workers.
Click to show internal directories.
Click to hide internal directories.