The Rancher v2.x systems summary script
This document (000020192) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Understanding your cluster/node distribution on an on-going basis assists Rancher in sending you any prescriptive advisories related to scale and performance.
System information can be collected from a Rancher v2.x server node using the Rancher v2.x systems summary script v2.
Resolution
The pod can be deployed from a host with a valid kubeconfig pointing to the local cluster (Kubernetes cluster hosting Rancher). You can deploy the pod and get the output by running the following commands:
# Deploy the pod in the cluster kubectl apply -f https://raw.githubusercontent.com/rancherlabs/support-tools/master/collection/rancher/v2.x/systems-information-v2/deploy.yaml # Wait for the pod to reach Succeeded status while [[ $(kubectl get pod rancher-systems-summary-pod -n cattle-system -o 'jsonpath={..status.phase}') != "Succeeded" ]]; do echo "Waiting for rancher-systems-summary-pod to complete..." sleep 5 done # Grab the logs from the pod kubectl logs pod/rancher-systems-summary-pod -n cattle-system # Clean up the pod kubectl delete pod/rancher-systems-summary-pod -n cattle-system
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:000020192
- Creation Date: 06-May-2021
- Modified Date:12-Aug-2024
-
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com