This repository contains support tools maintained by Mattox Engineering to assist with investigating and troubleshooting issues with Kubernetes clusters, as well as other maintenance tasks.
This repository contains scripts that can cause harm if used without proper guidance. We advise reaching out to Mattox Engineering support before executing any of these scripts in production environments. Failure to do so could incur production downtime.
The repository consists of the following directories:
- logs-collector: Non-mutating, non-destructive scripts for collecting diagnostic information and logs from Kubernetes nodes. Supports RKE2, RKE1, K3s, and kubeadm clusters.
Download and run the logs collector on a Kubernetes node:
curl -OLs https://raw.githubusercontent.com/supporttools/scripts/main/logs-collector/rancher2_logs_collector.sh
sudo bash rancher2_logs_collector.shSee logs-collector/README.md for detailed usage and options.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.