Configuring JVM settings on Openshift

In this tutorial we will learn how to configure JVM settings for WildFly Container running on Openshift. More in detail, we will see how to apply Compute resource constraints to shape the JVM memory settings. The recommended option to set JVM memory settings for WildFly / JBoss EAP is to use resource constraints. Resource constraints … Read more

How to autoscale your applications with Openshift

This tutorial will demonstrate how to use the Autoscaling feature to let Openshift automatically scale the number of Pods based on the amount of resources required by the Pod, up to a certain limit. Out of the box when you create a new application with Openshift, a Pod will be automatically deployed with that application … Read more

Configuring metrics on Openshift

Openshift metrics is an essential component to gather information about the health of your Paas. In this tutorial we will learn how to start Openshift Origin with metrics enabled and how you can check them. Openshift Metrics is a component designed to gather container, pod and node metrics from across an entire OpenShift cluster. These … Read more

Checking intra pod connectivity

Some of the common issues you might face during Openshift development are that one Pod is not able to reach another Pod. This can be because of network/security reasons, however it’s important to be able to check quickly the connectivity between two Pods. Let’s see how we can do it. The list of available commands … Read more

How to configure AB Deployments on Openshift

This tutorial will discuss about using A/B deployments on Openshift Paas in order to balance and weigh the load between multiple applications with as little as some tweaks in your configuration AB deployments are a simple and effective strategy to split traffic between different applications. One common use case is to split the load between … Read more

Manage blue-green deployments with Openshift Paas

This tutorial will teach how to use Blue-Green deployments on Openshift Paas in order to create a parallel environment for your applications which can be replaced just by setting a property in your router configuration Blue-green deployments are a proven approach to reduce the downtime caused when you are typically upgrading an environment. This is … Read more

Accessing Openshift services remotely

In this article we will learn how to connect to services running in Openshift Paas from external clients Out of the box Openshift uses the router component to let external clients access the services running in the Paas. The router is however limited to HTTP/HTTPS(SNI)/TLS(SNI), which covers web applications. In this article we will see … Read more

Using Property files in your Openshift applications

A common need for most application is to store its configuration in an external configuration files. This logic can indeed be pursued also when moving to the cloud, by using a resource named ConfigMap. Let’s see how. The ConfigMap API can be used to hold key-value pairs of configuration data that can be used in … Read more

Deploy Docker images on Openshift

This tutorial will teach you how you can build and deploy a custom Docker images available on Dockerhub into Openshift Origin Paas. Before reading this tutorial you are suggested to learn how to set up quickly Openshift origin on your machine using “oc cluster up”: Openshift installation quick tutorial So out of the box, Openshift … Read more

How to run Tomcat Docker image on Openshift

A common issue when porting Docker images on Openshift is that the image might be engineered to run with a root user. Let’s see how to deal with Security Context Contraints on Openshift. So let’s say you want to try deploying a Docker image like tomcat:latest to Openshift As you can see from the above … Read more