mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-19 18:07:45 +08:00

Tested with `kind` and GKE. Note: "nodes" shown in `docker buildx ls` are unrelated to Kubernetes "nodes". Probably buildx should come up with an alternative term. Usage: $ kind create cluster $ export KUBECONFIG="$(kind get kubeconfig-path --name="kind")" $ docker buildx create --driver kubernetes --driver-opt replicas=3 --use $ docker buildx build -t foo --load . `--load` loads the image into the local Docker. Driver opts: - `image=IMAGE` - Sets the container image to be used for running buildkit. - `namespace=NS` - Sets the Kubernetes namespace. Defaults to the current namespace. - `replicas=N` - Sets the number of `Pod` replicas. Defaults to 1. - `rootless=(true|false)` - Run the container as a non-root user without `securityContext.privileged`. Defaults to false. - `loadbalance=(sticky|random)` - Load-balancing strategy. If set to "sticky", the pod is chosen using the hash of the context path. Defaults to "sticky" Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
27 lines
924 B
Markdown
27 lines
924 B
Markdown
# Contributing to Go
|
|
|
|
Go is an open source project.
|
|
|
|
It is the work of hundreds of contributors. We appreciate your help!
|
|
|
|
## Filing issues
|
|
|
|
When [filing an issue](https://github.com/golang/oauth2/issues), make sure to answer these five questions:
|
|
|
|
1. What version of Go are you using (`go version`)?
|
|
2. What operating system and processor architecture are you using?
|
|
3. What did you do?
|
|
4. What did you expect to see?
|
|
5. What did you see instead?
|
|
|
|
General questions should go to the [golang-nuts mailing list](https://groups.google.com/group/golang-nuts) instead of the issue tracker.
|
|
The gophers there will answer or ask you to file an issue if you've tripped over a bug.
|
|
|
|
## Contributing code
|
|
|
|
Please read the [Contribution Guidelines](https://golang.org/doc/contribute.html)
|
|
before sending patches.
|
|
|
|
Unless otherwise noted, the Go source files are distributed under
|
|
the BSD-style license found in the LICENSE file.
|