SUSE Support

Here When You Need Us

The Rancher v2.x systems summary script

This document (000020192) is provided subject to the disclaimer at the end of this document.

Environment

A Rancher v2.x instance

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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.