-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[doc] Improve documentation for concurrency settings. #3491
Conversation
Please visit http://35.235.83.81:1313 to view changes to the docs. |
Codecov Report
|
|
||
Skaffold can also build multiple artifacts in parallel, by settings a value higher than `1` to `concurrency`. | ||
For local builds, this is however disabled by default since local builds could have side effects that are |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think we should mention specific builders that are believed to be safe (docker, Bazel) or that aren't safe (and the circumstances)?
**Faster builds** | ||
|
||
If you are deploying to [local cluster]({{<relref "/docs/environment/local-cluster" >}}), | ||
Skaffold will default `push` to `false` to speed up builds. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should expand on this paragraph because there are a few implications.
- certain clusters, like minikube, kind, Docker Kubernetes, are considered as local clusters
- Skaffold can usually load the images directly into a local cluster, instead of via an image registry
- local clusters change the default for push to
false
to avoid pushing the image to the remote repository - this means that the same builds can fail when switching the kube context to a remote cluster. but the speed tradeoff is worth it.
And maybe Faster builds isn't the right section heading either.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy to add some more documentation when most of this is merged :-)
60f40a1
to
cbbf598
Compare
This comment has been minimized.
This comment has been minimized.
cbbf598
to
684e553
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
684e553
to
6617e6e
Compare
Signed-off-by: David Gageot <david@gageot.net>
6617e6e
to
bc503c6
Compare
See http://35.235.83.81:1313/docs/pipeline-stages/builders/#local-build
Signed-off-by: David Gageot david@gageot.net