Nodes
The node_selector
section can be used to route pipelines to specific Kubernetes nodes, or groups of nodes, that have matching labels. This can be useful when you need to route pipelines to nodes with special configurations or hardware.
1 kind: pipeline
2 type: kubernetes
3 name: default
4
5 steps:
6 - name: build
7 image: golang
8 commands:
9 - go build
10 - go test
11
12 node_selector:
13 keyA: valueA
14 keyB: valueB