Scaling Kubernetes Pods using Prometheus Metrics

One of Kubernetes many features is auto-scaling workloads. Typically, Horizontal Pod Autoscalers scale pods based on CPU or memory usage. During other times we could better scale by using custom metrics that Prometheus is already scraping. Fortunately, Horizontal Pod Autoscalers can support using custom metrics.

Deploy Kubernetes Applications with the Carvel Suite

The Carvel Suite is a set of composable tools to help deploy applications to Kubernetes. While other solutions try to solve all problems in one package, Carvel provides tools and leaves it up to you to glue the components together. This enables a lot of flexibility!

IPVS: How Kubernetes Services Direct Traffic to Pods

Welcome to the fourth part of a series on Docker and Kubernetes networking. Similar to iptables: How Kubernetes Services Direct Traffic to Pods, we’ll focus on how kube-proxy uses IPVS (and ipset) in IPVS mode. Like the previous posts, we won’t use tools like Docker or Kubernetes but instead use the underlying technologies to learn how Kubernetes work.

Ubuntu Autoinstallation on VirtualBox

Ubuntu 20.04 released a tool named Autoinstallation. Autoinstallation is comparable to cloud-init that several cloud offerings support for configuring virtual machines (VM). Autoinstallation achieves a similar configuration for a no-cloud environment. We can use VirtualBox to create a new VM that is automatically configured with our Autoinstallation configuration.

Lessons Learned Implementing CI

I’ve helped several teams create and support their Continuous Integration (CI) processes. My approach to CI has changed over the years as I’ve learned from mistakes and incidents. I hope these lessons help you prevent making the same mistakes I have. 1. Keep CI config files slim The less configuration and code that only exists in files such as .