Skip to main content rmenn - personal blog

rmenn - personal blog

Recent posts

  1. Wolfi Distroless Images

    Based on this tweet, i decided to do this write up to show how you can create distroless images using wolfi

    What is Distroless

    read more here

  2. The Controller Conundrum

    tl;dr - Gave up writing a controller and got similar functionality with 6 lines of bash

    Recently i began planning the split of auto scalling groups for a change we were planning to introduce, this involved the nodes having certain taints & labels so that the right workload gets placed on them.

    So this involved two things one is a couple of AWS ASGs and spotinst, so i needed something which worked on all nodes

  3. Terraformer Imports

    I recently inherited an AWS account at my present employer which has a few VPC, managed Data Stores, a few stray instances & a couple of EKS cluters.

    The Problem : No IaC

    The Solution : terraform imports

    Now this isnt new, here the thing was there was a lot of things to get rid off ( looking at you launchwizard7 security group ), so i needed to bring a certain part of the AWS cloud under terraform while ignoring the others. That would actually provide a definitive guideline as for me to mark resources to get rid of.

  4. How bootkube works

    What is bootkube?

    [bootkube][3] is a project in the kubernetes incubator, which allows you to self host the control-plane of kubernetes. Simple, isnt it?

    What is self hosting?

    The idea of self hosting is to run the kubernetes control-plane in kubernetes, leveraging kubernetes objects. That is, to run the api-server, controller-manager & the scheduler as kubernetes objects, which then enables you to manage kubernetes like any other application you run on kubernetes. What does this mean? You manage kubernetes components using your favorite tool kubectl.

  5. Running bootkube on OSX

    I’d heard of bootkube and wanted to try it out, I also really wanted to run this locally on my MacBook. I didn’t want to run it on Virtual Box, this was when I remembered kubesolo which used the xhvye virtualization to stand up a kubernetes cluster on your MacBook. I then looked and found corectl, which allows you to run a coreos vm on xhyve. It took me a day or so to figure out how exactly I needed to bring up the cluster.