environment hardware-specification update
Update a specific hardware specification.
Syntax
cpd-cli environment hardware-specification update \
--hardware-specification-id=<hardware-specification-guid> \
--profile=<cpd-profile-name> \
[--context=<catalog-project-or-space-id>] \
[--cpd-config=<cpd-config-location>] \
[--cpd-scope=<cpd-scope>] \
[--cpu-model<cpu-model-name>] \
[--cpu-units=<number-of-cpus>] \
[--description=<hardware-specification-description>] \
[--gpu-name=<gpu-name>] \
[--gpu-num=<number-of-gpus>] \
[--jmes-query=<jmespath-query>] \
[--mem-size=<memory-size-value>] \
[--name=<hardware-specification-name>] \
[--nodes-num=<compute-nodes-value>] \
[--output=json|yaml|table] \
[--output-file=<output-file-location>] \
[--project-id=<project-id>] \
[--quiet] \
[--raw-output=true|false] \
[--space-id=<space-identifier>] \
[--spark-driver-cpu-model=<spark-driver-cpu-name>] \
[--spark-driver-cpu-units=<number-of-spark-driver-cpus>] \
[--spark-driver-mem-size=<spark-driver-memory-value>] \
[--spark-drivers-num=--spark-drivers-num] \
[--spark-executor-cpu-model=<spark-executor-cpu-model-name>] \
[--spark-executor-cpu-units=<number-of-spark-executor-cpus>] \
[--spark-executor-mem-size=<spark-executor-memory-size>] \
[--spark-executors-num=<number-of-spark-executors>] \
[--verbose]
Arguments
The environment hardware-specification update command has no arguments.
Options
Table 1: Command options
| Option | Description |
|---|---|
--context |
Specify the configuration context
name.
|
--cpd-config |
The IBM Software Hub
configuration location. For example,
$HOME/.cpd-cli/config.
|
--cpd-scope |
The IBM Software Hub space,
project, or catalog scope. For example,
cpd://default-context/spaces/7bccdda4-9752-4f37-868e-891de6c48135.
|
--cpu-model |
Specify the CPU model
name.
|
--cpu-units |
Specify the number of
CPUs.
|
--description |
Specify a
hardware specification description.
|
--gpu-name |
Specify the GPU
name.
|
--gpu-num |
Specify the number of
GPUs.
|
--hardware-specification-id |
Specify the hardware specification
GUID.
|
|
|
Display command
help.
|
--jmes-query |
Provide a JMESPath query to
customize the output.
|
--mem-size |
Specify the memory size (in
Kubernetes size strings).
|
--name |
Specify the
hardware specification name.
|
--nodes-num |
Specify the number of compute
nodes.
|
--output |
Specify an output
format.
|
--output-file |
Specify a file path where all
output is redirected.
|
--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.
|
--project-id |
Specify an IBM Software Hub
project instance.
|
--quiet |
Suppress verbose
messages.
|
--raw-output |
When set to true, single values
are not surrounded by quotation marks in
JSON output
mode.
|
--space-id |
Specify a space
identifier.
|
--spark-driver-cpu-model |
Specify the Spark driver CPU model
name.
|
--spark-driver-cpu-units |
Specify the number of Spark driver
CPUs.
|
--spark-driver-mem-size |
Specify the Spark driver memory
size value.
|
--spark-drivers-num |
Specify the number of Spark
drivers.
|
--spark-executor-cpu-model |
Specify the Spark executor CPU
model name.
|
--spark-executor-cpu-units |
Specify the number of Spark
executor CPUs.
|
--spark-executor-mem-size |
Specify the Spark executor memory
size.
|
--spark-executors-num |
Specify the number of Spark
executors.
|
--verbose |
Logs include more detailed
messages.
|