A new CentOS Atomic Host release (7.20170117), based on CentOS 7.1611, is now available. Beyond the rebase to the new CentOS version, the biggest change in this release is the removal of the kubernetes-master package from the image, a change that we’ve inherited from RHEL Atomic.
You can run the master kubernetes components (apiserver, scheduler, and controller-manager) in containers, managed via systemd, using the service files and instructions on the CentOS wiki. The containers referenced in these systemd service files are built in and hosted from the CentOS Community Container Pipeline, based on Dockerfiles from the CentOS-Dockerfiles repository.
I’ve tested these containers with the kubernetes ansible scripts provided in the upstream contrib repository, and they work as expected, provided you first copy the service files onto your master. I’ve also tested the containers with a cluster already running kubernetes as configured by the ansible scripts, and that case works as well.
There is, however, an SELinux issue, the workaround for which is
running your kubernetes nodes in permissive mode. The fix for this
issue requires updating to the docker 1.12 version released this week
as part of this week’s RHEL AH 7.3.2. As soon as docker and the rest
atomic packages are built for CentOS, we’ll test and release
an updated CentOS Atomic Host, along with refreshed media.
For now, if you wish to upgrade to 7.20170117, do so by running:
atomic host upgrade
If you aren’t already running CentOS Atomic, you can download an image from our download page on the CentOS wiki and upgrade that to the latest tree.
CentOS Atomic Host 7.20170117 includes these core component versions: