There are a few advantages:
* Being able to deploy koji from the operator-hub:
https://operatorhub.io/
* Scaling builders on demand
* All the ops management capabilities provided by kubernetes
* Updating running koji instances would be managed by updating the operator
image
Different architectures can be managed by kubernetes node labeling [1].
For example: you can label pods to target specific nodes, so an AARCH64
builder would run on nodes labeled with that architecture.
This is not in the scope of this initial operator proposal but Koji could
also support creating builders as pods in the future (by directly
provisioning those or delegating it to the operator), in a similar way
Jenkins provisions "nodes" in kubernetes.
[1] -
https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#...
On Thu, Oct 15, 2020 at 1:52 PM Alex <alex.m.lists2(a)gmail.com> wrote:
Hi Leonardo,
What would be the advantage of running Koji like this? Scaling builders
with demand?
How would you handle building for different architectures?
Cheers,
Alex
On 10/15/20 6:05 PM, Leonardo Rossetti wrote:
> Hello all,
>
> I've recently created a kubernetes SIG in fedora and sent a Koji
> Kubernetes Operator proposal which is available in this URL:
>
https://fedoraproject.org/wiki/Proposal:_Koji_Operator
>
> I would like to get as much community feedback as possible :-)
>
> Regards,
>
> ---------- Forwarded message ---------
> From: *Leonardo Rossetti* <lrossett(a)redhat.com <mailto:
lrossett(a)redhat.com>>
> Date: Tue, Oct 13, 2020 at 2:13 PM
> Subject: koji operator proposal and IRC meetings
> To: <kube(a)lists.fedoraproject.org
<mailto:kube@lists.fedoraproject.org>>
>
>
> Hello,
>
> I've written a proposal for a koji operator in our wiki:
>
https://fedoraproject.org/wiki/Proposal:_Koji_Operator - I would love
> to get community feedback :)
>
> I was also wondering if we could schedule a weekly IRC meeting - I was
> thinking every Thursday at 3PM UTC, what do you think (open to
suggestions)?
>
> Regards,
>
> --
>
> Leonardo Rossetti
>
> Senior Software Engineer,
>
> Red Hat <
https://www.redhat.com>
>
> lrossett(a)redhat.com <mailto:lrossett@redhat.com>
>
> <
https://www.redhat.com>
>
>
>
> --
>
> Leonardo Rossetti
>
> Senior Software Engineer,
>
> Red Hat <
https://www.redhat.com>
>
> lrossett(a)redhat.com <mailto:lrossett@redhat.com>
> M: +55-11-99703-0621 <tel:+55-11-99703-0621>
>
> <
https://www.redhat.com>
>
>
> _______________________________________________
> koji-devel mailing list -- koji-devel(a)lists.fedorahosted.org
> To unsubscribe send an email to koji-devel-leave(a)lists.fedorahosted.org
> Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
https://lists.fedorahosted.org/archives/list/koji-devel@lists.fedorahoste...
>
--
Leonardo Rossetti
Senior Software Engineer,
Red Hat <
https://www.redhat.com>
lrossett(a)redhat.com
M: +55-11-99703-0621
<
https://www.redhat.com>