MetalLB hooks into your Kubernetes cluster, and provides a network load-balancer implementation. In short, it allows you to create Kubernetes services of type LoadBalancer in clusters that don’t run on a cloud provider, and thus cannot simply hook into paid products to provide load balancers. This example has been …
Read Morekind is a tool for running local Kubernetes clusters using Docker container “nodes”. kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI. It requires Docker to be installed (it may work with podman but I've not tried) and the kind binary which can be installed in …
Read MoreThe Prometheus Alertmanager handles alerts sent by client applications such as the Prometheus server. It takes care of deduplicating, grouping, and routing them to the correct receiver integration such as email, PagerDuty, or OpsGenie. It also takes care of silencing and inhibition of alerts. To ensure that alert …
Read MoreUsing the NGINX Prometheus exporter to add MGINX metrics into Prometheus. NGINX Prometheus exporter fetches the metrics from a single NGINX or NGINX Plus, converts the metrics into appropriate Prometheus metrics types and finally exposes them via an HTTP server to be collected by Prometheus. These instructions assume …
Read MorePrometheus is an open-source systems monitoring and alerting toolkit originally built at SoundCloud. It has been used by many companies for over 10 years and forms the foundation of a good and flexiable monitoring system In this the first of a series of posts we will go back to the basics installing Prometheus and node …
Read MoreThe following will update the 3 node cluster build here to 1.26. Before installing 1.26 the hosts need to be running containerd > 1.6, the Ubuntu 20.04 hosts can be upgraded using the instructions here Upgrading the Master node 1$ export RELEASE=1.26.0 2 3$ sudo apt-get update && sudo apt-get install -y …
Read MoreKubernetes 1.26 requires Containerd > 1.6 but the highest version in the Ubuntu 20.04 repos is 1.5.x. The following instructions will get a 20.04 host ready to upgrade to Kubernetes 1.26. The following instructions assume you are running as root 1 2mkdir -p /etc/apt/keyrings 3curl -fsSL …
Read MoreThis is just a basic setup installing a 3 node Kubernetes setup on 3 nodes. The nodes can probably be anywhere, AWS, GCP, VMware etc as long as they are running Ubuntu 20.04. One node needs to be designated as the master and the other 2 as workers. To start with the pre-requisites need to be installed on all 3 nodes. …
Read MoreUsing Systems Manager (SSM) to control access to a Bastion host has several advantages making using a Traditional Bastion host using SSH Keys pretty much obsolete. No need for an external IP No SSH Keys needed all access is via IAM Access logged including what command are run A working example can be found on GitHub …
Read MoreTransit Gateway allows VPC's to be connected together into a single network as well as connecting to on-prem networks. This example will deploy a simple setup with 2 VPC's being connected together. The Terraform code can be found on GitHub. The code also includes a RAM (Resource Access Manager) share for linking VPC's …
Read More