Skip to content

Commit

Permalink
Update repo information
Browse files Browse the repository at this point in the history
In light of the move from apt.kubernetes.io to pkgs.k8s.io
(https://kubernetes.io/blog/2023/08/31/legacy-package-repository-deprecation/)
it makes sense to update this in the guide.
  • Loading branch information
LeePorte committed Jan 10, 2024
1 parent 81ceae8 commit 53f3723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ sudo apt-get install -y apt-transport-https ca-certificates curl

**3. Configure apt-get cert and repo**
```bash
sudo curl -fsSLo /etc/apt/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
curl -fsSL https://pkgs.k8s.io/core:/stable:/v$VERSION/deb/Release.key | sudo gpg --dearmor -o /usr/share/keyrings/kubernetes-apt-keyring.gpg
```
```bash
echo "deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list
echo "deb [signed-by=/usr/share/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v$VERSION/deb/ /" | sudo tee /etc/apt/sources.list.d/kubernetes.list
```

**4. Update apt and install `kubelet`, `kubeadm`, and `kubectl`**
Expand Down

0 comments on commit 53f3723

Please sign in to comment.