The Rancher v2.x Profile collector script
This document (000021615) is provided subject to the disclaimer at the end of this document.
Environment
Rancher 2.9.x+
Situation
The script needs to be downloaded and run with a kubeconfig file pointed to the local Rancher cluster or a downstream cluster where cattle-cluster-agent pods are running.
Resolution
Download and run the script
- Save the script as:
continuous_profiling.sh
Using wget:wget https://raw.githubusercontent.com/rancherlabs/support-tools/master/collection/rancher/v2.x/profile-collector/continuous_profiling.sh
Using curl:
curl -OLs
https://raw.githubusercontent.com/rancherlabs/support-tools/master/collection/rancher/v2.x/profile-collector/continuous_profiling.sh
-
Run the script:
sudo bash continuous_profiling.sh
The script will run until it receives a SIGKILL (Ctrl-C) A tarball will be generated at the same folder where the script is running. Please share that file with Rancher support.
Additional Information
More information on flags to run the script are available on Rancher 2.x Profile Collector Script README.
Rancher support should advise you on any flags that needs to be set.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021615
- Creation Date: 11-Nov-2024
- Modified Date:12-Nov-2024
-
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com