Skip to content

Commit c01b2da

Browse files
committed
buildx: schedulername opt for kubernetes driver
Signed-off-by: David Karlsson <[email protected]>
1 parent 8ce218f commit c01b2da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content/build/drivers/kubernetes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ can pass to `--driver-opt`:
4646
| `labels` | CSV string | | Sets additional labels on the deployments and pods. |
4747
| `tolerations` | CSV string | | Configures the pod's taint toleration. See [node assignment][2]. |
4848
| `serviceaccount` | String | | Sets the pod's `serviceAccountName`. |
49+
| `schedulername` | String | | Sets the scheduler responsible for scheduling the pod. |
4950
| `rootless` | `true`,`false` | `false` | Run the container as a non-root user. See [rootless mode][3]. |
5051
| `loadbalance` | `sticky`,`random` | `sticky` | Load-balancing strategy. If set to `sticky`, the pod is chosen using the hash of the context path. |
5152
| `qemu.install` | `true`,`false` | | Install QEMU emulation for multi platforms support. See [QEMU][4]. |
@@ -112,6 +113,8 @@ For more information on scalability, see the options for
112113

113114
The Kubernetes driver allows you to control the scheduling of BuildKit pods
114115
using the `nodeSelector` and `tolerations` driver options.
116+
You can also set the `schedulername` option if you want to use a custom scheduler altogether.
117+
115118
You can use the `annotations` and `labels` driver options to apply additional
116119
metadata to the deployments and pods that's hosting your builders.
117120

0 commit comments

Comments
 (0)