diag
Check health and gather diagnostics
for Cloud Pak for Data services.
Prerequisites
Before you run any cpd-cli
commands, ensure that
you downloaded the cpd-cli
12.0.6 command line utility for your operating system and Cloud Pak for Data edition from: https://github.com/IBM/cpd-cli/releases.
Required permissions
The diag
command requires cluster
administrator or similar roles.
Commands
Option | Description |
---|---|
delete-job |
Delete a single diagnostic job. |
download-logs |
Download a *.zip file for a single diagnostic job. |
gather-diagnostics |
Create a diagnostics log. This command requires a product ID. |
healthcheck |
Return all healthcheck information for a Cloud Pak for Data instance. This command requires a Kubernetes configuration file. |
list-jobs |
List all diagnostic jobs. |
list-services |
List all installed Cloud Pak for Data services. |
version |
Display the diag command version information. |