mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-25 21:54:48 +00:00
PT-2164 version flag for pt-k8s-debug-collector (#576)
* PT-2164 - pt-k8s-debug-collector does not have version flag Added flag Updated README * PT-2164 - pt-k8s-debug-collector does not have version flag Added test case * PT-2164 version flag for pt-k8s-debug-collector go fmt for src/go/pt-k8s-debug-collector/main.go * PT-2164 version flag for pt-k8s-debug-collector Updated docs/pt-k8s-debug-collector.rst
This commit is contained in:
@@ -122,7 +122,7 @@ Usage
|
||||
|
||||
``pt-k8s-debug-collector <flags>``
|
||||
|
||||
Supported Flags:
|
||||
Supported Flags
|
||||
================
|
||||
|
||||
``--resource``
|
||||
@@ -157,12 +157,18 @@ Path to kubeconfig. Default configuration be used if none specified
|
||||
|
||||
Port to use when collecting database-specific summaries. By default, 3306 will be used for PXC and MySQL, 27017 for MongoDB, and 5432 for PostgreSQL
|
||||
|
||||
``--version``
|
||||
|
||||
Print version info
|
||||
|
||||
Requirements
|
||||
============
|
||||
|
||||
- Installed, configured, and available in PATH ``kubectl``
|
||||
- Installed, configured, and available in PATH ``pt-mysql-summary`` for PXC and MySQL
|
||||
- Installed, configured, and available in PATH ``mysql`` for PXC and MySQL
|
||||
- Installed, configured, and available in PATH ``pt-mongodb-summary`` for MongoDB
|
||||
- Installed, configured, and available in PATH ``psql`` for PostgreSQL
|
||||
|
||||
Known Issues
|
||||
============
|
||||
@@ -178,4 +184,4 @@ On Kubernetes 1.21 - 1.24 warning is printed:
|
||||
metadata:
|
||||
resourceVersion: ""
|
||||
|
||||
This warning is harmless and does not affect data collection. We will remove podsecuritypolicies once everyone upgrade to Kubernetes 1.25 or newer. Before that we advise to ignore this warning.
|
||||
This warning is harmless and does not affect data collection. We will remove podsecuritypolicies once everyone upgrade to Kubernetes 1.25 or newer. Before that we advise to ignore this warning.
|
||||
|
Reference in New Issue
Block a user