Problem Installing OpenShift-cli on MacOS Mojave

installing openshift-cli on macos

Today, after upgrading to MacOS Mojave I wanted to also upgrade my Minishift installation and OpenShift-cli. Upgrading Minishift was quite straightforward but when I tried to install OpenShift-cli using homebrew I got the following error message: brew install openshift-cli – Error: Failure while

Read More 
Problem Installing OpenShift-cli on MacOS Mojave

Magic Command to Clear All Those Annoying Pods in Your OpenShift Cluster

openshift persistent volumes

Sometimes your PODs may get stuck in UNKNOWN, PENDING, TERMINATING etc. states. These PODs seem to have the durability to live forever and contaminate your compute nodes. When you try to delete them, sometimes the command line will say that the POD

Read More Magic Command to Clear All Those Annoying Pods in Your OpenShift Cluster

The type javax.servlet.ServletContext cannot be resolved. It is indirectly referenced from required .class files

If you have encountered this annoying error in Eclipse you are in luck. Here I will be telling you how to fix it! First, right-click the project in Project Explorer and click Properties: On the Properties screen type “build” and

Read More The type javax.servlet.ServletContext cannot be resolved. It is indirectly referenced from required .class files

Introduction to Persistent Storage In OpenShift

openshift persistent volumes

Not all the containers in your cluster will be non-persistent or ephemeral. Most of the time you will need persistent containers running all around the place to hold some sort of data. To store the data independent of the lifetime

Read More Introduction to Persistent Storage In OpenShift

Spring MVC Workflow – Understanding How Spring MVC Mechanism Works

Let’s start by observing the figure below:   First, the request is received by the DispatcherServlet. DispatcherServlet is a front controller. It is like a super controller who redirects all the requests to the corresponding handler methods inside the controller classes.

Read More Spring MVC Workflow – Understanding How Spring MVC Mechanism Works

Adding Jenkins Slaves (Linux/ CentOS7)

This is a post I have been thinking about writing for some time and I finally had the time to do that. In the beginning, it could be enough to use just a single Jenkins instance (master), but sooner or later

Read More Adding Jenkins Slaves (Linux/ CentOS7)

OpenShift – See the Contents of Your Deployed Jar Inside a Running Pod

openshift

You can follow the steps below to see the contents of your deployed jar archive inside a running pod in your OpenShift cluster: 1- Login to master 2- Browse to namespace/project 3- oc get pods 4- oc rsh {pod_name} 5- cd to

Read More OpenShift – See the Contents of Your Deployed Jar Inside a Running Pod

OpenShift – Simple Bash Script to Periodically Check Node Status

openshift

This is a very basic example bash script that I wrote. Using this script you can check the node status of your OpenShift cluster periodically on your master node. Take it as a basis and expand it to your needs. Bash version: GNU

Read More OpenShift – Simple Bash Script to Periodically Check Node Status