kubernetes-sigs / kind

Kubernetes IN Docker - local clusters for testing Kubernetes
https://kind.sigs.k8s.io/
Apache License 2.0
13.5k stars 1.56k forks source link

Adding support for `.deb` packages #3740

Closed harsh098 closed 2 months ago

harsh098 commented 2 months ago

Adding .deb builds to kind releases:

I have already put in some work

Why is this needed ?:

afbjorklund commented 2 months ago

Other parts of Kubernetes is using OBS for making packages:

https://kubernetes.io/blog/2023/08/15/pkgs-k8s-io-introduction/

But it is yet unclear whether this packaging/hosting effort will extend to kind and minikube*, or not?

* minikube is currently building .deb and .rpm packages, but they are only on github (no apt or yum)

https://github.com/kubernetes/enhancements/blob/master/keps/sig-release/1731-publishing-packages/README.md#projects-and-packages-in-obs

It is not yet decided, the future of the cri-o packages (if the packages should be hosted by a third-party, like how the containerd packages are currently hosted by Docker)

https://kubernetes.io/blog/2023/10/10/cri-o-community-package-infrastructure/

Historically, building the packages has not been issue - but finding someone to sign and host them.

harsh098 commented 2 months ago

I wanted to extend help as I always found it frustrating on going to installation docs websites whenever I had to update, deleting the previous binaries and reinstalling via a curl or wget. So, I hosted a local apt repo myself . So, I did it. I think if there can be a community census on if people really want this then we can proceed forward or else I can always have an unofficial distribution for myself and anybody else who wishes to use it via launchpad for ubuntu atleast.

harsh098 commented 2 months ago

Shall we create a poll in slack ? @afbjorklund

afbjorklund commented 2 months ago

I thought you already did? (created a poll)

harsh098 commented 2 months ago

I meant a more formal one.

aojea commented 2 months ago

I just found out this week someone added kind to debian and since recently is in the testing distro https://packages.debian.org/trixie/kind

BenTheElder commented 2 months ago

We don't really have the bandwidth to maintain more packages.

Many Ubuntu and Debian users have to rely on the curl scripts for installing kind cli on their systems.

The binaries are just a popular shortcut, go install is quick, relatively secure, and recommended.

BenTheElder commented 2 months ago

We don't really have the bandwidth to maintain more packages.

We do however reference third party packaging as an option in the install docs, with a note clarifying that we're not managing these.

And it seems debian is adding this upstream 😅

afbjorklund commented 2 months ago

And it seems debian is adding this upstream 😅

Probably just needs a mention over on https://kind.sigs.k8s.io/docs/user/quick-start#installing-with-a-package-manager

sudo apt install kind
harsh098 commented 2 months ago

Had no Idea about it 😅.