Documentation ¶
Overview ¶
Package components implements independent aspects of the scheduler which do not use Framework or Scheduler internals, but rely solely on the Scheduler interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( c *config.Config, fw framework.Framework, ps podschedulers.PodScheduler, client *client.Client, recorder record.EventRecorder, terminate <-chan struct{}, mux *http.ServeMux, lw *cache.ListWatch, prototype *mesos.ExecutorInfo, frameworkRoles, defaultPodRoles []string, defaultCpus mresource.CPUShares, defaultMem mresource.MegaBytes, ) scheduler.Scheduler
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package algorithm implements the SchedulerAlgorithm
|
Package algorithm implements the SchedulerAlgorithm |
podschedulers
Package podschedulers defines an interface (w/ implementations) for matching pods against offers.
|
Package podschedulers defines an interface (w/ implementations) for matching pods against offers. |
Package binder implements the Binder which launched a task and let the executor do the actual binding.
|
Package binder implements the Binder which launched a task and let the executor do the actual binding. |
Package controller implements the scheduling controller which waits for pod events from the queuer (i.e.
|
Package controller implements the scheduling controller which waits for pod events from the queuer (i.e. |
Package deleter implements the deleter which listens for pod DELETE events from the apiserver and kills tasks for deleted pods.
|
Package deleter implements the deleter which listens for pod DELETE events from the apiserver and kills tasks for deleted pods. |
Package errorhandler implements the ErrorHandler which handles scheduer error and possibly requeue pods for scheduling again.
|
Package errorhandler implements the ErrorHandler which handles scheduer error and possibly requeue pods for scheduling again. |
Package framework implements the Mesos scheduler.
|
Package framework implements the Mesos scheduler. |
Package podreconciler implements pod reconcilation of pods which failed to launch, i.e.
|
Package podreconciler implements pod reconcilation of pods which failed to launch, i.e. |
Package taskreconciler implement Mesos task reconcilation.
|
Package taskreconciler implement Mesos task reconcilation. |
Click to show internal directories.
Click to hide internal directories.