2021-05-06 23:46:08 +00:00
|
|
|
---
|
|
|
|
title: Download Kubernetes
|
|
|
|
type: docs
|
|
|
|
---
|
2022-02-02 13:57:30 +00:00
|
|
|
|
|
|
|
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
|
2022-04-13 09:33:22 +00:00
|
|
|
API server are capable of running within container images inside of a
|
2022-02-02 13:57:30 +00:00
|
|
|
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.
|
|
|
|
|
2023-06-19 17:30:35 +00:00
|
|
|
### 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)
|
|
|
|
|
2023-11-24 00:09:21 +00:00
|
|
|
## Container images
|
2022-02-02 13:57:30 +00:00
|
|
|
|
|
|
|
All Kubernetes container images are deployed to the
|
2022-08-25 09:18:54 +00:00
|
|
|
`registry.k8s.io` container image registry.
|
2022-02-02 13:57:30 +00:00
|
|
|
|
2023-11-23 11:44:40 +00:00
|
|
|
| Container Image | Supported Architectures |
|
|
|
|
| ------------------------------------------------------------------------- | --------------------------------- |
|
2023-04-14 18:39:42 +00:00
|
|
|
| registry.k8s.io/kube-apiserver:v{{< skew currentPatchVersion >}} | amd64, arm, arm64, ppc64le, s390x |
|
|
|
|
| registry.k8s.io/kube-controller-manager:v{{< skew currentPatchVersion >}} | amd64, arm, arm64, ppc64le, s390x |
|
|
|
|
| registry.k8s.io/kube-proxy:v{{< skew currentPatchVersion >}} | amd64, arm, arm64, ppc64le, s390x |
|
|
|
|
| registry.k8s.io/kube-scheduler:v{{< skew currentPatchVersion >}} | amd64, arm, arm64, ppc64le, s390x |
|
|
|
|
| registry.k8s.io/conformance:v{{< skew currentPatchVersion >}} | amd64, arm, arm64, ppc64le, s390x |
|
2022-02-02 13:57:30 +00:00
|
|
|
|
2023-11-24 00:09:21 +00:00
|
|
|
### Container image architectures
|
|
|
|
|
|
|
|
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:v{{< skew currentPatchVersion >}}`.
|
|
|
|
|
2023-11-23 11:44:40 +00:00
|
|
|
### Container image signatures
|
|
|
|
|
|
|
|
{{< feature-state for_k8s_version="v1.26" state="beta" >}}
|
|
|
|
|
|
|
|
For Kubernetes {{< param "version" >}},
|
|
|
|
container images are signed using [sigstore](https://sigstore.dev)
|
|
|
|
signatures:
|
|
|
|
|
|
|
|
{{< note >}}
|
|
|
|
Container image sigstore signatures do currently not match between different geographical locations.
|
|
|
|
More information about this problem is available in the corresponding
|
|
|
|
[GitHub issue](https://github.com/kubernetes/registry.k8s.io/issues/187).
|
|
|
|
{{< /note >}}
|
|
|
|
|
2022-04-12 15:29:23 +00:00
|
|
|
The Kubernetes project publishes a list of signed Kubernetes container images
|
2023-05-07 00:51:15 +00:00
|
|
|
in [SPDX 2.3](https://spdx.dev/specifications/) format.
|
2022-04-12 15:29:23 +00:00
|
|
|
You can fetch that list using:
|
|
|
|
|
|
|
|
```shell
|
2023-05-07 00:51:15 +00:00
|
|
|
curl -Ls "https://sbom.k8s.io/$(curl -Ls https://dl.k8s.io/release/stable.txt)/release" | grep "SPDXID: SPDXRef-Package-registry.k8s.io" | grep -v sha256 | cut -d- -f3- | sed 's/-/\//' | sed 's/-v1/:v1/'
|
2022-04-12 15:29:23 +00:00
|
|
|
```
|
2023-08-07 02:05:47 +00:00
|
|
|
|
2022-04-13 09:36:37 +00:00
|
|
|
To manually verify signed container images of Kubernetes core components, refer to
|
2022-11-11 08:22:25 +00:00
|
|
|
[Verify Signed Container Images](/docs/tasks/administer-cluster/verify-signed-artifacts).
|
2022-04-12 15:29:23 +00:00
|
|
|
|
2023-11-24 00:09:21 +00:00
|
|
|
If you pull a container image for a specific architecture, the single-architecture image
|
|
|
|
is signed in the same way as for the multi-architecture manifest lists.
|
|
|
|
|
2022-02-02 13:57:30 +00:00
|
|
|
## Binaries
|
2021-05-06 23:46:08 +00:00
|
|
|
|
2023-11-23 11:44:40 +00:00
|
|
|
{{< release-binaries >}}
|