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 = `` /* 686-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 ref. https://github.com/kubernetes/perf-tests/pull/1345
Variables ¶
This section is empty.
Functions ¶
func MergePodStartupLatency ¶ added in v1.4.6
func MergePodStartupLatency(datas ...measurement_util.PerfData) (perfData measurement_util.PerfData)
func ParsePodStartupLatency ¶ added in v1.4.6
func ParsePodStartupLatency(fpath string) (perfData measurement_util.PerfData, err error)
Types ¶
type Config ¶
type Config struct { Logger *zap.Logger LogWriter io.Writer Stopc chan struct{} S3API s3iface.S3API S3BucketName string // 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 ReportTarGzS3Key string // LogPath is the log file path to stream clusterloader binary runs. LogPath string LogS3Key string // PodStartupLatencyPath is the combined PodStartupLatency output path. PodStartupLatencyPath string PodStartupLatencyS3Key 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 CL2UseHostNetworkPods bool CL2LoadTestThroughput int CL2EnablePVS bool CL2SchedulerThroughputThreshold int PrometheusScrapeKubeProxy bool EnableSystemPodMetrics bool }
Config configures cluster loader.
Directories ¶
Path | Synopsis |
---|---|
Package local implements local cluster loader.
|
Package local implements local cluster loader. |
Package remote implements remote cluster loader.
|
Package remote implements remote cluster loader. |
Click to show internal directories.
Click to hide internal directories.