diag

Important: IBM Cloud Pak® for Data Version 4.6 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.6 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 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.