defaults

package
v1.5.0-alpha.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

This is the default algorithm provider for the scheduler.

Index

Constants

View Source
const (
	// GCE instances can have up to 16 PD volumes attached.
	DefaultMaxGCEPDVolumes    = 16
	ClusterAutoscalerProvider = "ClusterAutoscalerProvider"
	PetSetKind                = "PetSet"
)

Variables

This section is empty.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL