-
My Local Kubernetes Cluster
Friday, May 19, 2017
I’m working on a very large project currently at work that involves Kubernetes. I’ve had quite a bit of time to play with it, and I have been very much enjoying it. Although I run a lot of containerized applications on my local network at home, I have up to this point just been either scheduling the containers by hand, or have been using Rancher as my main scheduler. Honestly though, I have been so impressed with Kubernetes that I finally decided that I should spin up a local cluster for me to use in my homelab. Although it looked pretty straight forward, and really in the end it was, I ran into a number of issues that I wanted to touch on. Two caveats before we get started. First, this is only intended for spinning up Kubernetes on your own VMs, Baremetal, or Linode/Digial Ocean type of boxes. There are way better tools out there if you want to install a cluster in AWS (see Kops). Second, I will be focusing on using CentOS7 as the base operating system. …
-
My Master Vagrant File
Saturday, May 13, 2017
Vagrant is probably one of my favorite tools. The ability to quickly spin up one, or multiple, virtual machines for testing is super useful. Over the course of the last year or two really using it, I have developed what I call my “master” Vagrantfile. This Vagrantfile essentially has lots of the common things I do, with comments that allow me to easily select the things I want. For instance, options for all the different distributions that I need to test with, whether I want to provision with a shell script or with Ansible, and places for specifying multiple VMs. So I figured I would post my master file here for others to take a look at, use, or even just as a guide. …