許容範囲

Updated 2 years ago by Admin

tolerationsセクションを汚染と組み合わせて使用すると、パイプラインが不適切なノードにスケジュールされないようにすることができます。

構成例:

   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 tolerations:
13 - key: example-key
14 operator: Exists
15 effect: NoSchedule


How did we do?