[atomic-wg] Issue #176 `status of kubernetes on fedora atomic 25`
by Pagure
jasonbrooks reported a new issue against the project: `atomic-wg` that you are following:
``
We removed kubernetes, etcd, flannel, gluster and ceph from the atomic host for Fedora 25: https://pagure.io/fedora-atomic/c/219c9bb26426811a5f32188c59682ad70c3283e...
The idea is that these pkgs can/should be run as docker containers or system containers. I wrote a post about running kube in containers on CentOS Atomic, but things work the same for Fedora Atomic: http://www.projectatomic.io/blog/2016/09/running-kubernetes-in-containers...
However, we don't currently have fedora containers for kubernetes. There's a year-old PR for this: https://github.com/fedora-cloud/Fedora-Dockerfiles/pull/112. I used this PR as the basis for kube containers for CentOS: https://github.com/CentOS/CentOS-Dockerfiles/tree/master/kubernetes.
Another option is using package layering to install the removed rpms if desired: http://www.projectatomic.io/blog/2016/07/hacking-and-extending-atomic-host/. This works, mostly, but the kube-apiserver that comes with kubernetes-master is granted CAP_NET_BIND_SERVICE so it can use port 443, and package layering won't support this: https://github.com/projectatomic/rpm-ostree/issues/462.
Whether we install kubernetes via package layering or containers, another issue is that the kube we have for fedora 25 is very old, 1.2, and current is 1.4.5. There's a kube 1.4.5 in koji for fc26 (http://koji.fedoraproject.org/koji/buildinfo?buildID=816481), and I've asked Jan about making it available for fedora 25. I built it for f25 and el7 in this copr: https://copr.fedorainfracloud.org/coprs/jasonbrooks/kubernetes/.
kubeadm (http://kubernetes.io/docs/getting-started-guides/kubeadm/) is a slick way to run an up-to-date kube cluster, and the kubernetes project offers rpms for kubeadm, but the kubernetes-cni package they provide doesn't work with atomic. I made a patched package in a copr for f25 and el7 (https://copr.fedorainfracloud.org/coprs/jasonbrooks/kube-release/) and wrote about it here: https://jebpages.com/2016/11/01/installing-kubernetes-on-centos-atomic-ho.... The rpm grabs the binaries from the upstream project, if fedora were to provide this package, we'd probably want to build the binaries ourselves. kubeadm runs kubernetes and etcd in containers, and these containers aren't fedora-based, and they come from upstream. They appear to be based on busybox. Also, kubeadm is considered alpha at this point.
We should:
* try to move to a more recent kubernetes version
* get kubernetes containers in place for fedora
* get fedora versions of the flannel and etcd system containers in place
* document how to install kubernetes and how to use package layering on fedora
* look further into kubeadm
``
To reply, visit the link below or just reply to this email
https://pagure.io/atomic-wg/issue/176
7 years, 4 months
imagefactory and oz specialists needed
by Dennis Gilmore
Hi All,
We use Oz[1] and Imagefactory[2] to make the various cloud images
today. In Fedora particularly in Release Engineering we have little to
no expertise in the tooling. It is often difficult to debug as the
logging is suboptimal. It would greatly help the Cloud WG to ensure
that one or two people become versed in and help develop new features
as well as providing support.
We have always recomended that people use Oz and Imagefactory to build
test images locally, however that is not always so simple, so an
additional goal would be to improve documentation and usability for
people to use the tools at home.
Regards
Dennis
[1] https://github.com/clalancette/oz/wiki
[2] http://imgfac.org/
7 years, 4 months
no meeting today 12/21
by Dusty Mabe
Most people are not around today so we'll cancel the meeting for today.
Some news:
- we now have k8s baked into the ostree again for atomic host in F25
- we are working on getting a fix for UEFI ISO installs, but might be
in the first two week release in january.
Happy Holidays Everyone!
Dusty
7 years, 4 months
Out tommorrow
by Josh Berkus
I won't be able to make the meeting tommorrow due to travel.
--
--
Josh Berkus
Project Atomic
Red Hat OSAS
7 years, 4 months