Clearing the OpenShift log data using the curator pod (OpenShift 3.6)

openshift

In our test OpenShift cluster, we had this space problem with the infra node. See the numbers below. Previously: Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 50G 2.0G 49G 4% / devtmpfs 7.8G 0 7.8G 0% /dev /dev/sdd2 50G

Read More Clearing the OpenShift log data using the curator pod (OpenShift 3.6)

SonarQube 6.5 Resetting admin Password on CentOS7

Install pgAdmin on centos7 (GNOME environment) – yum install pgadmin4-desktop-gnome check the config file of sonarqube – /opt/sonarqube/conf/sonar.properties – sonar.jdbc.url=jdbc:postgresql://localhost/sonar – sonar.jdbc.username=sonar – sonar.jdbc.password=Password1 start pgAdmin by simply running “pgadmin4” command OR Applications -> Programming -> pgAdmin 4 Under Quick

Read More SonarQube 6.5 Resetting admin Password on CentOS7

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

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

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

Red Hat JBoss BPM Suite -Reusing a BPM process as a subprocess inside another BPM process which is in a different repository

rpm-vs-yum

In this video, under 5 minutes, I am demonstrating how to use a process (process2) as a subprocess in another process (process1) which is actually in a separate repository (repo1). I placed the BPM Suite console and 2 folders (“.niogit”

Read More Red Hat JBoss BPM Suite -Reusing a BPM process as a subprocess inside another BPM process which is in a different repository