Documentation
¶
Overview ¶
Package clusterloader implements cluster loader. ref. https://github.com/kubernetes/perf-tests/tree/master/clusterloader2 ref. https://github.com/kubernetes/perf-tests/tree/master/clusterloader2/testing/overrides
Index ¶
Constants ¶
View Source
const TemplateTestOverrides = `` /* 555-byte string literal not displayed */
ref. https://github.com/kubernetes/perf-tests/tree/master/clusterloader2/testing/load ref. https://github.com/kubernetes/perf-tests/tree/master/clusterloader2/testing/overrides
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Logger *zap.Logger
Stopc chan struct{}
// KubeConfigPath is the kubeconfig path.
// Optional. If empty, uses in-cluster client configuration.
KubeConfigPath string
// ClusterLoaderPath is the clusterloader executable binary path.
// ref. https://github.com/kubernetes/perf-tests/tree/master/clusterloader2
ClusterLoaderPath string
ClusterLoaderDownloadURL string
// TestConfigPath is the clusterloader2 test configuration file.
// Set via "--testconfig" flag.
TestConfigPath string
// ReportDir is the clusterloader2 test report directory.
// Set via "--report-dir" flag.
ReportDir string
// ReportTarGzPath is the .tar.gz file path for report directory.
ReportTarGzPath string
// LogPath is the log file path to stream clusterloader binary runs.
LogPath string
// Runs is the number of "clusterloader2" runs back-to-back.
Runs int
Timeout time.Duration
// Nodes is the number of nodes.
// Set via "--nodes" flag.
Nodes int
NodesPerNamespace int
PodsPerNode int
BigGroupSize int
MediumGroupSize int
SmallGroupSize int
SmallStatefulSetsPerNamespace int
MediumStatefulSetsPerNamespace int
CL2LoadTestThroughput int
CL2EnablePVS bool
PrometheusScrapeKubeProxy bool
EnableSystemPodMetrics bool
}
Config configures cluster loader.
Click to show internal directories.
Click to hide internal directories.