Home » DevOps

DevOps

Jib – Containerize Your Java Application

ge Credit: https://github.com/GoogleContainerTools/jib Building containerized applications require a lot of configurations. If you are building a Java application and planning to use Docker, you might need to consider Jib. Jib is an opensource plugin for Maven and Gradle. It uses the build information to build a Docker image without requiring a Dockerfile and Docker daemon. In this article, we will ...

Read More »

Rotating secrets in Kubernetes

I’m building a multitenant SaaS on top of Kubernetes at the moment, and one principle we’ve gone with is that all secrets should be rotated regularly. I’m surprised by the distinct lack of documentation on best practices for how to supply this configuration in Kubernetes. Of course, when it comes to certificates, it’s fairly straight forward to rotate a certificate ...

Read More »

Quarkus remote dev in Docker containers

When you’re developing with Quarkus, you’re probably familiar with the dev mode which allows you to see your code changes immediately being reflected in the running application. It’s also possible to run Quarkus in development mode remotely, for example in a Docker container, and connect to the process from your source repository. In the following video, I’ll explain what we ...

Read More »

Escape JSON property names in jq

I’m using the command line a lot and jq is a helpful tool for dealing with JSON data. You can access JSON object properties and array elements by concatenating the property names with dots and square brackets: 1 gt; cat ~/.docker/config.json { "auths": { "https://index.docker.io/v1/": { "auth": "aBcDeFghiJKlMn=" }, [...] } } 1 gt; cat .docker/config.json | jq . { ...

Read More »

Use local docker image on minikube

You use Minikube and you want to run your development images that you create locally. This might seem tricky since Minikube needs to download your images from a registry however you images are being uploaded on your local registry. In any case you can still use you local images with Minikube so let’s get started. Before running any container let’s ...

Read More »

6 reasons why you should employ Microservices in DevOps

Netflix, Amazon, Google, PayPal, and Facebook have more in common than them being the absolute behemoths of their niches. They all follow the microservices architecture along with DevOps. These giants of the digital world turn out to be built on the building block of microservices. And they use DevOps guidelines to ensure things turn out to be the way they ...

Read More »

Quarkus tests with Testcontainers and PostgreSQL

Testcontainers is a Java library that allows integrating Docker containers in JUnit tests with ease. In a Containerized World, there is little sense to complicate the tests configuration with embedded databases and services. Instead, use run your services in Docker and let the Testcontainers manage this for you. So if you are need Redis, MongoDB or PostgreSQL in your tests ...

Read More »

Autoscaling Groups with terraform on AWS Part 3: Elastic Load Balancer and health check

Previously we set up some Apache Ignite servers in an autoscaling group. The next step is to add a Load Balancer in front of the autoscaling group. Before any steps let’s add some environmental variables to variables.tf. 1 2 3 4 5 6 7 8 9 variable "autoscalling_group_elb_name" {   type = string   default = "autoscallinggroupelb" }   variable "elb_security_group_name" { ...

Read More »