Created
March 27, 2024 22:09
-
-
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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