Commit Graph

62 Commits

Author SHA1 Message Date
Kensei Nakada
4671a8dc33
Fix broken link for common.sh 2022-02-15 22:22:27 +09:00
Kubernetes Prow Robot
1943ca7cda
Merge pull request #103311 from oz123/document-output-loctaion-of-build-artifacts
Build: improve documentation of build artifacts
2022-01-05 10:33:48 -08:00
m-Bilal
8fd371353c Fixes 104067; Explicitly states Docker CLI plugin buildx required for building using Docker 2021-08-09 21:52:46 +05:30
Davanum Srinivas
00d89aad50
Allow a custom kube-cross image + tag to be specified
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-05 19:26:09 -04:00
Oz N Tiram
552e1549ba
Build: improve documentation of build artifacts
As described in #100596 this can surprise newcomers.
This adds a paragraph which explains where are the build
artifacts are and how to use the docker images produced
by the build system.
2021-06-29 23:29:35 +02:00
ricolin
03d60a89a0 Add build instruction for buildx CLI plugin
docker buildx CLI plugin is not default enable most functionality which we
comsumed during build releases. Means `docker buildx build` will work, but
flags like `--load` or `--platform` is not supported. Which is still true
statement with most up-to-date docker version. That means for new join
member who plan to build by themself, will need to notice if buildx is
properly installed. And not getting confused by build script when docker
complant about unknown flag `--load`, `--platoform`. Hance, add buildx
instruction to note.
2021-05-21 15:48:30 +08:00
aram price
c4bae5658f Update build/README.md and build/root/Makefile
* build/README.md includes info about KUBE_BASE_IMAGE_REGISTRY
* build/root/Makefile contains the correct default value for KUBE_BASE_IMAGE_REGISTRY
2021-03-12 14:21:56 -08:00
Benjamin Elder
aaa9280955 drop bazel from build/README.md 2021-03-07 15:27:44 -08:00
adeniyistephen
bfb4f17fe2 Fix the build/README.md documentation file on docker-machine remote 2021-01-12 00:34:09 +01:00
Arjun Ramachandrula
dcc1ab176d Removed broken link to Analytics 2020-08-13 16:03:37 -04:00
Robin Cernin
f41cc12d35 Bump up MacOS RAM requirement to 8GB
As discussed in https://github.com/kubernetes/kubernetes/issues/11852#issuecomment-387868165

We need at least 8 GB RAM assigned to Docker for Mac. Otherwise
the build will likely fail.
Bumping this requirement saves time people who assigns 4.5 GB
RAM and fails.

Signed-off-by: Robin Cernin <cerninr@gmail.com>
2020-05-29 00:20:04 +10:00
Patrick Lang
126c4b2a41 Clarify how to build for or with Windows using Docker 2020-05-11 22:47:06 -07:00
zzxwill
a8e6f2c1bd fix typo for word replace 2020-03-30 13:32:26 +08:00
zzxwill
ed2697743c remove duplicate closing brace 2020-03-24 10:46:26 +08:00
zzxwill
380bf20cc1 Explain a littble bit on how to prepare Dockerfile before building kube-build image 2020-03-23 19:40:43 +08:00
Michael Vorburger ⛑️
2f2de85740
link scripts in build/README.md
This makes it easier to click through and learn what these do, for someone getting started browsing this developer doc.
2019-06-14 13:43:52 +02:00
mooncake
43fa73557b Fix typos of readme.md 2018-10-08 23:06:07 +08:00
Mikalai Radchuk
4685f91018 Adds a build example with KUBE_BUILD_PLATFORMS 2018-07-20 20:49:07 +01:00
William Zhang
fc0d2d0009
The shell script shoud be "build/shell.sh"
The shell script shoud be "build/shell.sh"
2018-06-21 09:22:35 +00:00
Kubernetes Submit Queue
9939f709e4
Merge pull request #62227 from ixdy/document-source-date-epoch
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add documentation around build reproducibility and SOURCE_DATE_EPOCH

**What this PR does / why we need it**: makes some of our notes about reproducibility a bit more discoverable.

**Release note**:

```release-note
NONE
```

/assign @BenTheElder
2018-04-06 18:21:43 -07:00
Jeff Grafton
67b697073e Add documentation around SOURCE_DATE_EPOCH 2018-04-06 17:00:50 -07:00
Ian Chakeres
8f3fc36ae6 Update memory required to build kubernetes on osx to 4.5G 2018-04-06 15:10:19 -07:00
Patrik Erdes
0f98dd0950 Change 'Mac OS X' to 'macOS' in build/README.md
Mac OS X was renamed to OS X in 2012, and then renamed again to macOS in 2016.
I suggest that the current name should be used when referencing the Apple OS.
2018-04-05 22:16:38 +02:00
Mike Danese
5f9735de53 cluster: delete saltbase
and don't build kubernetes-salt.tar.gz
2018-01-16 09:59:29 -08:00
Ming Zhao
e391509f81 Update build requirements 2017-08-04 14:01:34 -07:00
Jeff Grafton
27d096d27d Rename build-tools/ back to build/ 2016-12-14 13:42:15 -08:00
Mike Danese
27116c6818 rename build/ to build-tools/ 2016-10-24 14:41:56 -07:00
Joe Beda
d955f54918 Remove unused bash variables 2016-10-03 19:42:22 -07:00
Joe Beda
dc586ea8f7 Use rsync to get source into build container
We also add "version" to all docker images and containers

This version is to be incremented manually when we change the shape of the build
image (like changing the golang version or the set of volumes in the data
container).  This will delete all older versions of images and containers when
the version is different.
2016-10-03 19:42:20 -07:00
Joe Beda
17454a04ac Remove support for boot2docker 2016-10-03 19:42:20 -07:00
Yong Tang
e939dd3776 Update build docs to include path for scripts.
This fix updates the build docs to include the path of `build/` for
shell scripts. The reason is that while trying to follow the `build/README.md`,
it is not obvious that all the scripts, e.g., `run.sh make`, `shell.sh`,
etc. needs to be executed from the root directory (vs. executed from the
`build/` directory). In other words,
the executation should be:
```
build/run.sh make
build/make-clean.sh
...
```

This fix adds `build/` so that it is easy for user to follow the steps.
2016-08-25 20:41:48 +00:00
Tim Hockin
9613e15801 Make releases work 2016-07-12 21:52:54 -07:00
Tim Hockin
faeef5c4ae Use make as the main build tool
This allows us to start building real dependencies into Makefile.

Leave old hack/* scripts in place but advise to use 'make'.  There are a few
rules that call things like 'go run' or 'build/*' that I left as-is for now.
2016-07-12 21:52:00 -07:00
k8s-merge-robot
90c02c6d96 Merge pull request #24813 from duglin/AddBuildPath
Automatic merge from submit-queue

Make it clear where the `build` scripts are located


Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-05-09 15:03:12 -07:00
Doug Davis
2bf169b3d5 Make it clear where the build scripts are located
Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-04-26 11:43:38 -07:00
Doug Davis
231c4c8d9d Fix indentation of Note
Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-04-26 11:22:20 -07:00
mfanjie
d433632cd2 add proxy settings for vagrant 2016-03-07 09:57:26 +08:00
fmeng
ef42dad78e update proxy settings for kubernetes build. 2016-02-04 17:38:07 +08:00
Mike Lyons
e95406655f added note about /tmp/ make
as recommended by @fabioy
2015-09-29 16:25:06 -07:00
Jonathan Boulle
61741e094b build: fix link syntax in README 2015-09-23 11:21:21 -07:00
Kel Cecil
c4124d377f Reword introduction and requirements 2015-08-26 22:21:29 -04:00
Mike Danese
fe6b15ba2f rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
BenTheElder
c86306f889 Update building docs to note memory requirements for boot2docker. 2015-07-30 19:19:33 -04:00
Brendan Burns
9e198a6ed9 Purge cluster/kubectl.sh from nearly all docs.
Mark cluster/kubectl.sh as deprecated.
2015-06-09 13:35:52 -07:00
Jeff Lowdermilk
553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Victor HU
e083fd3d44 Doc on proxy settings
Add doc on how to set proxy while building kubernetes in container.
2015-01-11 00:31:50 +00:00
Brendan Burns
93776b1363 Remove kubecfg from all getting started docs. 2015-02-04 23:20:11 -08:00
Joe Beda
f1fed3bcfc Remove support for building "run containers".
This was untested, broken and largely unused.

Related to #12 and #2455#issuecomment-68803245.
2015-01-05 16:26:28 -08:00
Maxwell Forbes
8d32faad29 Make slashes always appended to buckets to avoid forgetting them. 2014-11-11 23:16:04 +00:00
Joe Beda
5d33ce46cc Rework hack/ and build/ directories.
* Rewrite a bunch of the hack/ directory with modular reusable bash libraries.
* Have 'build/*' build on 'hack/*'.  The stuff in build now just runs hack/* in a docker container.
* Use a docker data container to enable faster incremental builds.
* Standardize output to _output/{local,dockerized}/bin/OS/ARCH/*.  This regularized placement makes cross compilation work.
* Move travis specific scripts under hack/travis

With new dockerized incremental builds, I can do a no-op `make quick-release` in ~30s.  This is a significant improvement.
2014-11-01 17:56:41 -07:00