Resource Configuration
There is a resource configuration tab while configuring the components.
Last updated
There is a resource configuration tab while configuring the components.
Last updated
For each component that gets deployed, we have an option to configure the resources i.e. Memory and CPU.
Docker
Spark
After we save the component and pipeline, The component gets saved with the default configuration of the pipeline i.e. Low, Medium, and High. After we save the pipeline we can see the configuration tab in the component. There are multiple things
For the Docker components, we have Request and Limit configurations.
We can see the CPU and Memory options to be configured.
CPU: This is the CPU config where we can specify the number of cores that we need to assign to the component.
Please Note that 1000 means 1 core in the configuration of docker components.
When we put 100 that means 0.1 core has been assigned to the component.
Memory: This option is to specify how much memory you want to dedicate to that specific component.
Please Note that 1024 means 1GB in the configuration of the docker components.
Instances: The number of instances is used for parallel processing. If we give N no of instances those may pods will be deployed.
The Spark Components' configuration is slightly different from the Docker components. When the spark components are deployed, there are two pods that come up:
Driver
Executor
Give the Driver and executor configs separately.
Instances: The number of instances is used for parallel processing. If we give N no of instances in executors config those may executors pods will be deployed.
NOTE: Till the current release, the minimum requirement to deploy a driver is 0.1 Cores and 1 core for the executor. It can change with the upcoming versions of Spark.