Skip to content

Tools to troubleshoot ETCD performance in OpenShift

License

Notifications You must be signed in to change notification settings

redhat-tw/etcd-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openshift etcd-tools

etcd-mg.sh

ETCD script will make collect info from MUST-GATHER, make little summary and search for errors/issues and explains what are expected values. To use it, run

./etcd-mg.sh [full path to MUST-GATHER]

or if you're missing clusterversion in your logs, here is exa

./etcd-mg.sh [full path to MUST-GATHER] false 4.10

PS: false parameter is to disable gnuplot use

must-gather-log_merger.sh

will combine logs from ETCD, haproxy, router, apiserver into one timeline printing only errors/warnings.

./must-gather-log_merger.sh -m

etcd-analyzer.sh

do

oc login

./etcd-analyzer.sh

and it will print summary of warnings, size of ETCD and number of objects.

cleanup-analyzer.sh

do

oc login

./cleanup-analyzer.sh

and it will print number of deployments, replicasets and how many of them are inactive and could be cleaned up.

fio_suite

fio_suite is benchmark tool which runs several fio tests to see how IOPS change under different load.

Run

./fio_suite.sh

or on RHCOS/Openshift

$ oc debug node/<master_node>
  [...]
  sh-4.4# chroot /host bash
  podman run --privileged --volume /var/lib/etcd:/test quay.io/peterducai/openshift-etcd-suite:latest fio

About

Tools to troubleshoot ETCD performance in OpenShift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 99.4%
  • Dockerfile 0.6%