mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-02-14 18:29:53 +00:00
* stashing changes * split filesystem collector into fio and legacy functions * read fio results into analyzer * remove test script * update go.mod * remove old notes * go mod tidy * fix up go.mod * fix up go.mod * refactor tests for fio * make schemas * remove local scripts * local watch script for building troubleshoot * document watch script * fix var names * handle errors if run as non-root * go mod tidy * use String interface * collector happy path test * invalid filesize * invalid filesize * tests * remove old code * remove old init function * let actions tests run this * clean up tests * go mod tidy * remove duplicated type declaration * remove old file create code
20 lines
533 B
YAML
20 lines
533 B
YAML
apiVersion: troubleshoot.sh/v1beta2
|
|
kind: HostPreflight
|
|
metadata:
|
|
name: sample
|
|
spec:
|
|
collectors:
|
|
- filesystemPerformance:
|
|
collectorName: Filesystem Latency Two Minute Benchmark
|
|
timeout: 2m
|
|
directory: /var/lib/etcd
|
|
fileSize: 22Mi
|
|
operationSizeBytes: 2300
|
|
datasync: true
|
|
enableBackgroundIOPS: true
|
|
backgroundIOPSWarmupSeconds: 10
|
|
backgroundWriteIOPS: 300
|
|
backgroundWriteIOPSJobs: 6
|
|
backgroundReadIOPS: 50
|
|
backgroundReadIOPSJobs: 1
|