You can either build a release from source or download a pre-built release. If you do not plan on developing Kubernetes itself, we suggest using a pre-built version of the current release, which can be found in the Release Notes.
The Kubernetes source code can be downloaded from the kubernetes/kubernetes repo.
If you are simply building a release from source there is no need to set up a full golang environment as all building happens in a Docker container.
Building a release is simple.
git clone https://github.com/kubernetes/kubernetes.git
cd kubernetes
make release
For more details on the release process see the kubernetes/kubernetes build
directory.
Was this page helpful?
Thanks for the feedback. If you have a specific, answerable question about how to use Kubernetes, ask it on Stack Overflow. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.