You can use hack/get-build.sh
to get a build or to use as a reference on how to get the most recent builds
with curl. With get-build.sh
you can grab the most recent stable build, the
most recent release candidate, or the most recent build to pass our ci and gce
e2e tests (essentially a nightly build).
Run ./hack/get-build.sh -h
for its usage.
To get a build at a specific version (v1.1.1) use:
./hack/get-build.sh v1.1.1
To get the latest stable release:
./hack/get-build.sh release/stable
Use the "-v" option to print the version number of a build without retrieving it. For example, the following prints the version number for the latest ci build:
./hack/get-build.sh -v ci/latest
You can also use the gsutil tool to explore the Google Cloud Storage release buckets. Here are some examples:
gsutil cat gs://kubernetes-release-dev/ci/latest.txt # output the latest ci version number
gsutil cat gs://kubernetes-release-dev/ci/latest-green.txt # output the latest ci version number that passed gce e2e
gsutil ls gs://kubernetes-release-dev/ci/v0.20.0-29-g29a55cc/ # list the contents of a ci release
gsutil ls gs://kubernetes-release/release # list all official releases and rcs
gsutil
Example installation:
$ curl -sSL https://storage.googleapis.com/pub/gsutil.tar.gz | sudo tar -xz -C /usr/local/src
$ sudo ln -s /usr/local/src/gsutil/gsutil /usr/bin/gsutil
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。