kubernetes: k8s.io/kubernetes/test/e2e/network/scale Index | Files | Directories

package scale

import "k8s.io/kubernetes/test/e2e/network/scale"

Index

Package Files

ingress.go

type IngressScaleFramework Uses

type IngressScaleFramework struct {
    Clientset     clientset.Interface
    Jig           *ingress.TestJig
    GCEController *gce.IngressController
    CloudConfig   framework.CloudConfig
    Logger        ingress.TestLogger

    Namespace        string
    EnableTLS        bool
    NumIngressesTest []int
    OutputFile       string

    ScaleTestDeploy *appsv1.Deployment
    ScaleTestSvcs   []*v1.Service
    ScaleTestIngs   []*networkingv1beta1.Ingress

    // BatchCreateLatencies stores all ingress creation latencies, in different
    // batches.
    BatchCreateLatencies [][]time.Duration
    // BatchDurations stores the total duration for each ingress batch creation.
    BatchDurations []time.Duration
    // StepCreateLatencies stores the single ingress creation latency, which happens
    // after each ingress batch creation is complete.
    StepCreateLatencies []time.Duration
    // StepCreateLatencies stores the single ingress update latency, which happens
    // after each ingress batch creation is complete.
    StepUpdateLatencies []time.Duration
}

IngressScaleFramework defines the framework for ingress scale testing.

func NewIngressScaleFramework Uses

func NewIngressScaleFramework(cs clientset.Interface, ns string, cloudConfig framework.CloudConfig) *IngressScaleFramework

NewIngressScaleFramework returns a new framework for ingress scale testing.

func (*IngressScaleFramework) CleanupScaleTest Uses

func (f *IngressScaleFramework) CleanupScaleTest() []error

CleanupScaleTest cleans up framework for ingress scale testing.

func (*IngressScaleFramework) GetFormattedLatencies Uses

func (f *IngressScaleFramework) GetFormattedLatencies() string

GetFormattedLatencies returns the formatted latencies output. TODO: Need a better way/format for data output.

func (*IngressScaleFramework) PrepareScaleTest Uses

func (f *IngressScaleFramework) PrepareScaleTest() error

PrepareScaleTest prepares framework for ingress scale testing.

func (*IngressScaleFramework) RunScaleTest Uses

func (f *IngressScaleFramework) RunScaleTest() []error

RunScaleTest runs ingress scale testing.

Directories

PathSynopsis
localrun

Package scale imports 14 packages (graph) and is imported by 56 packages. Updated 2019-07-13. Refresh now. Tools for package owners.