Collecting the logs and the inspection information
You can collect the logs and inspection information for MSDP Scaleout for troubleshooting purpose.
Run the command kubectl msdp collect-logs
For example, kubectl msdp collect-logs -o <output path> [-n <MSDP operator namespace>] [-c <MSDP applications namespace(s)>]
Table: collect-logs command options
Option | Description |
|---|---|
-c | Comma-separated namespaces of MSDP applications. Note: If not specified, it collects MSDP applications of all namespaces. |
-f | Output format of logs/core files/MSDP history files. Available options: targz: Copy logs/core files/MSDP history files from containers and compress them by tar/gzip. raw: Copy logs/core files/MSDP history files from containers as same format in the containers. Default value: targz |
-n | Namespace of MSDP operator. Default value: msdp-operator-system |
-o | Output path of the log file. |