Skip to content

Small tool for collecting node-level metrics in OpenShift. Specifically this will be used for platform Network troubleshooting

Notifications You must be signed in to change notification settings

MichaelWasher/node-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Metrics - Must-Gather image

This repository is deprecated and has now been moved to github.com/support-tools

This repository is used to build an image for use with the OpenShift Must-Gather tool. This container image deploys a DaemonSet within the cluster that will collect SAR and other Node Metrics.

The plan is to have the list of metrics configurable through arguments or environment variables, however at this stage the collection is defined in the collect-metrics.sh script.

How to Use

Metrics collection tool is split into two parts, deploying and collecting.

Deploying

To start retaining metrics for Nodes within the cluster, the 'deploy' option is used when running the image as below:

$ oc adm must-gather --image quay.io/mwasher/node-monitor-deploy -- deploy

Adding the collect-nodes-metrics label to the desired Nodes will indicate to the tool which Nodes should be monitored.

$ oc label nodes/worker-0.dev-cluster.michael-washer.dev collect-node-metrics=""

Collecting the Metrics

To bundle and download the metrics from all labeled Nodes, the 'collect' option should be used as below:

$ oc adm must-gather --image quay.io/mwasher/node-monitor-deploy -- collect

Uninstall

To remove the metrics collectors the 'destroy' option should be used:

$ oc adm must-gather --image quay.io/mwasher/node-monitor-deploy -- destroy

About

Small tool for collecting node-level metrics in OpenShift. Specifically this will be used for platform Network troubleshooting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published