Kubernetes Monitoring with Prometheus

By | March 11, 2024

Reading Time: 16 minutes In this article I am going show how to install Prometheus in a Kubernetes cluster using a Kubernetes operator. I will use the Operator Lifecycle Manager to install the operator, all with the ulterior motive to have infrastructure as code and in the extension be able to automate installation and configuration to an as large… Read More »

Traefik v2 in K3S – Take Two

By | April 20, 2023

Reading Time: 6 minutes Two years ago already?!? Apparently more than two years have already passed since I wrote an article about installing and testing Traefik v2 in a K3S cluster. Given a recent article in which I were able to completely automatize the creation and set up of a K3S cluster, I thought I would revisit my old… Read More »

Automatized K3S Cluster in Multipass VMs with Ansible

By | April 13, 2023

Reading Time: 22 minutes Some time ago I sat out to automatize the creation of a K3S (lightweight Kubernetes) cluster in Multipass virtual machines using Ansible since I wanted to be able to quickly create a K3S cluster for wild experiments. Given a number of nodes and configurations for each of the virtual machines on which the nodes are… Read More »

Building A Microservice-Ready Monolith

By | February 2, 2023

Reading Time: 20 minutes When developing programs that are larger than minuscule I prefer to structure them in a fashion as once inspired by an article by Simon Brown named “An Architecturally Evident Coding Style” that I read some years ago. Not only does this help me to organize my code in a, to me, familiar way but it… Read More »

Testing Ansible Docker Container Deployment with Molecule

By | November 2, 2022

Reading Time: 8 minutes Update: There is a slight issue with the technique described in this article. Please refer to this article for a remedy. Testing Ansible automation with Molecule means testing against Docker container(s) that poses as remote server(s). An interesting challenge, at least to me, was to use Molecule to test deployment of Docker containers – this… Read More »

MQTT Broker-Client

By | February 20, 2022

Reading Time: 16 minutes In this article I will, using a test-case, show how to publish and consume MQTT messages using the reactive HiveMQ client library. I will use the Mosquitto MQTT broker for the test. The example application will be implemented using Spring Boot 3 and Java 17. The example will initially allow unauthenticated access that later will… Read More »

Ansible Variable Precedence

By | December 13, 2021

Reading Time: 19 minutes In this article I am going to satisfy my curiosity regarding how variables work in Ansible roles.An Ansible role is a set of reusable resources, such as tasks, handlers and templates that can be used from Ansible playbooks. As a software developer, I would perhaps compare roles to subroutines – neither can be used in… Read More »

Creating Multipass Virtual Machines with Ansible

By | October 10, 2021

Reading Time: 6 minutes In this article I will automate creation of Multipass virtual machines using Ansible. The manual process is described in an earlier article. As in the previous article, the virtual machines created will be configured as to allow for password-less login using a private key. Prerequisites In order to be able to create Multipass virtual machines,… Read More »