Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: drop bazel
Browse files Browse the repository at this point in the history
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
tao12345666333 committed Apr 10, 2021
1 parent 5484aba commit 19fd845
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -115,7 +115,7 @@ See also: our own [contributor guide] and the Kubernetes [community page].

- kind supports multi-node (including HA) clusters
- kind supports building Kubernetes release builds from source
- support for make / bash / docker or bazel, in addition to pre-published builds
- support for make / bash or docker, in addition to pre-published builds
- kind supports Linux, macOS and Windows
- kind is a [CNCF certified conformant Kubernetes installer](https://landscape.cncf.io/?selected=kind)

2 changes: 1 addition & 1 deletion site/content/_index.md
Original file line number Diff line number Diff line change
@@ -81,7 +81,7 @@ See also: our own [contributor guide] and the Kubernetes [community page].

- kind supports multi-node (including HA) clusters
- kind supports building Kubernetes release builds from source
- support for make / bash / docker, or bazel, in addition to pre-published builds
- support for make / bash or docker, in addition to pre-published builds
- kind supports Linux, macOS and Windows
- kind is a [CNCF certified conformant Kubernetes installer](https://landscape.cncf.io/?selected=kind)

2 changes: 1 addition & 1 deletion site/content/docs/user/known-issues.md
Original file line number Diff line number Diff line change
@@ -133,7 +133,7 @@ Flags:
-h, --help help for node-image
--image string name:tag of the resulting image to be built (default "kindest/node:latest")
--kube-root string Path to the Kubernetes source directory (if empty, the path is autodetected)
--type string build type, one of [bazel, docker] (default "docker")
--type string build type, default is docker (default "docker")

Global Flags:
--loglevel string logrus log level [panic, fatal, error, warning, info, debug] (default "warning")
11 changes: 4 additions & 7 deletions site/content/docs/user/quick-start.md
Original file line number Diff line number Diff line change
@@ -202,18 +202,15 @@ The `node-image` in turn is built off the [`base-image`][base image], which
installs all the dependencies needed for Docker and Kubernetes to run in a
container.
Currently, kind supports two different ways to build a `node-image`
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` or `bazel`.
(`$GOPATH/src/k8s.io/kubernetes`), by using `docker`.
To specify the build type use the flag `--type`.
Note however that using `--type=bazel` on Windows or MacOS will not work
currently due to Kubelet using [CGO] which requires GCC/glibc for linux.
A workaround may be enabled in the future.
kind will default to using the build type `docker` if none is specified.
kind will default to using the build type `docker`.
```
kind build node-image --type bazel
kind build node-image --type docker
```

0 comments on commit 19fd845

Please sign in to comment.