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 !
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
Any news about the "need to work" ?
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
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
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(+)
Thanks!