How to create a new realm with Keycloak in Version 20.0.1, REST API and cURL?

In this blog post I want to show, how to create a new realm with Keycloak REST API 20.0.1. The Keycloak API has changed and my older blog post How to create a new realm with the Keycloak REST API? doesn’t work anymore for version 20.0.1. I automate the Keycloak realm creation for an example realm by using cURL in a bash script. First I created the blog post about Export a Keycloak (Version 20) realm and now I show the creation of an example realm in Keycloak. I took a look in the new Keycloak REST API documentation and into the Keycloak Node.js client. In this blog post I use an example realm I exported before, here is the link to the example-realm.

Access Prometheus queries using the Prometheus HTTP API

In the last long blog post we covered the topic Monitor your custom operator with Prometheus. That means we did a setup of a Prometheus operator and we created a Prometheus service instance. In our operator we registered an example counter called goobers_total at the Prometheus server to monitor the invocations for our controller inside the operator application. Now we want to access the counter information goobers_total by using the Prometheus HTTP API from a local Golang application.

„Let’s get started with cloud native Java applications on Kubernetes“ Our hands-on workshop is ready to rumble!

Our hands-on workshop: „Let’s get started with cloud native Java applications on Kubernetes“ , is ready to rumble! After all the effort Niklas and Harald did to deliver that awesome and valuable content of the “Cloud Native Starter” open sourced GitHub project, I contribute to that (ongoing) project with this hands-on workshop based on all the given great materials... Continue Reading →

Blog at

Up ↑