FaaS settings

In the FaaS settings page, you can configure the resource allocation per pod for the execution environment that runs FaaS blocks in workflows.

When you add FaaS blocks (such as Python FaaS, Terraform FaaS or Ansible FaaS blocks) to a workflow and run it, an execution environment is dynamically created to run the FaaS blocks. In the FaaS settings page, you can control how much CPU and memory are allocated to the pods in which the containers that run this environment are grouped.

To access these settings, complete these steps:
  1. If you are connected to another application, click Workflows.
  2. In the IBM® Concert Workflows® sidebar, click System configuration.
  3. Click the FaaS settings tab.

Settings

Resource configuration
In this section, you can specify CPU and memory requests and limits per pod for the FaaS execution environment.
  • A request is the minimum guaranteed amount of a resource that is reserved for a pod, for example, 0.5 cores of CPU.
  • A limit is the maximum amount of a resource that can be consumed by a pod, for example, 500 MB of memory.
For both CPU and memory, request values cannot exceed limit values.
Table 1. FaaS resource configuration details
Setting Description
CPU request (decimal cores)

The minimum amount of CPU that is reserved for each pod. Enter a value in decimal cores that ensures consistent execution when the cluster is under heavy load. This value cannot be less than 0 and cannot exceed the CPU limit value.

CPU limit (decimal cores)

The maximum amount of CPU that each pod can consume. Enter a value that prevents pods from consuming more CPU than intended. This value must be in the range 0-128.

Memory request (MB)

The minimum amount of memory that is reserved for each pod. Enter a value in megabytes that ensures that each pod has enough memory for normal operations. This value cannot be lass than 0 and cannot exceed the Memory limit value.

Memory limit (MB)

The maximum amount of memory that each pod can consume. Enter a value that prevents excessive memory usage. This value must be in the range 0-128000.