Skip to main content

You are currently viewing the Trifork Blog, to view our full website please go to Trifork.com

How I got rid of privileged mode Docker-in-Docker in GitLab CI/CD jobs with Podman

Docker-in-Docker requires privileged mode to function, which is a significant security concern. Docker deamons have root privileges, which makes them a preferred target for attackers. In its earliest releases, Kubernetes offered compatibility with one container runtime: Docker. In the context of GitLab CI/CD jobs that build and publish Docker images to a container registry, docker commands in scripts might seem like an obvious choice.

Managing Spring Boot Microservices with Spring Boot Admin on Kubernetes

In this blog: Prerequisites Introduction The top cool features we like and use most The service journal Overall View, what is deployed Change LOG levels DB migrations Creating an SBA Application Dependency configuration Spring Boot Admin Spring Boot Application Configuration of the Admin Application Summing up Running SBA on K8s Conclusion References Prerequisites Knowledge of: […]

Dockerising your legacy integration tests

As most of you will know, every now and then you can expect the question ‘Can you help fix something on this ancient project?’ According to the Universal Software Ageing table, that means anything from last month to much, much older. I got such a question recently, being in-between projects, and this project fell squarely into […]

Smart energy consumption insights with Elasticsearch and Machine Learning

Smart energy consumption insights with Elasticsearch and Machine Learning

At home we have a Youless device which can be used to measure energy consumption. You have to mount it to your energy meter so it can monitor energy consumption. The device then provides energy consumption data via a RESTful api. We can use this api to index energy consumption data into Elasticsearch every minute […]