MicroK8s and OpenEBS

MicroK8s is a Kubernetes distribution from Canonical. It runs on Ubuntu and is advertised as a lightweight Kubernetes distribution, offering high availability and automatic updates. Today I going to setup a single node MicroK8s cluster and leverage OpenEBS storage for dynamic allocation. You can choose to install MicroK8S during the OS ubuntu as one of the extra packages install options or simply run the snap command on an existing system: sudo snap install microk8s --classic MicroK8S comes with kubectl baked in but by default it is in this form microK8S.kubectl. When I first run it I get some instructions about my permissions: I will run both commands and try again sudo usermod -a -G microk8s $USERsudo chown -f -R $USER ~/.kube After running newgrp microk8s I can see my node Typing microk8s.kubectl is going to be a nuisance so I will create and alias in my .bashrc file Then you can either logout login…

Continue ReadingMicroK8s and OpenEBS

I NEED GREAT IPAM DNS INTEGRATION SOLUTION = POWERDNS AND PHPIPAM

If you want a powerful and flexible DNS solution that can hook in with IP Management, then look no further than PowerDNS with PHPIPAM. Today I am going to install PowerDNS, the PowerDNS Recursor, and PHPIpam. As a pre-requisite I will be using an Ubuntu 20.04 server OS. Part1 MYSQL , Part2 POWERDNS, Part 3 PDNS-RECURSOR, Part 4 PHPIPAM PART ONE INSTALLING MYSQL PowerDNS stores its records in a database. I am going to leverage MySQL. There are also other database backends available like sqlite3, Postgres or even Bind. Before setting up PowerDNS and the PowerDNS recursor I will have to disable Ubuntu’s internal resolver which listens on the DNS port 53. sudo systemctl stop systemd-resolved sudo systemctl disable systemd-resolved sudo systemctl mask systemd-resolved Don't forget to remove the symlink: Sudo rm /etc/resolv.conf After this I will need to set my DNS nameserver in ubuntu manually: vi /etc/resolv.conf I will add the internet dns…

Continue ReadingI NEED GREAT IPAM DNS INTEGRATION SOLUTION = POWERDNS AND PHPIPAM