2020-11-11 02:10:30 +00:00
2020-11-11 00:26:53 +00:00
2020-11-10 17:19:17 +00:00
2020-09-01 19:57:11 +00:00
2020-11-11 02:10:30 +00:00
2020-09-01 19:57:11 +00:00
2020-01-29 13:49:02 -08:00
2019-07-05 22:38:40 +00:00
2020-09-01 19:57:11 +00:00
2020-01-30 21:01:06 +00:00
2020-11-10 17:19:17 +00:00
2020-11-10 17:19:17 +00:00
2019-07-19 00:55:32 +00:00
2020-11-10 17:19:17 +00:00
2019-07-05 22:38:40 +00:00
2020-11-10 17:19:17 +00:00

Replicated Troubleshoot

Replicated Troubleshoot is a framework for collecting, redacting, and analyzing highly customizable diagnostic information about a Kubernetes cluster. Troubleshoot specs are created by 3rd-party application developers/maintainers and run by cluster operators in the initial and ongoing operation of those applications.

Troubleshoot provides two CLI tools as kubectl plugins (using Krew): kubectl preflight and kubectl support-bundle. Preflight provides pre-installation cluster conformance testing and validation (preflight checks) and support-bundle provides post-installation troubleshooting and diagnostics (support bundles).

Preflight Checks

Preflight checks are an easy-to-run set of conformance tests that can be written to verify that specific requirements in a cluster are met.

To run a sample preflight check from a sample application, install the preflight kubectl plugin:

curl https://krew.sh/preflight | bash

and run:

kubectl preflight https://preflight.replicated.com

For a details on creating the custom resource files that drive preflight checks, visit creating preflight checks.

Support Bundle

A support bundle is an archive that's created in-cluster, by collecting logs and cluster information, and executing specified commands (including redaction of sensitive information). After creating a support bundle, the cluster operator will normally deliver it to the 3rd-party application vendor for analysis and disconnected debugging. Another Replicated project, Kotsadm, provides cluster operators with an in-cluster UI for processing support bundles and viewing analyzers (as well as support bundle collection).

To collect a sample support bundle, install the troubleshoot kubectl plugin:

curl https://krew.sh/support-bundle | bash

and run:

kubectl support-bundle https://support-bundle.replicated.com

For details on creating the custom resource files that drive support-bundle collection, visit creating collectors and creating analyzers.

Community

For questions about using Troubleshoot, there's a Replicated Community forum, and a #app-troubleshoot channel in Kubernetes Slack.

Building

The following packages are required for building the project from source code:

pkg-config librrd-dev libglib2.0-dev libcairo2-dev libpango1.0-dev libpixman-1-dev libpng-dev libsdl-pango-dev libthai-dev libpcre3-dev

There are known issues with libc6 2.27-3ubuntu1.2 on Ubuntu 18. Upgrading to 2.27-3ubuntu1.3 (apt-get install libc6) resolves these.

Description
Preflight Checks and Support Bundles Framework for Kubernetes Applications
Readme Apache-2.0 34 MiB
Languages
Go 98.1%
Python 0.9%
Shell 0.8%
Makefile 0.2%