One-node k8s setup with kubeadm and Calico

Calico is a pure layer-3 network solution to interconnect workloads as containers or virtual servers. I relies on bird (BGP opensource project), iptables and the Linux IP stack to work. Brings also additional security features like micro-segmentation. Thanks to BGP is very scalable and also it’s tightly integrated to Kubernetes as CNI plugin. Now we’ll…

Script for TLS SRL and GNMI certificates, non-interactive

This is a script for TLS SRL and GNMI certificates, non-interactive. You can run it in any linux server with openssl. #Create Certificate for Certify Authority openssl genrsa -out CAKey.pem 2048 openssl req -x509 -new -nodes -key CAKey.pem -days 1024 -out rootCA.crt -subj “/C=US/ST=Texas/L=Dallas/O=Nokia/OU=NI/CN=myCA/emailAddress=mau.rojas@nokia.com” #Create Certificate for GNMI client openssl genrsa -out client_key.pem 2048 openssl…

Install GNMI client in Centos or Red Hat Linux

I have two options: gnmi_get / gnmi_set (less preferred for me) gnmic (preferred and much easier install) gnmi_get / gnmi_set installation Some notes how to quickly Install GNMI client (gnmi_get) in Centos or Red Hat Linux. You can get more info at https://github.com/google/gnxi I ran into a couple of issues, check last section for troubleshooting…

Turn off auto indent when pasting code into vim

If you code with vi, then I also recommend to check out: Highlight ansible YAML and Jinja syntax in vim Editor When you paste code into my document from the clipboard, you get extra spaces at the start of each new line: line line line Figure: Example of issues issues with auto-indent Short answer To…

IPMI trick for undercloud via VirtualBMC

Red Hat have been pushing its automated installation of OpenStack with Director based on TripleO concept over the last years. Many Telcos are adopting this concept for the flexibility and agility that automation brings. This post called “IPMI trick for undercloud via VirtualBMC” is support material for your lab and use KVM instances simulating bare…

Director OSP 16.1 install short version

Red Hat have been pushing its automated installation of OpenStack with Director based on TripleO concept over the last years. Many Telcos are adopting this concept for the flexibility and agility that automation brings. This post called “Director OSP 16.1 install short version” is a sort of summary of what I did in my lab…

kubernetes homelab: Installing rancher and creating k8s cluster

We have a small server and we’re going to set up some VMs in KVM for a Kubernetes homelab. I am planing to use OpenVSwitch for my virtual network, set a proxy and a DNS, and finally, install Rancher, and create a cluster with Calico.  Over this post I am sharing my notes about installing…

Kubernetes homelab: Prepping cluster with KVM and OpenVSwitch

We have a small server and we’re going to set up some VMs in KVM for a Kubernetes homelab. I am planing to use OpenVSwitch for my virtual network, set a proxy and a DNS, and finally, install Rancher, and create a cluster with Calico.  Over this post I am sharing my notes about installing…