Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: pr@g.o
Subject: Re: [gentoo-dev] newsitem: k8s split packages returning round 2
Date: Mon, 05 Oct 2020 03:00:32
Message-Id: 6728d6c91854bb0c7fce457dd9d7c41738067a99.camel@gentoo.org
In Reply to: Re: [gentoo-dev] newsitem: k8s split packages returning round 2 by William Hubbs
1 On Sun, 2020-10-04 at 16:57 -0500, William Hubbs wrote:
2 > On Sun, Oct 04, 2020 at 10:23:10PM +0200, Michał Górny wrote:
3 > > > Author: William Hubbs <williamh@g.o>
4 > > > Posted: 2020-10-06
5 > > > Revision: 1
6 > > > News-Item-Format: 2.0
7 > > > Display-If-Installed: sys-cluster/kubernetes
8 > > >
9 > > > Due to bug #741572,, the k8s split packages are returning to fix issues
10 > > > with upgrading clusters [1].
11 > >
12 > > It would be nice to include a short explanation what these issues are.
13 > > Expecting all affected users to open Bugzilla just to see whether
14 > > the bug in question is relevant causes them unnecessary work.
15 >
16 > The short version is it is not possible to upgrade a cluster if you have
17 > everything in one package.
18
19 Sure, that is certainly better, though some explanation why would also
20 be helpful.
21
22 >
23 > > > Starting with k8s 1.17.12, 1.18.9 and 1.19.2, you will need to install
24 > > > the following packages in the appropriate configuration for your
25 > > > cluster.
26 > > >
27 > > > sys-cluster/kubeadm
28 > > > sys-cluster/kube-apiserver
29 > > > sys-cluster/kube-controller-manager
30 > > > sys-cluster/kubectl
31 > > > sys-cluster/kubelet
32 > > > sys-cluster/kube-proxy
33 > > > sys-cluster/kube-scheduler
34 > > >
35 > > > Once the split packages are stabilized, sys-cluster/kubernetes will be
36 > > > masked and removed.
37 > >
38 > > Why not make it a metapackage, and maybe have USE flags to assist common
39 > > configurations?
40 >
41 > I've thought about that, and I'm not opposed to meta packages. I'm just
42 > not sure yet which pieces are required where. I know you don't need all
43 > of the pieces to run a cluster. I'm just not sure which pieces are
44 > required on which nodes.
45 >
46 > I don't think it would be one kubernetes meta package, but several
47 > depending on the type of node you are setting up.
48 >
49
50 That's why I said you could use USE flags.
51
52 --
53 Best regards,
54 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature