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
	// Larger Azure VMs can actually have much more disks attached. TODO We should determine the max based on VM size
	DefaultMaxAzureDiskVolumes = 16
	ClusterAutoscalerProvider  = "ClusterAutoscalerProvider"
	StatefulSetKind            = "StatefulSet"
	KubeMaxPDVols              = "KUBE_MAX_PD_VOLS"
)

Functions

func GetEquivalencePod

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

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

Types

type EquivalencePod

type EquivalencePod struct {
	ControllerRef metav1.OwnerReference
}

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

Source Files

defaults.go

Version
v1.6.13
Published
Nov 17, 2017
Platform
js/wasm
Imports
12 packages
Last checked
2 minutes ago

Tools for package owners.