Using the internal OpenShift container registry to deploy an application

This cheat sheet is an extension to a blog post I made which is called: Configure a project in an IBM Cloud Red Hat OpenShift cluster to access the IBM Cloud Container Registry . In that related blog post we used the IBM Cloud Container registry to get the container images to run our example application. Now in this cheat sheet we will use the Red Hat OpenShift internal container registry and the Docker build strategy to deploy the same example application to OpenShift.

How to use environment variables to make a containerized Quarkus application more flexible

When you run a containerized application on a container orchestration platform like Kubernetes, Open Shift or with a serverless framework like Knative or Code Engine or on other platforms, it is helpful to pass endpoints to other applications to the containerized application by using environment variables. When the container will be restarted, these variables can be provided to the container and no adjustment in the source code is necessary. You can use configmaps or in Code Engine simple the environment variable itself.

Getting started to secure a simple Java Microservice with Keycloak, MicroProfile and OpenLiberty

The objective of this blog post is to share with you an extract of a "simple" example project on GitHub I created to get started with: How to access a Java Microservice using the Open Source Identity and Access Management with Keycloak and JavaWebToken (JWT). ‌ In that project I want to ... ... secure … Continue reading Getting started to secure a simple Java Microservice with Keycloak, MicroProfile and OpenLiberty

Run a PostgreSQL container as a non-root user in OpenShift

In this blog post I want to point out a simple topic: How to run a simple PostgreSQL Docker image as a non-productive container in OpenShift? As you maybe know, OpenShift doesn't allow by default to run container images as root. The image below shows the result of the simply deployed postgreSQL image from dockerhub. It's possible … Continue reading Run a PostgreSQL container as a non-root user in OpenShift

Setup a MongoDB in less than 4 min on a free IBM Cloud Kubernetes cluster at a Hackathon

In this blog post I want to highlight that I just created a GitHub project and a 10 min YouTube video to "How to setup mongoDB in less than 4 min on a free IBM Cloud Kubernetes cluster at a Hackathon". My objective is to provide a small guide, how to setup a MongoDB server … Continue reading Setup a MongoDB in less than 4 min on a free IBM Cloud Kubernetes cluster at a Hackathon

Run a MicroProfile Microservice on OpenLiberty in a Remote development container in Visual Studio Code

In this blog post I want to show, how to setup a local remote Java development container for Eclipse MicroProfile with OpenLiberty in Visual Studio Code. I did that for the Authors microservice from the Cloud Native Starter project with MicroProfile 3.2, OpenJDK Java 11, and the latest OpenLiberty version. That blog post is structured … Continue reading Run a MicroProfile Microservice on OpenLiberty in a Remote development container in Visual Studio Code

Fast setup of a Java microservice project with MicroProfileStarter

In this blog post I want to show the easy setup of an own MicroProfile/OpenLiberty project with MicroProfileStarter . From my perspective that is  very useful for new Java developers, who want to build microservices. The prerequisite is, you have installed maven and Java on your local machine. You can use for more information the MicroProfileStarter it self and … Continue reading Fast setup of a Java microservice project with MicroProfileStarter