Tekton node isolation variables

Set CLUSTER_VAR_tekton_nodes to choose the worker nodes that run only Tekton pipelines, so that a pipeline spike cannot terminate the application and database Pods.

A Tekton pipeline run can use a large amount of CPU and memory. To keep such a spike from terminating the application and database Pods on the same node, the node-pools phase dedicates worker nodes to Tekton. The phase runs as part of the all command, before the cluster-vars phase. The phase completes the following actions:

  1. Lists the worker nodes, and excludes the control plane nodes.
  2. Selects the Tekton nodes, as described in the following rules.
  3. Labels the Tekton nodes ccf_workload=tekton and taints them ccf_workload=tekton:NoSchedule, and labels the other workers ccf_workload=apps.
  4. Sets the tekton_pod_template cluster variable, so that the Tekton configuration pins the Tekton Pods to the Tekton nodes. The installer derives this variable, and you do not set it.

The phase is idempotent, and you can run it separately with --phase node-pools.

Table 1. Tekton node isolation variables
VariableDescriptionMandatoryDefault
CLUSTER_VAR_tekton_nodesLists the worker nodes to dedicate to Tekton, separated by commas or spaces. When you set this variable, exactly those nodes become the Tekton pool, and the installer ignores a name that is not a worker node and prints a warning. When you leave it empty, the installer applies the default selection.NoNone

Node selection rules

  • Explicit list: The installer checks CLUSTER_VAR_tekton_nodes first, and uses the listed worker nodes as the Tekton pool.
  • Default selection, when the list is empty: With more than three workers, the first three workers in alphabetical order stay in the application pool, and every worker beyond the first three becomes a Tekton node. For example, five workers give three application nodes and two Tekton nodes. With three or fewer workers, the installer forms no pool, adds no labels or taints, and schedules all Pods on every node.

Keep at least three application nodes, because OpenBao needs three replicas on different nodes. The installer prints a warning when the pool leaves fewer than three application nodes.

To keep Tekton on the same nodes as the applications on a cluster with more than three workers, set CLUSTER_VAR_tekton_nodes to a name that is not a worker node, for example, none. The installer prints a warning for that name, forms no pool, and adds no labels or taints.