Documentation
¶
Index ¶
- Constants
- func CreateNodeSelectorPods(f *framework.Framework, id string, replicas int, ...)
- func ReserveMemory(f *framework.Framework, id string, replicas, megabytes int, expectRunning bool, ...)
- func WaitForClusterSizeFunc(c clientset.Interface, sizeFunc func(int) bool, timeout time.Duration) error
- func WaitForClusterSizeFuncWithUnready(c clientset.Interface, sizeFunc func(int) bool, timeout time.Duration, ...) error
- type DNSParamsLinear
- type HPAScaleTest
Constants ¶
View Source
const (
DNSdefaultTimeout = 5 * time.Minute
ClusterAddonLabelKey = "k8s-app"
DNSLabelName = "kube-dns"
DNSAutoscalerLabelName = "kube-dns-autoscaler"
)
Variables ¶
This section is empty.
Functions ¶
func CreateNodeSelectorPods ¶
func CreateNodeSelectorPods(f *framework.Framework, id string, replicas int, nodeSelector map[string]string, expectRunning bool)
func ReserveMemory ¶
func ReserveMemory(f *framework.Framework, id string, replicas, megabytes int, expectRunning bool, timeout time.Duration)
func WaitForClusterSizeFunc ¶
func WaitForClusterSizeFunc(c clientset.Interface, sizeFunc func(int) bool, timeout time.Duration) error
WaitForClusterSize 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 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.
Click to show internal directories.
Click to hide internal directories.