kubernetesk8s.io/kubernetes/test/e2e/autoscaling Index | Files

package autoscaling

import "k8s.io/kubernetes/test/e2e/autoscaling"

Index

Constants

const (
	DNSdefaultTimeout      = 5 * time.Minute
	ClusterAddonLabelKey   = "k8s-app"
	DNSLabelName           = "kube-dns"
	DNSAutoscalerLabelName = "kube-dns-autoscaler"
)

Functions

func ReserveMemory

func ReserveMemory(f *framework.Framework, id string, replicas, megabytes int, expectRunning bool, timeout time.Duration) func() error

func SIGDescribe

func SIGDescribe(text string, body func()) bool

func WaitForClusterSizeFunc

func WaitForClusterSizeFunc(c clientset.Interface, sizeFunc func(int) bool, timeout time.Duration) error

WaitForClusterSizeFunc waits until the cluster size matches the given function.

func WaitForClusterSizeFuncWithUnready

func WaitForClusterSizeFuncWithUnready(c clientset.Interface, sizeFunc func(int) bool, timeout time.Duration, expectedUnready int) error

WaitForClusterSizeWithUnready waits until the cluster size matches the given function and assumes some unready nodes.

Types

type CriticalAddonsOnlyError

type CriticalAddonsOnlyError struct{}

func (CriticalAddonsOnlyError) Error

func (_ CriticalAddonsOnlyError) Error() string

type DNSParamsLinear

type DNSParamsLinear struct {
	// contains filtered or unexported fields
}

type HPAScaleTest

type HPAScaleTest struct {
	// contains filtered or unexported fields
}

HPAScaleTest struct is used by the scale(...) function.

Source Files

autoscaling_timer.go cluster_autoscaler_scalability.go cluster_size_autoscaling.go dns_autoscaling.go framework.go horizontal_pod_autoscaling.go

Version
v1.8.4-beta.0
Published
Nov 8, 2017
Platform
js/wasm
Imports
34 packages
Last checked
14 minutes ago

Tools for package owners.