Updated on 2025-06-13 GMT+08:00

Node Affinity

It specifies the node affinity policy configured for the volcano add-on.

  • If it is set to Not configured, node affinity is disabled for the add-on pods.
  • If it is set to Node Affinity, a node where the add-on pods will be deployed is specified. If you do not specify the node pool, the add-on will be randomly scheduled based on the default cluster scheduling policy.
  • If it is set to Specified Node Pool Scheduling, a node pool where the add-on pods will be deployed is specified. If you do not specify the node pool, the add-on will be randomly scheduled based on the default cluster scheduling policy.
  • If it is set to Custom Policies, you can take advantage of more flexible scheduling. You can enter labels of the nodes where the add-on is to be deployed. If you do not specify node labels, the add-on will be randomly scheduled based on the default cluster scheduling policy.

Value Range

Not configured, Node Affinity, Specified Node Pool Scheduling, or Custom Policies

Default Value

Not configured

Modifiable

Yes

Scope

CCE standard and CCE Turbo clusters

Suggestions

Keep the default settings.

If multiple custom affinity policies are configured, ensure that there are nodes that meet all the affinity policies in the cluster. Otherwise, the add-on cannot run.