manage
install-rsi
Install the resource specification injection (RSI) feature by creating an instance-scoped webhook.
- Required role
-
Instance administrator An instance administrator can run this command.
Extended description
If you want to use the resource specification injection (RSI) feature to customize the specifications of pods, you must install the RSI webhook. The webhook is installed in the project where IBM Cloud Pak® for Data control plane is installed.
If you have multiple instances of Cloud Pak for Data on the cluster, you must run this command for each instance where you want to use the RSI feature.
Syntax
cpd-cli manage install-rsi \
--cpd_instance_ns=<project-name> \
[--rsi_image=<image-location-and-name>] \
[--preview=true|false] \
[-v][-vv][-vvv]
Arguments
The install-rsi
command has no arguments.
Options
Option | Description |
---|---|
--cpd_instance_ns |
The project (namespace) where IBM Cloud Pak for Data is installed.
|
--rsi_image |
The location and name of the RSI image in the private container
registry.
|
--preview |
Preview the commands that run when you issue this CLI
command. The command issues a series of
The
|
-v -vv -vvv |
Display verbose output. Options are listed from least verbose to the most verbose.
|
Table 1: Command options
Examples
It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For details, see Best practice: Setting up installation environment variables.
- Install the RSI feature in the specified instance of Cloud Pak for Data
-
cpd-cli manage install-rsi \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS}
- Install the RSI feature in the specified instance of Cloud Pak for Data when the cluster pulls images from a private container registry
-
cpd-cli manage install-rsi \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} \ --rsi_image=${PRIVATE_REGISTRY_LOCATION}cpopen/cpd/zen-rsi-adm-controller:${VERSION}-x86_64