manage get-cluster-component-scale-config

Get the current scaling configuration for the specified shared cluster component.

Required role
Cluster administrator You must be a cluster administrator to run this command.

Extended description

You can get the scaling configuration of the following cluster components:

  • Scheduling service

The command returns information about the current scaling configuration.

Syntax

cpd-cli manage get-cluster-component-scale-config \
--cluster_component_ns=<project-name> \
--component=<component-name> \
--release=<version>

Arguments

The get-cluster-component-scale-config command has no arguments.

Options

Table 1: Command options
Option Description
--cluster_component_ns The project where the cluster-wide component that you want to get the status of is installed.
Status
Required.
Syntax
--cluster_component_ns=<project-name>
Default value
No default. User defined.
Valid values
The project where the cluster-wide component that you want to get the status of is installed.
--component The component for which you want to see the current scaling configuration.
Status
Required.
Syntax
--component=<component-name>
Default value
No default.
Valid values
  • scheduler
--release The release of IBM Software Hub that corresponds to the version of the shared cluster component that is installed in the specified project.
Status
Required.
Syntax
--release=<version>
Default value
No default. You must specify the release.
Valid values
  • 5.1.0
  • 5.1.1
  • 5.1.2
  • 5.1.3

Examples

Note: The following example uses the recommended installation environment variables.

It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For details, see Setting up installation environment variables.

Get the current scaling configuration of the scheduling service
cpd-cli manage get-cluster-component-scale-config \
--cluster_component_ns=${PROJECT_SCHEDULING_SERVICE} \
--component=scheduler \
--release=${VERSION}