diag
Important: IBM Cloud Pak® for Data
Version 4.7 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.
Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.7 reaches end of support. For more information, see Upgrading IBM Software Hub in the IBM Software Hub Version 5.1 documentation.
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
13.0.4 command-line utility for your operating system and Cloud Pak for Data edition. For more information, see Installing the Cloud Pak for Data command-line interface (cpd-cli).
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 one or more product IDs. Multiple product IDs must be in a comma-separated list. |
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. |