New tool: pt-k8s-debug-collector provides information for support teams

Description

This tool's purpose is to provide usable information for the support team to help understand and troubleshoot customer issues within the PXC Operator environment. Types of data collected should be the logs for the instance, a complete picture of the K8S objects related to that cluster, and the typical output expect of pt-mysql-summary for the underlying database instances.

It should be invoked by running:

Where the namespace is the K8S namespace that you should have set-context refer to, and the cluster is the name of the PerconaXtradbCluster object in Kubernetes.

There will be an analogous tool created for the PSMDB Operator as well (referenced in a separate ticket).

Environment

None

Smart Checklist

Activity

Roma Novikov January 6, 2021 at 7:11 PM

pls review the https://github.com/percona/percona-toolkit/pull/470
Content of RST file based on the tool Readme. but we need to format it.

If you need more questions/data about the tool - ping

Taras Kozub January 1, 2021 at 10:43 AM

, please contact  regarding Documentation

Peter Schwaller July 8, 2020 at 2:28 PM

We should talk to Services and get the standard options that affect which information is gathered (e.g., --all-databases).

Peter Schwaller July 8, 2020 at 2:26 PM

Taking notes during a meeting with Tyler:

Assumption is that pt-mysql-summary will be run against all members and that output (plus all the logs and K8S info) will be output in a tar.gz (or other appropriate format).  The output of this command is NOT output to stdout, but the tar.gz file.

Done

Details

Assignee

Reporter

Priority

Components

Fix versions

Needs Review

Yes

Needs Doc

Yes

Story Points

Time tracking

3d 21m logged

Sprint

Smart Checklist

Created June 18, 2020 at 7:04 PM
Updated February 29, 2024 at 8:58 PM
Resolved January 7, 2021 at 6:37 AM