Today it is time for the second part of my Trivadis mini-series „Security for Kubernetes„. This time we’re looking at runtime thread detection, alerting and actions. Many people now use analysis tools to check their frameworks and Docker images for potential security vulnerabilities. In the next part of the mini-series, I’ll tell you about our current setup […]
AWS QuickTip: Secure your Kubernetes environment using NetworkPolicies on AWS EKS
As a consultant at Trivadis, I am currently working for a customer who wants to secure their Kubernetes infrastructure. Part of this protection consists of not allowing data from a specific namespace to reach the internet. In the project, we have a private network, but connecting from Kubernetes to the internet is still possible by […]
Spring Batch Kafka with SASL_PLAINTEXT
It took me a while to find and did need a combination of multiple sources to get Spring Batch Kafka working with SASL_PLAINTEXT authentication. So let me show you how I did it. Keep in mind it is just a starting configuration so you get a connection working. application.yaml
Three days of conference, Quarkus all the way
At the beginning of February, the biggest Scandinavian developer conference “JFokus” took place in Stockholm. Within 3 days there were many interesting lectures on topics like “Distributed data management in a microservice architecture”, a workshop on how to write your own Java agents, several lectures on garbage collectors and memory optimization. But the most common […]
Improved pipeline build time with Maven, Jenkins and Surefire
Currently, I am dealing with a bug that leads to unstable build times. The setup consists of Jenkins, Maven and the Surefire Test plugin. Through this work, I’ve come across the fact that all the optimizations we use on our developer machines never found their way into our Jenkins pipeline. So then I started tuning […]
A trip to Sweden – JFokus 2020 Preparations
This year I will attend the JFokus conference in Stockholm, Sweden. It’s Swedens largest developer conference, with about 2000 attendes. The 2020 event is currently sold out and a waiting list is active. My current itinerary for the event Monday Tuesday Wednesday – Distributed data management in a microservice architecture – The Basics of Machine […]
Why your stateless Spring Boot Service still creates HTTP sessions
About two years ago I rolled out the first productive Spring Boot application within OpenShift. One of the problems we met back then was opening HTTP sessions even though we only rolled out a stateless REST server. A few days ago, there were problems with another REST service. When I was called up and saw […]
Fix Maven version in application.yaml (Spring Boot 2.1.3)
Until recently we could use something like this to show the maven version and timestamp inside the /info actuator: As we updated to Spring Boot 2.1.3 the application didn`t want to start up. The error message said the we couldn’t use the @ delimiter. To fix this problem you need to do the following: pom.xml […]
Java 8 vs Java 11 – Productive business application benchmark
Last week I could finally migrate a productive business application from Java 8 to Java 11. Until now the Continues Integration Pipeline didn’t support Java 11 completely. As that changed last week I could finally deploy the application on the clients OpenShift cluster. The application is a simple CRUD-Rest Service on top of an Oracle […]
Faster Maven Builds
Last week I received a project laptop update. From 2 CPU cores it went up to 4 cores. Also the rest of the equipment suggests that the build time should be reduced significantly. But build time did not change at all on the new laptop: