Fix the apt repository definition
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>pull/42022/head
parent
08cac8cf08
commit
638d07d0f2
|
@ -190,7 +190,7 @@ These instructions are for Kubernetes {{< skew currentVersion >}}.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# This overwrites any existing configuration in /etc/apt/sources.list.d/kubernetes.list
|
# 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:
|
4. Update the `apt` package index, install kubelet, kubeadm and kubectl, and pin their version:
|
||||||
|
|
|
@ -160,7 +160,7 @@ The following methods exist for installing kubectl on Linux:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# This overwrites any existing configuration in /etc/apt/sources.list.d/kubernetes.list
|
# 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 >}}
|
{{< note >}}
|
||||||
|
|
Loading…
Reference in New Issue