package components

import "k8s.io/kubernetes/contrib/mesos/pkg/scheduler/components"

Package components implements independent aspects of the scheduler which do not use Framework or Scheduler internals, but rely solely on the Scheduler interface.

Index

Functions

func New

func New(
	c *config.Config,
	fw framework.Framework,
	ps podschedulers.PodScheduler,
	client *clientset.Clientset,
	recorder record.EventRecorder,
	terminate <-chan struct{},
	mux *http.ServeMux,
	lw *cache.ListWatch,
	taskConfig podtask.Config,
	defaultCpus resources.CPUShares,
	defaultMem resources.MegaBytes,
) scheduler.Scheduler

Source Files

doc.go podstoreadapter.go scheduler.go

Directories

PathSynopsis
contrib/mesos/pkg/scheduler/components/algorithmPackage algorithm implements the SchedulerAlgorithm
contrib/mesos/pkg/scheduler/components/algorithm/podschedulersPackage podschedulers defines an interface (w/ implementations) for matching pods against offers.
contrib/mesos/pkg/scheduler/components/binderPackage binder implements the Binder which launched a task and let the executor do the actual binding.
contrib/mesos/pkg/scheduler/components/controllerPackage controller implements the scheduling controller which waits for pod events from the queuer (i.e.
contrib/mesos/pkg/scheduler/components/deleterPackage deleter implements the deleter which listens for pod DELETE events from the apiserver and kills tasks for deleted pods.
contrib/mesos/pkg/scheduler/components/errorhandlerPackage errorhandler implements the ErrorHandler which handles scheduer error and possibly requeue pods for scheduling again.
contrib/mesos/pkg/scheduler/components/frameworkPackage framework implements the Mesos scheduler.
contrib/mesos/pkg/scheduler/components/framework/frameworkid
contrib/mesos/pkg/scheduler/components/framework/frameworkid/etcd
contrib/mesos/pkg/scheduler/components/framework/frameworkid/zk
contrib/mesos/pkg/scheduler/components/podreconcilerPackage podreconciler implements pod reconciliation of pods which failed to launch, i.e.
contrib/mesos/pkg/scheduler/components/tasksreconcilerPackage taskreconciler implement Mesos task reconciliation.
Version
v1.4.1-beta.0
Published
Sep 26, 2016
Platform
js/wasm
Imports
24 packages
Last checked
14 seconds ago

Tools for package owners.