Adding a New User to OpenShift with HTPasswd Identity Provider

openshift

There are various identity providers that can be used with OpenShift. In this post, I will mention HTPasswd identity provider and how you can manage your users with it. First, if you don’t know which identity provider is used in your cluster

Read More Adding a New User to OpenShift with HTPasswd Identity Provider

Here is a little awk hack for linux command history

If you are using a Linux distro and you use the command line a lot,  this little awk trick will show you your most used commands so that you can create aliases for them leading to an increase in your

Read More Here is a little awk hack for linux command history


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

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