Skip to content

A client tool for gathering information about an operator managed component.

License

Notifications You must be signed in to change notification settings

juanvallejo/must-gather

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

must-gather

openshift-must-gather is a tool for collecting cluster data. It dumps clusteroperator data, and associated namespace data, into a specified --base-dir location. The directory structure, as well as specific details behind this tool can be found in this doc.

Building

Place in GOPATH under src/github.com/openshift/must-gather.

Build with:

$ make

Before Running: Make sure you have a KUBECONFIG environment variable set, and that it points to a valid admin kubeconfig file. Alternatively, provide a filepath to a valid admin.kubeconfig file via the --kubeconfig flag.

Run with:

./bin/openshift-must-gather inspect clusteroperator/<name>

Note: it is possible to run this tool to collect all clusteroperator data by omitting a <name>:

./bin/openshift-must-gather inspect clusteroperators

Developers Only

WARNING: The following tool is provided with no guarantees and might (and will) be changed at any time. Please do not rely on anything below in your scripts or automatization.

Beside the oppenshift-must-gather binary the openshift-dev-helpers binary is also provided. This binary combines various tools useful for the OpenShift developers teams.

To list all events recorded during a test run and stored in events.json file, you can run this command:

./bin/openshift-dev-helpers events https://storage.googleapis.com/origin-ci-test/pr-logs/.../artifacts/e2e-aws/events.json --component=openshift-apiserver-operator

About

A client tool for gathering information about an operator managed component.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.1%
  • Makefile 1.1%
  • Dockerfile 0.8%