Documentation ¶
Index ¶
- Constants
- Variables
- func CreateNamespaces(f *framework.Framework, namespaceCount int, namePrefix string, ...) ([]*v1.Namespace, error)
- func CreateQuotas(f *framework.Framework, namespaces []*v1.Namespace, podCount int, ...) error
- func GenerateConfigsForGroup(nss []*v1.Namespace, groupName string, size, count int, image string, ...) ([]testutils.RunObjectConfig, []*testutils.SecretConfig, ...)
- func SIGDescribe(text string, body func()) bool
- type DensityTestConfig
Constants ¶
View Source
const ( PodStartupLatencyThreshold = 5 * time.Second MinSaturationThreshold = 2 * time.Minute MinPodsPerSecondThroughput = 8 DensityPollInterval = 10 * time.Second MinPodStartupMeasurements = 500 )
View Source
const ( // UnreadyNodeToleration denotes time the node can be unreachable/not ready. UnreadyNodeToleration = 15 * time.Minute )
Variables ¶
View Source
var MaxContainerFailures = 0
Maximum container failures this test tolerates before failing.
View Source
var MaxMissingPodStartupMeasurements = 0
Maximum no. of missing measurements related to pod-startup that the test tolerates.
Functions ¶
func CreateNamespaces ¶
func CreateQuotas ¶ added in v1.10.0
func GenerateConfigsForGroup ¶
func SIGDescribe ¶
Types ¶
type DensityTestConfig ¶
type DensityTestConfig struct { Configs []testutils.RunObjectConfig ClientSets []clientset.Interface InternalClientsets []internalclientset.Interface ScaleClients []scaleclient.ScalesGetter PollInterval time.Duration PodCount int SecretConfigs []*testutils.SecretConfig ConfigMapConfigs []*testutils.ConfigMapConfig DaemonConfigs []*testutils.DaemonConfig // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.