Clustering Atomic Hosts with Kubernetes, Ansible, and Vagrant

Project Atomic

A single Atomic Host is a fine place to run your containers, but these hosts are much more fun when bunched into clusters, a task that we can manage with the help of Kubernetes.

There are a lot of great guides for setting up a Kubernetes cluster, but my favorite involves Ansible and Aagrant, and lives in the Kubernetes contrib repository on Github.

This install method can be used with the libvirt, VirtualBox or OpenStack Vagrant providers. You can also use the Ansible scripts on their own, if Vagrant isn’t your thing.

Prerequisites

To follow along, you’ll need a machine with Vagrant and a provider for libvirt, VirtualBox, or OpenStack. I typically use libvirt on Fedora, but I’ve had success with VirtualBox on Fedora as well – if someone wants to test this with VirtualBox and Windows or OS X, please let me know if it works.

I’m using Fedora 22, and this command pulled in the specific dependencies I needed dnf install -y vagrant-libvirt libvirt-devel gcc gcc-c++ ruby-devel

Continue reading

Project Atomic

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Newsletter: Subscribe for updates

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

Get the latest

On social media

Security distros

Hacker
Linux distros for hacking and pentesting

Crypto mining OS

Bitcoin
Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

LVM
Beginner's guide to disks & disk partitions in Linux

Bash guide

Bash shell terminal
How to set the PATH variable in Bash
Categories
Archives
0
Hya, what do you think? Please comment.x
()
x
Algorithm 2020

Did you get your ticket yet?

Algorithm 2022 is a 3-day conference on blockchain, cryptocurrencies and AI set for Feb. 10 – 12, 2022, in Dallas. Speakers from the US Air Force, Ministry of Digital Transformation, Ukraine, and more. click that button to learn more and get your ticket. Use BSD20 code for 20% off ticket price.