Installing the IBM Cloud Pak for Data resource specification injection webhook

After you install the IBM Cloud Pak for Data control plane, a cluster administrator can install the resource specification injection (RSI) webhook.

Installation phase
  • You are not here. Setting up a client workstation
  • You are not here. Setting up a cluster
  • You are not here. Collecting required information
  • You are not here. Preparing to run installs in a restricted network
  • You are not here. Preparing to run installs from a private container registry
  • You are not here. Preparing the cluster for Cloud Pak for Data
  • You are not here. Preparing to install an instance of Cloud Pak for Data
  • You are not here. Installing an instance of Cloud Pak for Data
  • You are here icon. Setting up the Cloud Pak for Data control plane
  • You are not here. Installing solutions and services
Who needs to complete this task?

Cluster administrator A cluster administrator must complete this task.

When do you need to complete this task?
This task is required if you plan to:
  • Use node pinning to manage entitlement
  • Apply your cluster-level HTTP proxy configuration to your Cloud Pak for Data deployment

Repeat as needed If you plan to install multiple instances of Cloud Pak for Data, you must repeat this task for each instance that you plan to install.

About this task

The resource specification injection (RSI) feature is a mutating webhook that enables you to extend Kubernetes resources that are associated with IBM Cloud Pak for Data by applying patches directly to pods that are associated with Kubernetes deployments, StatefulSets, replicasets, replicacontrollers, jobs, and cronjobs.

Use the install-rsi and enable-rsi commands to install and enable the webhook.

Procedure

To install the RSI webhook:

  1. Log the cpd-cli in to the Red Hat® OpenShift® Container Platform cluster:
    ${CPDM_OC_LOGIN}
  2. Install the RSI webhook:

    The cluster pulls images from the IBM Entitled Registry
    cpd-cli manage install-rsi \
    --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS}

    The cluster pulls images from a private container registry
    x86_64 clusters
    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
    ppc64le clusters
    cpd-cli manage install-rsi \
    --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} \
    --rsi_image=${PRIVATE_REGISTRY_LOCATION}/cpopen/cpd/zen-rsi-adm-controller:${VERSION}-ppc64le
    s390x clusters
    cpd-cli manage install-rsi \
    --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} \
    --rsi_image=${PRIVATE_REGISTRY_LOCATION}/cpopen/cpd/zen-rsi-adm-controller:${VERSION}-s390x

  3. Enable the RSI webhook:
    cpd-cli manage enable-rsi \
    --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS}

What to do next

Now that you've installed and enabled the RSI webhook, you're ready to complete Applying your entitlements to monitor and report use against license terms.