PostgreSQL‘s psql interactive terminal tool provides several useful “backslash list commands” such as \d (lists “relations” such as tables, views, indexes, and sequences), \dt (lists tables), \di (lists indexes), \ds (lists sequences), \dv (lists views), \df (lists functions), \du (lists roles), and \? (displays help/usage details on backslash commands). These commands are concise and much simpler to use than writing ...
Read More »Some bash functions for git
Here some git related functions in my .bachrc. Is mostly a backup for me, but it might also be useful for someone else. Cloning a git repo Because I usually clone repos from my github account, this is a shortcut that allows me to just type clone *repo_name* and it will create the URL. function clone { if [ $# ...
Read More »How to Find Biggest Files and Directories in Linux to Free some Disk Space Quickly – find & du & sort & head command Example
Hello guys, 100% full disk space is a common problem and as a programmer or Linux user, you often need to free disk space by deleting biggest files and directories. In order to do that, you need to know some Linux find command examples to list and delete some biggest files and directories and that’s what you will learn in ...
Read More »Kubernetes and Secrets
This is going to be a small post since it has to deal with kubernetes and secrets. Yet it is a very useful once since adding secrets is so common yet so easy to forget (guilty as charged). So we will cover username and password, key/values, file uploading, secrets. Upload username and password using command line. kubectl create secret generic ...
Read More »Testing and using AWS EKS #kubernetes – findings
Context I have been working in a team where we use kubernetes in production (not the nginx example- the real shit) for 2 years now. I have configured and used Kubernetes clusters from version 1.4.x with tools like kube-aws to 1.6-1.7 configured with kops. Amazon’s EKS is the third breed of kubernetes provisioning solutions that I have the chance to try and this post ...
Read More »AppDev in Cloud: How to put Red Hat Process Automation Manager in your Cloud
It’s been some time since we talked about putting JBoss BPM Suite into your cloud and with the new product release it’s time to talk AppDev in the Cloud again. It’s time to update the story and show you how to put Red Hat Process Automation Manager in your cloud. With this easy installation demo project you’re able to leverage process automation ...
Read More »AppDev in Cloud – How to put Red Hat Decision Manager in your Cloud
It’s been some time since I last talked with you about business logic engines and using them in your application development cloud architecture. At that time, I showcased running JBoss BRMS in a container on OpenShift Container Platform (OCP). This gives you the cloud experience, one that’s portable across private and public clouds, but on your own local laptop. ...
Read More »Cloud Happiness – How to install OpenShift Container Platform with new images and templates in just minutes
Since the release of the OpenShift Container Platform it has been my desire to provide a simple, fully configured and easy to use installation. This installation needs to have the Red Hat Middleware product streams installed (pre-configured container options) and all the extras like source to image and .Net Core containers. Previously I showed you how to install your own ...
Read More »Helm chart to deploy and scale a generic app image
This is a post about a simple helm chart that I have worked on to deploy any generic app image to Kubernetes. The chart is available [here] It tries to solve the issue of having to manage a set of raw Kubernetes resources(deployment,secrets,hpa) and instead letting helm manage these resources. The chart is generic enough that it should be able to ...
Read More »