health
service-functionality list
Print the list of available service-functionality checks that are available on the current cluster.
Prerequisites
Pulling the required image from a private container registry
The ibm-service-functionality image is automatically
mirrored when you mirror the IBM Software Hub images
to your private container registry.
Before you run the cpd-cli
health
service-functionality command, you must authorize the client
runtime environment on your workstation to pull the ibm-service-functionality image from the private container registry:
- Ensure that Docker or Podman is running on the client workstation.
- Source your installation environment variables script.
- Authenticate to your private container registry:
- Docker
docker login ${PRIVATE_REGISTRY_LOCATION} \ -u ${PRIVATE_REGISTRY_PULL_USER} \ -p ${PRIVATE_REGISTRY_PULL_PASSWORD} - Podman
podman login ${PRIVATE_REGISTRY_LOCATION} \ -u ${PRIVATE_REGISTRY_PULL_USER} \ -p ${PRIVATE_REGISTRY_PULL_PASSWORD}
- Docker
To use the ibm-service-functionality image from your
private container registry, you must specify the following options when you run the cpd-cli
health
service-functionality command:
--image-prefix--image-tag
For example:
cpd-cli health service-functionality \
--control_plane_ns=${PROJECT_CPD_INST_OPERANDS} \
--profile=${CPD_PROFILE_NAME} \
--image-prefix=${PRIVATE_REGISTRY_LOCATION} \
--image-tag=${VERSION}.${IMAGE_ARCH}
Syntax
cpd-cli health service-functionality list \
--control_plane_ns=<project-cpd-inst-operands> \
--profile=<cpd-profile-name> \
[--image-prefix=<image-registry-prefix>] \
[--image-tag=<image-tag> \
[--log-level=debug|trace] \
[--save] \
[--verbose]
Arguments
The command has no arguments.
Options
| Option | Description |
|---|---|
--control_plane_ns
|
The project where the IBM Software
Hub control plane is installed.
|
--image-prefix |
Specify the registry that the
image should be pulled from.
|
--image-tag |
Specify the tag that identifies
the image in the repository. The tag must exist on the
|
--profile |
The name of the profile that you
created to store information about an instance of Cloud Pak for Data and your credentials for the
instance.
|
| Option | Description |
|---|---|
|
|
Display command
help.
|
--log-level |
The command log
level.
|
--save |
Save output,
resource YAML files, and pod container logs to the local file system.
|
--verbose |
Display detailed information about
resources in table format.
|
Examples
It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For more information, see Setting up installation environment variables.
- Get the list of available service health checks based on the services that are installed
-
cpd-cli health service-functionality list \ --control_plane_ns=${PROJECT_CPD_INST_OPERANDS} \ --profile=${CPD_PROFILE_NAME}Sample output:
############################################################################ AVAILABLE SERVICE FUNCTIONALITY CHECK IDS ############################################################################ CLUSTER: https://< SERVICE ID NAME ccs Common Core Services datastage DataStage wkc IBM Knowledge Catalog ws Watson Studio