Skip to content

Instantly share code, notes, and snippets.

@timvw
Last active July 1, 2024 09:32
Show Gist options
  • Save timvw/54065ee8eff7def373303cde041769a4 to your computer and use it in GitHub Desktop.
Save timvw/54065ee8eff7def373303cde041769a4 to your computer and use it in GitHub Desktop.
Update k8s on ubuntu
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.29/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.29/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
sudo apt update
sudo apt-get upgrade
sudo snap refresh microk8s --channel=1.29/stable
@timvw
Copy link
Author

timvw commented Jul 1, 2024

echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.30/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list

sudo apt update
sudo apt-get upgrade

sudo snap refresh microk8s --channel=1.30/stable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment