Skip to content

Instantly share code, notes, and snippets.

@nijave
Created March 27, 2024 22:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nijave/2d63d837cc6d7b06c3419340ec4d2caf to your computer and use it in GitHub Desktop.
Save nijave/2d63d837cc6d7b06c3419340ec4d2caf to your computer and use it in GitHub Desktop.
Kubernetes and cri-o v1.29 repo setup for Ubuntu 22.04 (jammy)
K8S_VERSION_MINOR=1.29
# Repos for cri-o
curl -fsSL https://pkgs.k8s.io/addons:/cri-o:/stable:/v${K8S_VERSION_MINOR}/deb/Release.key |
gpg --dearmor -o /etc/apt/keyrings/cri-o-apt-keyring.gpg
echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://pkgs.k8s.io/addons:/cri-o:/stable:/v${K8S_VERSION_MINOR}/deb/ /" |
tee /etc/apt/sources.list.d/cri-o.list
# Repo for Kubernetes tools/components
curl -fsSL https://pkgs.k8s.io/core:/stable:/v${K8S_VERSION_MINOR}/deb/Release.key |
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:/v${K8S_VERSION_MINOR}/deb/ /" |
tee /etc/apt/sources.list.d/kubernetes.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment