Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Append kubernetes community owned package repositories #383

Closed
2 tasks done
shilazi opened this issue Feb 1, 2024 · 1 comment
Closed
2 tasks done

Append kubernetes community owned package repositories #383

shilazi opened this issue Feb 1, 2024 · 1 comment
Labels

Comments

@shilazi
Copy link

shilazi commented Feb 1, 2024

先决条件 (Prerequisites)

项目介绍 (Project introduction)

Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications.

According to those kubernetes blog posts:

It is evident that the software repository was previously hosted by Google, and now the community has its own software repository.

The Google-hosted package repositories are:

  • Debian-based Linux distributions apt.kubernetes.io
  • RPM-based Linux distributions yum.kubernetes.io

The kubernetes Community-Owned package repositories are:

  • pkgs.k8s.io with subPath for Debian/RPM-based Linux distributions

The software repository hosted by Google is already available on the mirror site of the University of Science and Technology of China (USTC) with address https://mirrors.ustc.edu.cn/kubernetes/.

What I am proposing is a mirror request for the Community-Owned software repository.

上游地址与镜像方法 (Upstream & mirroring method)

The repository upstream address changes with software version updates, the rules can be referred to this post.

Example with kubernetes v1.28.x of Debian/RPM-based Linux distributions:

echo "deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /" | sudo tee /etc/apt/sources.list.d/kubernetes.list
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
sudo apt update
sudo apt-cache madison kubeadm

will show:

   kubeadm | 1.28.6-1.1 | https://pkgs.k8s.io/core:/stable:/v1.28/deb  Packages
   kubeadm | 1.28.5-1.1 | https://pkgs.k8s.io/core:/stable:/v1.28/deb  Packages
   kubeadm | 1.28.4-1.1 | https://pkgs.k8s.io/core:/stable:/v1.28/deb  Packages

So far, it seems that the official source hasn't provided a mirror solution for this pkgs.k8s.io site.

镜像大小 (Mirror size)

unknown

备注 (Note)

It seems that Alibaba's mirror site has already achieved this.

Waiting for good news.

@shilazi shilazi added the new label Feb 1, 2024
@taoky
Copy link
Member

taoky commented Feb 1, 2024

Duplicated by ustclug/discussions#433.

需要有一个人来写同步脚本,处理 k8s 的版本问题。

@taoky taoky closed this as not planned Won't fix, can't repro, duplicate, stale Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants