Configuring Red Hat OpenShift to set IPC kernel parameters
In a limited privileged deployment of Db2, you must enable unsafe sysctls to meet the enforced minimum values for interprocess communication (IPC) kernel parameters.
Before you begin
KubeletConfig
custom resource, if you want to use a subset
of your nodes for deploying Db2
with IPC kernel parameters, then you must create a machineconfigpool
to target
those nodes.Procedure
Follow the procedure Enabling unsafe sysctls in the OpenShift documentation.
Replace the example in Step 2 for creating a KubeletConfig
custom resource with
the following values:
apiVersion: machineconfiguration.openshift.io/v1
kind: KubeletConfig
metadata:
name: custom-kubelet
spec:
machineConfigPoolSelector:
matchLabels:
custom-kubelet: sysctl
kubeletConfig:
allowedUnsafeSysctls:
- "kernel.msg*"
- "kernel.shm*"
- "kernel.sem"