cloud · container · docker · linux · ppc64le

ppc64le: Docker 19.03 on RHEL8

The source code for the build can be found at https://github.com/Unicamp-OpenPower/docker-ce-releases.

container · docker · linux

docker: delete containers running for a long time

If you need to delete running containers based on their lifetime, this handy combination of commands can help you. It deletes all containers running for more than 2 hours. HOUR=2docker ps –filter “status=running” | grep hours | awk ‘{if ($4 >=$HOUR) print $1,”must be deleted”; system(“docker rm -f ” $1)}’

cloud · container · openshift · power · ppc64le

openshift on ppc64le: check whether or not the storage of a node is good enough for etcd

The image used in this test is hosted at quay.io/rpsene/ocp-perf-tools-ppc64le:v1 and the source code at https://github.com/rpsene/images/tree/ppc64le/etcd-perf.

container · docker · linux · redhat ubi · rhel · terraform

redhat ubi image: installing terraform using microdnf

linux · ppc64le · rhel

ppc64le: building a custom version of grub2

If you need to test a custom version of grub2 you can follow the steps bellow to build the necessary packages for RHEL8 (it should also work on CentOS and Fedora):

gitlab · linux · power · ppc64le

ppc64le: building GitLab Runner

To build GitLab Runner for ppc64le you can run the following steps in a x86_64 machine with Ubuntu 20.04:

IBM Cloud · linux · minicloud · PowerVS · ppc64le

ppc64le: creating a new CentOS8 .ova image for PowerVS

creating a new CentOS8 .ova image for PowerVS without a PowerVC 🙂

linux

linux: pretty printing multi-path device name and size

As part of an automation I had to collect only the name and size of the multi-path devices attached to a given VM. Here is the result: multipath -ll | sed -n ‘/^mpath/,/^size/p’ >> /tmp/mpath.log && x=1 && while IFS=”” read -r p || [ -n “$p” ]; do STR1=$(printf ‘%s\n’ “$p” | sed ‘s/\s.*$//’);… Continue reading linux: pretty printing multi-path device name and size

linux · power · python

ppc64le: build rpkg on centos8

rpkg is a python library for dealing with rpm packaging in a git source control.

kubernetes · openshift

openshift: useful commands

A list of useful oc commands: 1. Get the web console URL: