diff --git a/content/build/drivers/kubernetes.md b/content/build/drivers/kubernetes.md index c07cf64352fd..5df569c338de 100644 --- a/content/build/drivers/kubernetes.md +++ b/content/build/drivers/kubernetes.md @@ -46,6 +46,7 @@ can pass to `--driver-opt`: | `labels` | CSV string | | Sets additional labels on the deployments and pods. | | `tolerations` | CSV string | | Configures the pod's taint toleration. See [node assignment][2]. | | `serviceaccount` | String | | Sets the pod's `serviceAccountName`. | +| `schedulername` | String | | Sets the scheduler responsible for scheduling the pod. | | `rootless` | `true`,`false` | `false` | Run the container as a non-root user. See [rootless mode][3]. | | `loadbalance` | `sticky`,`random` | `sticky` | Load-balancing strategy. If set to `sticky`, the pod is chosen using the hash of the context path. | | `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 The Kubernetes driver allows you to control the scheduling of BuildKit pods using the `nodeSelector` and `tolerations` driver options. +You can also set the `schedulername` option if you want to use a custom scheduler altogether. + You can use the `annotations` and `labels` driver options to apply additional metadata to the deployments and pods that's hosting your builders. diff --git a/content/build/release-notes.md b/content/build/release-notes.md index 466ec64a1f07..fae34715c7c9 100644 --- a/content/build/release-notes.md +++ b/content/build/release-notes.md @@ -8,6 +8,54 @@ toc_max: 2 This page contains information about the new features, improvements, and bug fixes in [Docker Buildx](https://github.com/docker/buildx). +## 0.14.0 + +{{< release-date date="2024-04-18" >}} + +The full release note for this release is available +[on GitHub](https://github.com/docker/buildx/releases/tag/v0.14.0). + +### Enhancements + +- Add support for `--print=lint` (experimental). + [docker/buildx#2404](https://github.com/docker/buildx/pull/2404), + [docker/buildx#2406](https://github.com/docker/buildx/pull/2406) +- Fix JSON formatting for custom implementations of print sub-requests in frontends. + [docker/buildx#2374](https://github.com/docker/buildx/pull/2374) +- Provenance records are now set when building with `--metadata-file`. + [docker/buildx#2280](https://github.com/docker/buildx/pull/2280) +- Add [Git authentication support](./bake/remote-definition.md#remote-definition-in-a-private-repository) for remote definitions. + [docker/buildx#2363](https://github.com/docker/buildx/pull/2363) +- New `default-load` driver option for the `docker-container`, `remote`, and `kubernetes` drivers to load build results to the Docker Engine image store by default. + [docker/buildx#2259](https://github.com/docker/buildx/pull/2259) +- Add `requests.ephemeral-storage`, `limits.ephemeral-storage` and `schedulername` options to the [`kubernetes` driver](./drivers/kubernetes.md). + [docker/buildx#2370](https://github.com/docker/buildx/pull/2370), + [docker/buildx#2415](https://github.com/docker/buildx/pull/2415) +- Add `indexof` function for `docker-bake.hcl` files. + [docker/buildx#2384](https://github.com/docker/buildx/pull/2384) +- OpenTelemetry metrics for Buildx now measure durations of idle time, image exports, run operations, and image transfers for image source operations during build. + [docker/buildx#2316](https://github.com/docker/buildx/pull/2316), + [docker/buildx#2317](https://github.com/docker/buildx/pull/2317), + [docker/buildx#2323](https://github.com/docker/buildx/pull/2323), + [docker/buildx#2271](https://github.com/docker/buildx/pull/2271) +- Build progress metrics to the OpenTelemetry endpoint associated with the `desktop-linux` context no longer requires Buildx in experimental mode (`BUILDX_EXPERIMENTAL=1`). + [docker/buildx#2344](https://github.com/docker/buildx/pull/2344) + +### Bug fixes + +- Fix `--load` and `--push` incorrectly overriding outputs when used with multiple Bake file definitions. + [docker/buildx#2336](https://github.com/docker/buildx/pull/2336) +- Fix build from stdin with experimental mode enabled. + [docker/buildx#2394](https://github.com/docker/buildx/pull/2394) +- Fix an issue where delegated traces could be duplicated. + [docker/buildx#2362](https://github.com/docker/buildx/pull/2362) + +### Packaging updates + +- Compose support has been updated to [v2.26.1](https://github.com/docker/compose/releases/tag/v2.26.1) + (via [`compose-go` v2.0.2](https://github.com/compose-spec/compose-go/releases/tag/v2.0.2)). + [docker/buildx#2391](https://github.com/docker/buildx/pull/2391) + ## 0.13.1 {{< release-date date="2024-03-13" >}}