Configuring Python 3
You can run Python 2 or Python v3.9 automation scripts in the Orchestration & Automation application. Python 3 is the default language and is configured securely to manage a significant workload.
About this task
For more information about the differences between Python 2 and Python 3 in Orchestration & Automation, see Python 2 and Python 3 differences.
The default configuration settings are designed to handle a large workload of automation scripts
per second. The default settings are as follows:
cases-scripting cpu limit: 3000m
min_pods: 3
max_pods: 8
You might experience performance problems if you are running very large workloads and the default settings are too low. If your workloads are small, you might want to decrease the defaults, although this not typically recommended.
If you need to increase or decrease resources, change the min_pods
or
max_pods
settings.
Procedure
- Log on to the Red Hat OpenShift Container Platform as OpenShift Administrator.
- Click Workloads > ConfigMaps and select your IBM Security QRadar Suite project; for example
cp4s
. - From ConfigMaps, filter to search for the
soar-resources
ConfigMap and select it. - Click Actions > Edit ConfigMap.
- In the
name: casespython3Scripting
section, change themin_pods
ormax_pods
values as required. The following graphic shows the default values for Python 3 in the configMap. - Save the configMap and restart the
cp4s-soar-operator
pod for the changes to take effect.