Version markers are text files which act as sort of a public API for accessing Kubernetes builds.
They are artifacts of a successful Kubernetes build which are stored in a Google Cloud Storage bucket alongside the builds they make reference to.
You can read more about version markers here.
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.18.3) use:
./hack/get-build.sh v1.18.3
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