From 9b24145088b53166d4bb9558c5f6a5351f72eb4e Mon Sep 17 00:00:00 2001 From: m-Bilal Date: Sun, 26 Mar 2023 13:05:44 +0530 Subject: [PATCH] add example to build image by providing location to kubernetes source --- site/content/docs/user/quick-start.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/site/content/docs/user/quick-start.md b/site/content/docs/user/quick-start.md index 8833e135ae..3a8fa8f65f 100644 --- a/site/content/docs/user/quick-start.md +++ b/site/content/docs/user/quick-start.md @@ -260,6 +260,11 @@ Currently, kind supports one default way to build a `node-image` if you have the [Kubernetes][kubernetes] source in your host machine (`$GOPATH/src/k8s.io/kubernetes`), by using `docker`. +You can also specify a different path to kubernetes source using +``` +kind build node-image /path/to/kubernetes/source +``` + > **NOTE**: Building Kubernetes node-images requires everything building upstream > Kubernetes requires, we wrap the upstream build. This includes Docker with buildx. > See: https://git.k8s.io/community/contributors/devel/development.md#building-kubernetes-with-docker