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

package perf

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

Index

Constants

const (
	MinSaturationThreshold     = 2 * time.Minute
	MinPodsPerSecondThroughput = 8
	DensityPollInterval        = 10 * time.Second
)

Variables

var MaxContainerFailures = 0

Maximum container failures this test tolerates before failing.

Functions

func CreateNamespaces

func CreateNamespaces(f *framework.Framework, namespaceCount int, namePrefix string) ([]*v1.Namespace, error)

func GenerateConfigsForGroup

func GenerateConfigsForGroup(
	nss []*v1.Namespace,
	groupName string,
	size, count int,
	image string,
	command []string,
	kind schema.GroupKind,
	secretsPerPod int,
	configMapsPerPod int,
) ([]testutils.RunObjectConfig, []*testutils.SecretConfig, []*testutils.ConfigMapConfig)

Types

type DensityTestConfig

type DensityTestConfig struct {
	Configs           []testutils.RunObjectConfig
	ClientSet         clientset.Interface
	InternalClientset internalclientset.Interface
	PollInterval      time.Duration
	PodCount          int

	SecretConfigs    []*testutils.SecretConfig
	ConfigMapConfigs []*testutils.ConfigMapConfig
	DaemonConfigs    []*testutils.DaemonConfig
	// contains filtered or unexported fields
}

Source Files

density.go load.go

Version
v1.7.7
Published
Sep 28, 2017
Platform
js/wasm
Imports
35 packages
Last checked
5 minutes ago

Tools for package owners.