manage
apply-db2-kubelet
Extended description
apply-db2-kubelet
command is
applicable only if you are installing one or more of the following services:- Db2®
- Db2 Warehouse SMP
- Watson™ Knowledge Catalog
An alternate procedure is required if you plan to install Db2 Warehouse MPP.
By default, Db2U runs with elevated
privileges. If you want to run Db2U with
limited privileges, you must run the apply-db2-kubelet
command to change the kernel parameter settings.
To ensure sufficient performance, Db2U
needs to manage memory settings on cluster nodes. Db2U uses kubelet
to make unsafe
sysctl
calls to manage these settings.
Run this command to apply the required kubelet
configuration to your cluster
nodes.
You can run this command only on self-managed Red Hat® OpenShift® Container Platform environments.
- Red Hat OpenShift on IBM Cloud®
- Red Hat OpenShift Service on AWS (ROSA)
- Azure Red Hat OpenShift (ARO)
Review the guidance in Changing kernel parameter settings before you run this command.
Syntax
cpd-cli manage apply-db2-kubelet \
[--force=true|false] \
[--preview=true|false]
Arguments
The apply-db2-kubelet
command has no arguments.
Options
Option | Description |
---|---|
--force |
Apply the node settings, even if they have already been
applied.
|
--preview |
Preview the commands that run when you issue this CLI
command. The command issues a series of
The
|
cpd-cli
included the --openshift_type
option.
This option was removed in Version 12.0.3 of the cpd-cli
because the command can be run only on self-managed Red Hat
OpenShift Container Platform.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
kubelet
settings on your cluster -
cpd-cli manage apply-db2-kubelet
- Override the existing
kubelet
settings on your cluster -
cpd-cli manage apply-db2-kubelet \ --force=true
- Preview the
oc
commands that you can run to apply thekubelet
settings on your cluster -
cpd-cli manage apply-db2-kubelet \ --preview=true