78 lines
3.7 KiB
Markdown
78 lines
3.7 KiB
Markdown
---
|
|
title: Download Kubernetes
|
|
type: docs
|
|
---
|
|
|
|
Kubernetes ships binaries for each component as well as a standard set of client
|
|
applications to bootstrap or interact with a cluster. Components like the
|
|
API server are capable of running within container images inside of a
|
|
cluster. Those components are also shipped in container images as part of the
|
|
official release process. All binaries as well as container images are available
|
|
for multiple operating systems as well as hardware architectures.
|
|
|
|
## Container Images
|
|
|
|
All Kubernetes container images are deployed to the
|
|
`registry.k8s.io` container image registry.
|
|
|
|
{{< feature-state for_k8s_version="v1.24" state="alpha" >}}
|
|
|
|
For Kubernetes {{< param "version" >}}, the following
|
|
container images are signed using [cosign](https://github.com/sigstore/cosign)
|
|
signatures:
|
|
|
|
| Container Image | Supported Architectures |
|
|
| ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
|
|
| registry.k8s.io/kube-apiserver:{{< param "fullversion" >}} | amd64, arm, arm64, ppc64le, s390x |
|
|
| registry.k8s.io/kube-controller-manager:{{< param "fullversion" >}} | amd64, arm, arm64, ppc64le, s390x |
|
|
| registry.k8s.io/kube-proxy:{{< param "fullversion" >}} | amd64, arm, arm64, ppc64le, s390x |
|
|
| registry.k8s.io/kube-scheduler:{{< param "fullversion" >}} | amd64, arm, arm64, ppc64le, s390x |
|
|
| registry.k8s.io/conformance:{{< param "fullversion" >}} | amd64, arm, arm64, ppc64le, s390x |
|
|
|
|
All container images are available for multiple architectures, whereas the
|
|
container runtime should choose the correct one based on the underlying
|
|
platform. It is also possible to pull a dedicated architecture by suffixing the
|
|
container image name, for example
|
|
`registry.k8s.io/kube-apiserver-arm64:{{< param "fullversion" >}}`. All
|
|
those derivations are signed in the same way as the multi-architecture manifest lists.
|
|
|
|
The Kubernetes project publishes a list of signed Kubernetes container images
|
|
in [SPDX 2.2](https://spdx.dev/specifications/) format.
|
|
You can fetch that list using:
|
|
|
|
```shell
|
|
curl -Ls "https://sbom.k8s.io/$(curl -Ls https://dl.k8s.io/release/latest.txt)/release" | awk '/Package: registry.k8s.io\// {print $3}'
|
|
```
|
|
For Kubernetes v{{< skew currentVersion >}}, the only kind of code artifact that
|
|
you can verify integrity for is a container image, using the experimental
|
|
signing support.
|
|
|
|
To manually verify signed container images of Kubernetes core components, refer to
|
|
[Verify Signed Container Images](/docs/tasks/administer-cluster/verify-signed-artifacts).
|
|
|
|
|
|
|
|
## Binaries
|
|
|
|
Find links to download Kubernetes components (and their checksums) in the [CHANGELOG](https://github.com/kubernetes/kubernetes/tree/master/CHANGELOG) files.
|
|
|
|
Alternately, use [downloadkubernetes.com](https://www.downloadkubernetes.com/) to filter by version and architecture.
|
|
|
|
### kubectl
|
|
|
|
<!-- overview -->
|
|
|
|
The Kubernetes command-line tool, [kubectl](/docs/reference/kubectl/kubectl/), allows
|
|
you to run commands against Kubernetes clusters.
|
|
|
|
You can use kubectl to deploy applications, inspect and manage cluster resources,
|
|
and view logs. For more information including a complete list of kubectl operations, see the
|
|
[`kubectl` reference documentation](/docs/reference/kubectl/).
|
|
|
|
kubectl is installable on a variety of Linux platforms, macOS and Windows.
|
|
Find your preferred operating system below.
|
|
|
|
- [Install kubectl on Linux](/docs/tasks/tools/install-kubectl-linux)
|
|
- [Install kubectl on macOS](/docs/tasks/tools/install-kubectl-macos)
|
|
- [Install kubectl on Windows](/docs/tasks/tools/install-kubectl-windows)
|