Create an application from OpenShift Template
- 21 Dec, 2021
Openshift comes with a set of default templates, you can use oc get templates -n openshift to show them Each template contains specifc sections - The objects section: defines a list of resources that will be created - The parameters section: defines parameters that are used in the template objects 1 - Inspect the template file for the parameters I export the postgresql-ephemeral to a yaml file using : oc get template postgresql-ephemeral -o yaml -n openshift > postgresql.yaml Then inspect the yaml file oc process --parameters -f 2 - Create the application using oc process oc process -f postgresql.yaml -l app=mydb -p DATABASESERVICENAME=dbservice -p POSTGRESQLUSER=dbuser \ -p POS
Create an application from OpenShift TemplateRead MoreA rootless Pod for wordpress
- 07 Dec, 2021
Podman Pods are very similar to Kubernetes pods in a way that they can have more than one container. Every Podman pod contains one infra container by default. This container is responsible for associating the names space with the pod and allowing podman to connect the containers to another pod. Create a Pod using Podman The first step is to create a Pod using podman: sudo podman pod create –name For our example we will create a pod with the name wp-pod sudo podman pod create -p 8080:80 --name wp-pod After creating the Pod you can see the infra container using the command: sudo podman pod ps -a --pod Note that host port 8080 has been redirected to port 80 of the pod. Pod port settin
A rootless Pod for wordpressRead MoreThe question is: What is the gap between microdnf and dnf?
- 02 Dec, 2021
Linux Containers have emerged as a key open source application packaging and delivery technology, combining lightweight application isolation with the flexibility of image-based deployment methods. Red Hat Enterprise Linux (RHEL) base images are meant to form the foundation for the container images you build. As of April 2019, new Universal Base Image (UBI) versions of RHEL standard, minimal, init, and Red Hat Software Collections images are available that add to those images the ability to be freely redistributed. RHEL minimal images provide a base for your own container images that is less than half the size of the standard image, while still being able to draw on RHEL software repositor
The question is: What is the gap between microdnf and dnf?Read MoreFarewell Docker. Welcome Podman
- 23 Nov, 2021
Today I received a notice on my computer about another Docker Desktop update, but this time a new agreement had to be accepted as now for professional use there is a subscription.
I saw many people commenting about this when the new licensing model was announced and since Kubernetes will no longer support the Docker Container Engine, I decided to remove Docker Desktop from my MAC and install Podman.
To remove the Docker Desktop I used this article(https://www.mytecbits.com/apple/macos/clean-way-to-uninstall-docker?utmsource=pocketmylist) and to install Podman I used the following steps:
-
brew install podman
-
podman machine init
-
podman machine start
Use podman info
Resize VM disk with KVM
- 16 Nov, 2021
Today i will install Code Ready. You can install Openshift on your laptop. See this link(https://developers.redhat.com/products/codeready-containers/overview?onebox=crc) . My RHEL 8.4 VM has a small disk and first i need to resize the disk and then install CodeReady Using this commands i change from 20 GB to 50GB disk First you need to locate the vm disk with the command sudo virsh domblklist rhel8-1 the output was: Target Source ------------------------------------------------------- vda /var/lib/libvirt/images/rhel8-2-clone.qcow2 sda - To resize the disk the VM must be not running and must not have a snapshot. Just type this command and add 30GB sudo qemu-img resize /var/lib/lib
Resize VM disk with KVMRead MoreSubscription error after create a vm from RHEL 8.4 template
- 08 Nov, 2021
After creating a VM using the template that was created using RHEL 8 I tried to register the new VM and the following error was shown: This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions. Error: There are no enabled repositories in "/etc/yum.repos.d", "/etc/yum/repos.d", "/etc/distro.repos.d" The solution for me was to remove and add subscriptions again RHEL8: subscription-manager remove --all subscription-manager clean subscription-manager register --username --auto-attach dnf repolist or yum repolist
Subscription error after create a vm from RHEL 8.4 templateRead MoreCreate VM templates on KVM
- 07 Nov, 2021
Continuing with the preparation of my lab I have installed a vm with RHEL 8.4 updated and from there I will create a template. To create a template and use it later in the KVM the steps are as follows: obs: My host is an Ubuntu 20.04 Install the tools to work with guests: sudo apt install libguestfs-tools List the vms: virsh list --all Prepare the rhel8-2 virtual machine to be a template sudo virt-sysprep -d rhel8-2 Rename the vm to be a template sudo virsh domrename rhel8-2 rhel8-Template Open the VM Manager (virt-manager), and then select the rhel-Template. Right-click on it and select the Clone option, which will open the Clone Virtual Machine window.
Create VM templates on KVMRead MoreRedHat OpenShift Certification - Home Lab Setup
- 05 Nov, 2021
I am studying to take some RedHat certification exams including the OpenShift Enterprise Administration (DO280) exam. I could set up Linux cloud servers such as IBM Cloud or even on AWS but I have an old laptop and decided to setup a cluster with 3 Linux machines on it. I will start building a small k8s cluster. The first step was to install Ubuntu 20.04 as host. My old laptop is a Toshiba Satellite P875 – S3210 32GB RAM 512GB SSD 750 GB HD SATA Install and Enable SSH server on Ubuntu 20.04 1. Update ubuntu : sudo apt-get update 1. Install OpenSSH: sudo apt-get install openssh-server 1. Verify the status: sudo systemctl status sshd 1. Enable ssh connections on the host: sudo ufw allow
RedHat OpenShift Certification - Home Lab SetupRead MoreOne Monitor Two Macbooks
- 26 Aug, 2021
!(http://www.mysphere.com.br/wp-content/uploads/2021/08/desk.jpg) I have on my desk now 2 MacBooks Pro a monitor, a keyboard and a magic mouse. For the two computers to share the monitor, keyboard and mouse I should buy a KVM but I don't want to have too many cables on the desk and also the cost of the KVM for the macbooks is too expensive for me in Brazil. I found an interesting solution which was to connect each macbook using HDMI adapters to the monitor and use a software to switch the keyboard and mouse between the computers. I'm testing Barrier(https://github.com/debauchee/barrier/releases) and so far everything is working fine. There is feature very cool : You can copy and paste f
One Monitor Two MacbooksRead MoreA career change
- 12 Aug, 2021
For over 20 years I worked with Lotus/IBM technologies most notably Domino/Notes, Sametime, IBM WebSphere, IBM Websphere Portal, IBM Watson and lastly Maximo Asset Manager and NodeRed on IoT projects. Many years working with IBM and now working at IBM. I started my career at IBM as Customer Success Manager - Architect Cloud & Data Platform Many new things to learn and many challenges. I am part of a diverse, bright team with a lot of drive to ensure the success of our customers using IBM technologies.
A career changeRead MoreDomino V12 and Verse 2.1 How to add a Photo URL
- 08 Jun, 2021
Today i setup a Domino V12 server just for test some new features. A customer ask to use photos on Verse hosting photos on Domino. Domino V12 comes with Verse 2.0. I just download the version 2.1 of Verse and follow the installation instructions. After the setup i just put a URL of a PNG image on the person document, field photoURL and add the entry VOP\GK\FEATURE\230=1 to the notes.ini of the server. Works Great !(http://www.mysphere.com.br/wp-content/uploads/2021/06/verse.png)
Domino V12 and Verse 2.1 How to add a Photo URLRead MoreNotes / Domino is forever
- 04 Feb, 2021
Yesterday it seemed like it would be an ordinary working day but a client called me informing about the expiration of a certifier. It would be normal to resolve the problem with the re-certification procedures but it was a special certificate. This client has been using Notes/Domino since version 4.0. When I saw the certificate creation date 05/09/1996 I was impressed. This customer uses the environment for mail and applications for 25 years!. How times flies I started working for this client in 1999 by installing the first R5 server (5.0.4) on an IBM Netfinity 5500 Server running Windows NT 4.0. The hardware is gone, the operating system and the administrators who created this certifer
Notes / Domino is foreverRead More