package defaults

import "k8s.io/kubernetes/plugin/pkg/scheduler/algorithmprovider/defaults"

This is the default algorithm provider for the scheduler.

Index

Constants

const (
	// GCE instances can have up to 16 PD volumes attached.
	DefaultMaxGCEPDVolumes    = 16
	ClusterAutoscalerProvider = "ClusterAutoscalerProvider"
	StatefulSetKind           = "StatefulSet"
)

Functions

func GetEquivalencePod

func GetEquivalencePod(pod *api.Pod) interface{}

GetEquivalencePod returns a EquivalencePod which contains a group of pod attributes which can be reused.

Types

type EquivalencePod

type EquivalencePod struct {
	ControllerRef api.OwnerReference
}

EquivalencePod is a group of pod attributes which can be reused as equivalence to schedule other pods.

Source Files

defaults.go

Version
v1.5.1-beta.0
Published
Dec 13, 2016
Platform
windows/amd64
Imports
11 packages
Last checked
28 seconds ago

Tools for package owners.