From c31ad026ab8e944dd6bacb56e2711cefb5c5ab41 Mon Sep 17 00:00:00 2001 From: David Karlsson Date: Fri, 7 Apr 2023 08:37:02 +0200 Subject: [PATCH] build: add node that node name is optional for the kubernetes driver Signed-off-by: David Karlsson --- build/drivers/kubernetes.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build/drivers/kubernetes.md b/build/drivers/kubernetes.md index 5e9b9e0617..b0f27daf2c 100644 --- a/build/drivers/kubernetes.md +++ b/build/drivers/kubernetes.md @@ -186,9 +186,12 @@ $ docker buildx create \ ``` This creates a Buildx builder named `kube`, containing a single builder node -`builder-amd64`. Note that the Buildx concept of a node isn't the same as the -Kubernetes concept of a node. A Buildx node in this case could connect multiple -Kubernetes nodes of the same architecture together. +named `builder-amd64`. Assigning a node name using `--node` is optional. Buildx +generates a random node name if you don't provide one. + +Note that the Buildx concept of a node isn't the same as the Kubernetes concept +of a node. A Buildx node in this case could connect multiple Kubernetes nodes of +the same architecture together. With the `kube` builder created, you can now introduce another architecture into the mix using `--append`. For example, to add `arm64`: