Documentation ¶
Overview ¶
Package service contains the cmd/k8sm-scheduler glue code
Index ¶
Constants ¶
View Source
const (
SCHEDULER_SERVICE_NAME = "k8sm-scheduler"
)
Variables ¶
This section is empty.
Functions ¶
func StaticPodValidator ¶ added in v1.2.0
func StaticPodValidator( defaultContainerCPULimit resources.CPUShares, defaultContainerMemLimit resources.MegaBytes, accumCPU, accumMem *float64, ) podutil.FilterFunc
StaticPodValidator discards a pod if we can't calculate resource limits for it.
Types ¶
type SchedulerServer ¶
type SchedulerServer struct {
// contains filtered or unexported fields
}
func NewSchedulerServer ¶
func NewSchedulerServer() *SchedulerServer
NewSchedulerServer creates a new SchedulerServer with default parameters
func (*SchedulerServer) AddHyperkubeFlags ¶
func (s *SchedulerServer) AddHyperkubeFlags(fs *pflag.FlagSet)
func (*SchedulerServer) AddStandaloneFlags ¶
func (s *SchedulerServer) AddStandaloneFlags(fs *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.