stresser

package
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package stresser implements cluster load tests. ref. https://github.com/kubernetes/perf-tests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Logger *zap.Logger
	Stopc  chan struct{}

	Client        k8s_client.EKS
	ClientTimeout time.Duration

	Deadline time.Time

	NamespaceWrite string
	NamespacesRead []string

	ObjectSize int
	ListLimit  int64

	WritesJSONPath string
	ReadsJSONPath  string
}

Config configures cluster loader.

type Loader

type Loader interface {
	Start()
	Stop()
	CollectMetrics() (writes metrics.RequestsSummary, reads metrics.RequestsSummary, err error)
}

Loader defines cluster loader operations.

func New

func New(cfg Config) Loader

Directories

Path Synopsis
Package local implements cluster local load tests.
Package local implements cluster local load tests.
Package remote implements cluster remote load tests.
Package remote implements cluster remote load tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL