Bug 267308 - [New Port] kube-apiserver
Summary: [New Port] kube-apiserver
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Mikael Urankar
URL: https://github.com/freebsd/freebsd-po...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-24 12:19 UTC by loic.blot
Modified: 2023-01-20 11:57 UTC (History)
2 users (show)

See Also:


Attachments
kube-apiserver.shar (2.12 KB, text/plain)
2022-10-24 12:19 UTC, loic.blot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description loic.blot 2022-10-24 12:19:06 UTC
Created attachment 237580 [details]
kube-apiserver.shar

Hello,
i just published a patch to update kube-controller-manager & kube-scheduler to their latest - 1 patch version, and i just re-tested, now kube-apiserver is buildable and runnable under FreeBSD.

Here is the shar file to add kube-apiserver to FreeBSD.

Is means, if people want, now the full controlplane (kube-apiserver, kube-scheduler, kube-controller-manager, etcd) is runnable on FreeBSD !
Comment 1 loic.blot 2022-11-04 16:04:49 UTC
i need to work a bit more on this port to add the rc.d script and some defaults or doc about the apiserver itself, don't merge it for now
Comment 2 Olivier Cochard freebsd_committer freebsd_triage 2022-12-17 12:26:57 UTC
Any news about the "need to work" ?
Comment 3 loic.blot 2022-12-22 09:26:52 UTC
Hello Olivier, not yet, because i was a bit cold due to the scheduler and controller manager part and i let this one behind.
If FreeBSD is really interested on all parts, first please help to finish integration on the patches for controller-manager and scheduler.
For APIserver i should provide the rc.d and update to 1.26.x branch
Comment 4 loic.blot 2023-01-17 19:36:06 UTC
Hello Olivier,
sorry for being late, i let this project alone for a moment as FreeBSD team is busy on other topics :)

Please note that the SHAR has been replaced with a Github PR instead, in order to have proper way to integrate it in your tree (i'm not fan of Github, but at least the git result is better)

I put a notice as in my test i saw a limitation for one of the Kubernetes usecase

https://github.com/freebsd/freebsd-ports/pull/145
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-01-20 11:50:49 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=db9dab9d84dd2470d070b9b6e2b387185f132f1e

commit db9dab9d84dd2470d070b9b6e2b387185f132f1e
Author:     Loic Blot <loic.blot@unix-experience.fr>
AuthorDate: 2023-01-17 19:32:43 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-01-20 11:50:24 +0000

    net/kube-apiserver: Add new port

    The Kubernetes API server validates and configures data for the api
    objects which include pods, services, replicationcontrollers,
    and others. The API Server services REST operations and provides
    the frontend to the cluster's shared state through which all other
    components interact.

    Note: while testing this as a replacement of a Linux based on my lab,
    I only saw Webhooks not working due to Kubernetes network mesh not implemented.
    I added a notice about this for people who want to test it.

    PR:             267308

 net/Makefile                                       |  1 +
 net/kube-apiserver/Makefile (new)                  | 45 ++++++++++++++++++++++
 net/kube-apiserver/distinfo (new)                  |  3 ++
 .../files/kube-apiserver.in (new +x)               | 24 ++++++++++++
 net/kube-apiserver/pkg-descr (new)                 |  5 +++
 net/kube-apiserver/pkg-message (new)               | 12 ++++++
 6 files changed, 90 insertions(+)
Comment 6 Mikael Urankar freebsd_committer freebsd_triage 2023-01-20 11:57:52 UTC
Thanks!