April 1, 2019

Setting up a Kubernetes 1.14 Raspberry Pi Cluster using kubeadm

Raspberry PI is the most popular small computer for home projects - almost everyone has the one (or ten) in his basement and you probably don’t know what to do with it. So here is the idea: let’s create a Kubernetes cluster of those dusty Raspberry Pi’s for our brave experiments! Table of Contents My Setup Networking Preparation Post Installation Steps Installing Packages Master Initialization Workers Setup Checks Bonus Useful Links My Setup Note: if you have RPi with wi-fi module onboard you probably don’t need to buy a switch and all those cables. Read more

August 7, 2018

Kubernetes LDAP Authentication

Recently I had a chance to work on implementing LDAP authentication for Kubernetes. This post will describe my experience and some underwater stones that I’ve faced on my way to it. What tool should I choose? There a lot of tools and blog posts/videos that can help you to add LDAP authentication for your Kubernetes cluster: dex from CoreOS - I don’t know anything about the future of this project because of the fact that CoreOS was acquired by RedHat. Read more

July 13, 2018

Taints and Tolerations in Kubernetes

Welcome back! Today we’re going to talk about Taints and Tolerations in Kubernetes. If you use kubeadm you’re probably familiar with them, if not - this blog post was written especially for you! Taints in Kubernetes Taints allow a Kubernetes node to repel a set of pods. In other words, if you want to deploy your pods everywhere except some specific nodes you just need to taint that node. Read more

July 6, 2018

How to Enable Kubernetes Auditing with Kubeadm

Welcome back! In this post, I want to describe how you can enable auditing in Kubernetes cluster that is going to be deployed with kubeadm. Auditing is really important in case you’re actively using Kubernetes cluster and you want to know what’s really happenening behind the curtains. With auditing you can answer the following questions: what happened? when did it happen? who initiated it? on what did it happen? Read more

June 28, 2018

Using Ingress Controller in Kubernetes (part II)

This is the second part in the Kubernetes Ingress series. Please refer to the first one for the basic setup and the info about Ingresses in Kubernetes. Today we’re going to talk about Multiple Services and how to handle HTTPS traffic with Ingress. Let’s start with Multiple Services: Multiple Services Let’s create a second app, it’s basically the same NodeJS code but with a slightly different output: const http = require('http'); const os = require('os'); console. Read more

Creative Commons - Attribution, Noncommercial, No Derivative Works 3.0 License