Dedicating Cloudera Embedded Container Service nodes for specific workloads
Use Cloudera Manager to bind Cloudera Embedded Container Service cluster nodes for specific workloads.
Dedicating Cloudera Embedded Container Service nodes when creating a new cluster
- Verify the ECS installation requirements.
- Add the new hosts to Cloudera Manager.
- In Cloudera Manager UI, select Hosts > Hosts
Configuration.
- Use the search box to locate the
node_taintconfiguration property and select Add Host Overrides. - Apply the
node_taintat the host override level, and not globally. - Under the
node_taintproperty on the Cloudera Embedded Container Service Host Configuration page:- Select Dedicated GPU Node to allocate the node for Cloudera AI when the host has NVIDIA GPU. Once selected, this host will be reserved for worloads that require GPU resources.
- Select Dedicated NVMe Node to allocate the node for Cloudera Data Warehouse service when the host has NVMe for caching. Once selected, this host will be reserved only for the workloads that need NVMe resources.
- Select Dedicated CDE Node for Cloudera Data Engineering services (available only if Cloudera Embedded Container Service version is 1.5.5 SP2 or higher). Once selected, the host is applicable only for the Cloudera Data Engineering services and workloads.
- Select Dedicated CAI Infra for Cloudera AI infrastructure services (available only if Cloudera Embedded Container Service version is 1.5.5 SP2 or higher). Once selected, the host is applicable only for the Cloudera Embedded Container Service infrastructure services.
- Select None if you do not want to make any selection. This is the default value.
When either of these options are selected, no other workload pods will be allowed to run on the dedicated node.
- Click Save Changes.
- Run the following commands to map the respective profiles:
- To label the Dedicated NVMe Node for Cloudera Data Warehouse
workloads:
kubectl label node <node name> cdw.cloudera.com/dedicated-executor-host=<any value> - To label the Dedicated CDE
Node:
kubectl label node <node name> cloudera.com/node-role=cde - To label the Dedicated CAI
Infra:
kubectl label node <node name> cloudera.com/node-role=cai-infra
- To label the Dedicated NVMe Node for Cloudera Data Warehouse
workloads:
- Repeat the previous steps to add the other Cloudera Embedded Container Service hosts to Cloudera Manager and assign workload types.
- Follow the ECS installation procedure. The Specify Hosts page in the installation wizard displays the hosts you added to Cloudera Manager.
- Select the hosts, click Continue, and proceed through the rest of the installation wizard.
- After the installation is complete, the applicable workloads run on the specified dedicated nodes.
Dedicating Cloudera Embedded Container Service nodes in an existing cluster
- Open the Cloudera Manager Admin Console.
- On the Home page, click the ECS Cluster.
- Click Hosts, go to the ECS host to be tainted, then go to the Configuration tab.
- Click the Configuration tab, then use the Search box to locate the
node_taintconfiguration property. -
Under the
node_taintproperty on the Cloudera Embedded Container Service Host Configuration page, use the same information under step 6 as listed in the previous section.
- Click Save Changes.
- Run the following commands to map the respective profiles:
- To label the Dedicated NVMe Node for Cloudera Data Warehouse
workloads:
kubectl label node <node name> cdw.cloudera.com/dedicated-executor-host=<any value> - To label the Dedicated CDE
Node:
kubectl label node <node name> cloudera.com/node-role=cde - To label the Dedicated CAI
Infra:
kubectl label node <node name> cloudera.com/node-role=cai-infra
- To label the Dedicated NVMe Node for Cloudera Data Warehouse
workloads:
- Repeat the previous steps to assign workload types to the other ECS hosts.
- On the ECS Cluster landing page, click Actions > Refresh Cluster.
- After the Refresh is complete, click Actions > Rolling Restart.
