manage
apply-crio
Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.6 reaches end of support. For more information, see Upgrading IBM Software Hub in the IBM Software Hub Version 5.1 documentation.
Apply the required Container Runtime Interface (CRI-O) settings to your cluster nodes.
Extended description
apply-crio command is
applicable only if you are installing one or more of the following services:- Cognos® Analytics
- Db2®
- Db2 Big SQL
- Db2 Warehouse
- Watson Discovery
- Watson Knowledge Catalog
- Watson Query
- Watson Studio
- Watson Machine Learning Accelerator
These settings are required on all deployment environments except IBM® Cloud.
To ensure that the preceding services can run correctly, you must adjust the CRI-O container settings to specify the maximum number of processes.
These settings are required for the CRI-O container runtime on the OpenShift® Container Platform cluster.
Run this command to apply the required CRI-O settings to your cluster nodes.
Syntax
cpd-cli manage apply-crio \
[--force=true|false] \
[--openshift_type=self-managed|roks|rosa|aro] \
[--preview=true|false]
Arguments
The apply-crio command has no arguments.
Options
| Option | Description |
|---|---|
--force |
Apply the node settings, even if they have already been
applied.
|
--openshift_type |
The type of Red Hat® OpenShift Container Platform cluster that you are running.
|
--preview |
Preview the commands that run when you issue this CLI
command. The command issues a series of
The
|
Examples
Use a script to create environment variables with the correct values for your environment. For details, see Best practice: Setting up install variables.
- Apply the CRI-O settings on your cluster
-
cpd-cli manage apply-crio \ --openshift_type=${OPENSHIFT_TYPE} - Override the existing CRI-O settings on your cluster
-
cpd-cli manage apply-crio \ --openshift_type=${OPENSHIFT_TYPE} \ --force=true - Preview the
occommands that you can run to apply the CRI-O settings on your cluster -
cpd-cli manage apply-crio \ --openshift_type=${OPENSHIFT_TYPE} \ --preview=true