Skip to content

Commit ade1c16

Browse files
committed
devel/sig-release: Update getting-builds.md
Signed-off-by: Stephen Augustus <[email protected]>
1 parent dbe8c6a commit ade1c16

File tree

1 file changed

+149
-17
lines changed

1 file changed

+149
-17
lines changed
Lines changed: 149 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,179 @@
11
# Getting Kubernetes Builds
22

3+
- [Using `hack/get-build.sh`](#using-hackget-buildsh)
4+
- [Using `gsutil`](#using-gsutil)
5+
- [Install `gsutil`](#install-gsutil)
6+
- [Examples](#examples)
7+
- [Output the latest CI version number](#output-the-latest-ci-version-number)
8+
- [List the contents of a CI release](#list-the-contents-of-a-ci-release)
9+
- [List all official releases and RCs](#list-all-official-releases-and-rcs)
10+
11+
## Using `hack/get-build.sh`
12+
313
You can use [hack/get-build.sh](https://git.k8s.io/kubernetes/hack/get-build.sh)
414
to get a build or to use as a reference on how to get the most recent builds
5-
with curl. With `get-build.sh` you can grab the most recent stable build, the
6-
most recent release candidate, or the most recent build to pass our ci and gce
15+
with curl.
16+
17+
With `get-build.sh` you can grab the most recent stable build, the
18+
most recent release candidate, or the most recent build to pass our CI and GCE
719
e2e tests (essentially a nightly build).
820

921
Run `./hack/get-build.sh -h` for its usage.
1022

11-
To get a build at a specific version (v1.1.1) use:
23+
To get a build at a specific version (v1.18.3) use:
1224

13-
```console
14-
./hack/get-build.sh v1.1.1
25+
```shell
26+
./hack/get-build.sh v1.18.3
1527
```
1628

1729
To get the latest stable release:
1830

19-
```console
31+
```shell
2032
./hack/get-build.sh release/stable
2133
```
2234

2335
Use the "-v" option to print the version number of a build without retrieving
24-
it. For example, the following prints the version number for the latest ci
36+
it.
37+
38+
For example, the following prints the version number for the latest ci
2539
build:
2640

27-
```console
41+
```shell
2842
./hack/get-build.sh -v ci/latest
2943
```
3044

45+
## Using `gsutil`
46+
3147
You can also use the gsutil tool to explore the Google Cloud Storage release
32-
buckets. Here are some examples:
48+
buckets.
49+
50+
### Install `gsutil`
51+
52+
`gsutil` is part of the Google Cloud SDK.
53+
Install instructions for the Google Cloud SDK can be found [here](https://cloud.google.com/sdk/install).
3354

34-
```sh
35-
gsutil cat gs://kubernetes-release-dev/ci/latest.txt # output the latest ci version number
36-
gsutil ls gs://kubernetes-release-dev/ci/v0.20.0-29-g29a55cc/ # list the contents of a ci release
37-
gsutil ls gs://kubernetes-release/release # list all official releases and rcs
55+
### Examples
56+
57+
#### Output the latest CI version number
58+
59+
```console
60+
$ gsutil cat gs://kubernetes-release-dev/ci/latest.txt
61+
v1.19.0-beta.2.32+35fc65dc2c614e
3862
```
3963

40-
## Install `gsutil`
64+
#### List the contents of a CI release
4165

42-
Example installation:
66+
```console
67+
$ gsutil ls gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e
68+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/SHA256SUMS
69+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/SHA256SUMS.sha256
70+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/SHA256SUMS.sha512
71+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/SHA512SUMS
72+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/SHA512SUMS.sha256
73+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/SHA512SUMS.sha512
74+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-client-linux-amd64.tar.gz
75+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-client-linux-amd64.tar.gz.sha256
76+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-client-linux-amd64.tar.gz.sha512
77+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-manifests.tar.gz
78+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-manifests.tar.gz.sha256
79+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-manifests.tar.gz.sha512
80+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-node-linux-amd64.tar.gz
81+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-node-linux-amd64.tar.gz.sha256
82+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-node-linux-amd64.tar.gz.sha512
83+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-server-linux-amd64.tar.gz
84+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-server-linux-amd64.tar.gz.sha256
85+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-server-linux-amd64.tar.gz.sha512
86+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-src.tar.gz
87+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-src.tar.gz.sha256
88+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-src.tar.gz.sha512
89+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-test-linux-amd64.tar.gz
90+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-test-linux-amd64.tar.gz.sha256
91+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-test-linux-amd64.tar.gz.sha512
92+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-test-portable.tar.gz
93+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-test-portable.tar.gz.sha256
94+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes-test-portable.tar.gz.sha512
95+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes.tar.gz
96+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes.tar.gz.sha256
97+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/kubernetes.tar.gz.sha512
98+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/bin/
99+
gs://kubernetes-release-dev/ci/v1.19.0-beta.2.32+35fc65dc2c614e/extra/
100+
```
101+
102+
#### List all official releases and RCs
43103

44104
```console
45-
curl -sSL https://storage.googleapis.com/pub/gsutil.tar.gz | sudo tar -xz -C /usr/local/src
46-
sudo ln -s /usr/local/src/gsutil/gsutil /usr/bin/gsutil
105+
$ gsutil ls gs://kubernetes-release/release
106+
gs://kubernetes-release/release/kube-register
107+
gs://kubernetes-release/release/latest-1.0.txt
108+
gs://kubernetes-release/release/latest-1.1.txt
109+
gs://kubernetes-release/release/latest-1.10.txt
110+
gs://kubernetes-release/release/latest-1.11.txt
111+
gs://kubernetes-release/release/latest-1.12.txt
112+
gs://kubernetes-release/release/latest-1.13.txt
113+
gs://kubernetes-release/release/latest-1.14.txt
114+
gs://kubernetes-release/release/latest-1.15.txt
115+
gs://kubernetes-release/release/latest-1.16.txt
116+
gs://kubernetes-release/release/latest-1.17.txt
117+
gs://kubernetes-release/release/latest-1.18.txt
118+
gs://kubernetes-release/release/latest-1.19.txt
119+
gs://kubernetes-release/release/latest-1.2.txt
120+
gs://kubernetes-release/release/latest-1.3.txt
121+
gs://kubernetes-release/release/latest-1.4.txt
122+
gs://kubernetes-release/release/latest-1.5.txt
123+
gs://kubernetes-release/release/latest-1.6.txt
124+
gs://kubernetes-release/release/latest-1.7.txt
125+
gs://kubernetes-release/release/latest-1.8.txt
126+
gs://kubernetes-release/release/latest-1.9.txt
127+
gs://kubernetes-release/release/latest-1.txt
128+
gs://kubernetes-release/release/latest.txt
129+
gs://kubernetes-release/release/stable-1.0.txt
130+
gs://kubernetes-release/release/stable-1.1.txt
131+
gs://kubernetes-release/release/stable-1.10.txt
132+
gs://kubernetes-release/release/stable-1.11.txt
133+
gs://kubernetes-release/release/stable-1.12.txt
134+
gs://kubernetes-release/release/stable-1.13.txt
135+
gs://kubernetes-release/release/stable-1.14.txt
136+
gs://kubernetes-release/release/stable-1.15.txt
137+
gs://kubernetes-release/release/stable-1.16.txt
138+
gs://kubernetes-release/release/stable-1.17.txt
139+
gs://kubernetes-release/release/stable-1.18.txt
140+
gs://kubernetes-release/release/stable-1.2.txt
141+
gs://kubernetes-release/release/stable-1.3.txt
142+
gs://kubernetes-release/release/stable-1.4.txt
143+
gs://kubernetes-release/release/stable-1.5.txt
144+
gs://kubernetes-release/release/stable-1.6.txt
145+
gs://kubernetes-release/release/stable-1.7.txt
146+
gs://kubernetes-release/release/stable-1.8.txt
147+
gs://kubernetes-release/release/stable-1.9.txt
148+
gs://kubernetes-release/release/stable-1.txt
149+
gs://kubernetes-release/release/stable.txt
150+
151+
<snip>
152+
153+
gs://kubernetes-release/release/v1.18.0-alpha.0/
154+
gs://kubernetes-release/release/v1.18.0-alpha.1/
155+
gs://kubernetes-release/release/v1.18.0-alpha.2/
156+
gs://kubernetes-release/release/v1.18.0-alpha.3/
157+
gs://kubernetes-release/release/v1.18.0-alpha.5/
158+
gs://kubernetes-release/release/v1.18.0-beta.0/
159+
gs://kubernetes-release/release/v1.18.0-beta.1/
160+
gs://kubernetes-release/release/v1.18.0-beta.2/
161+
gs://kubernetes-release/release/v1.18.0-rc.1/
162+
gs://kubernetes-release/release/v1.18.0/
163+
gs://kubernetes-release/release/v1.18.1-beta.0/
164+
gs://kubernetes-release/release/v1.18.1/
165+
gs://kubernetes-release/release/v1.18.2-beta.0/
166+
gs://kubernetes-release/release/v1.18.2/
167+
gs://kubernetes-release/release/v1.18.3-beta.0/
168+
gs://kubernetes-release/release/v1.18.3/
169+
gs://kubernetes-release/release/v1.18.4-rc.0/
170+
gs://kubernetes-release/release/v1.19.0-alpha.0/
171+
gs://kubernetes-release/release/v1.19.0-alpha.1/
172+
gs://kubernetes-release/release/v1.19.0-alpha.2/
173+
gs://kubernetes-release/release/v1.19.0-alpha.3/
174+
gs://kubernetes-release/release/v1.19.0-beta.0/
175+
gs://kubernetes-release/release/v1.19.0-beta.1/
176+
gs://kubernetes-release/release/v1.19.0-beta.2/
177+
178+
<snip>
47179
```

0 commit comments

Comments
 (0)