mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-28 00:21:56 +00:00
Merge pull request #470 from percona/CLOUD-535
CLOUD-535 Added pt-k8s-debug-collector tool
This commit is contained in:
57
docs/pt-k8s-psmdb-summary.rst
Normal file
57
docs/pt-k8s-psmdb-summary.rst
Normal file
@@ -0,0 +1,57 @@
|
||||
==================================
|
||||
Debug collector tool
|
||||
==================================
|
||||
|
||||
Collects debug data (logs, resource statuses etc.) from a k8s/OpenShift cluster. Data is packed into the ``cluster-dump.tar.gz`` archive in the current working directory.
|
||||
|
||||
Data that will be collected
|
||||
===========================
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
"pods",
|
||||
"replicasets",
|
||||
"deployments",
|
||||
"statefulsets",
|
||||
"replicationcontrollers",
|
||||
"events",
|
||||
"configmaps",
|
||||
"secrets",
|
||||
"cronjobs",
|
||||
"jobs",
|
||||
"podsecuritypolicies",
|
||||
"poddisruptionbudgets",
|
||||
"perconaxtradbbackups",
|
||||
"perconaxtradbclusterbackups",
|
||||
"perconaxtradbclusterrestores",
|
||||
"perconaxtradbclusters",
|
||||
"clusterrolebindings",
|
||||
"clusterroles",
|
||||
"rolebindings",
|
||||
"roles",
|
||||
"storageclasses",
|
||||
"persistentvolumeclaims",
|
||||
"persistentvolumes",
|
||||
"modes",
|
||||
"your-custom-resource" (depends on 'resource' flag)
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
``pt-k8s-debug-collector <flags>``
|
||||
|
||||
Flags:
|
||||
|
||||
``--resource` targeted custom resource name (default "pxc")``
|
||||
|
||||
``--namespace` targeted namespace. By default data will be collected from all namespaces``
|
||||
|
||||
``--cluster` targeted pxc/psmdb cluster. By default data from all available clusters to be collected``
|
||||
|
||||
Requirements
|
||||
============
|
||||
|
||||
- Installed and configured ``kubectl``
|
||||
- Installed and configured ``pt-mysql-summary``
|
||||
- Installed and configured ``pt-mongodb-summary``
|
Reference in New Issue
Block a user