Fix the apt repository definition

Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
pull/42022/head
Marko Mudrinić 2023-08-04 18:57:19 +02:00
parent 08cac8cf08
commit 638d07d0f2
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ These instructions are for Kubernetes {{< skew currentVersion >}}.
```shell
# This overwrites any existing configuration in /etc/apt/sources.list.d/kubernetes.list
echo 'deb https://pkgs.k8s.io/core:/stable:/{{< param "version" >}}/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/{{< param "version" >}}/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
```
4. Update the `apt` package index, install kubelet, kubeadm and kubectl, and pin their version:

View File

@ -160,7 +160,7 @@ The following methods exist for installing kubectl on Linux:
```shell
# This overwrites any existing configuration in /etc/apt/sources.list.d/kubernetes.list
echo 'deb https://pkgs.k8s.io/core:/stable:/{{< param "version" >}}/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/{{< param "version" >}}/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
```
{{< note >}}