There are many tools out there to provision single-node Kubernetes clusters, but kubeadm is the way to go for a production-like set-up. Although it is more difficult to create a cluster with kubeadm, you can tweak the cluster to your needs with its configuration options. Following this post, you can easily create a Single-node Kubernetes Cluster using kubeadm on Ubuntu 22.04.
Continue reading Simple Single-node Kubernetes Cluster via kubeadm on Ubuntu 22.04Category Archives: System Administration
DNF Trying to Use SQLite Backend Warning
If you keep getting the following warning after upgrading to Fedora 33:
warning: Found bdb Packages database while attempting sqlite backend: using bdb backend.
Try rebuilding RPM database:
rpmdb --rebuilddb
If that results in:
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)Continue reading DNF Trying to Use SQLite Backend Warning
Silly but This Is a WordPress Blog Running on Kubernetes
You probably think it’s overkill to use Kubernetes for a WordPress blog with less than a thousand monthly visitors. While this may be true, it’s totally worth using Kubernetes for the bragging rights. This is a WordPress blog running on Kubernetes!
Continue reading Silly but This Is a WordPress Blog Running on KubernetesUltimate Way of Installing Metrics Server for Production Kubernetes Clusters
Metrics are very important in your Kubernetes cluster because you need them to monitor the pod resource usage. You also need metrics to trigger an autoscale using an Horizontal Pod Autoscaler (HPA). Metrics Server provides CPU and memory metrics so you can see them in Kubernetes Dashboard’s fancy graphs.
Continue reading Ultimate Way of Installing Metrics Server for Production Kubernetes ClustersKubernetes: Up and Running 2nd Edition Book Review
Kubernetes: Up and Running, as the name suggests, is about Kubernetes. The book’s second edition was released in October 2019. Latest stable release of Kubernetes in October 2019 was 1.15. At the time of writing the latest stable version is 1.20 so the book is definitely due for an update.
Continue reading Kubernetes: Up and Running 2nd Edition Book ReviewInbound Firewall Configuration with Firewalld
Firewalld has replaced iptables as a default in many Linux distributions. It is now the default firewall in CentOS, Fedora, OpenSUSE, Red Hat Enterprise Linux, and SUSE Linux Enterprise. You can also install it on Debian and Ubuntu from their official package repositories.
Luckily firewall configuration with firewalld is very easy, especially for predefined services like http, https, ssh, etc.
Continue reading Inbound Firewall Configuration with FirewalldWhat’s the best Kubernetes distribution for local environments?
There are plenty of Kubernetes distributions available that can be used to install Kubernetes locally. They tend to use minimal resources which is ideal. Question is what’s the best Kubernetes distribution for local use?
Local Kubernetes Distributions
This post contains benchmarks and reviews of the following Kubernetes distributions:
Continue reading What’s the best Kubernetes distribution for local environments?Easy Backups to Google Drive on Linux
I’ve recently set up automated backups to Google Drive on my CentOS 7 Linux VPS to protect my blog posts from data loss. I don’t know why it took so long for me to care about backups of my own data. I chose to back up to Google Drive since I already have a Google One plan that has plenty of available storage space.
Continue reading Easy Backups to Google Drive on LinuxSingle-node Kubernetes on Raspberry Pi
I’ve recently got a Raspberry Pi 4 Model B 8GB. I wanted to have one just to try running Kubernetes on Raspberry Pi. Most resources on the web seem to be for a huge cluster with a dozen nodes but I wanted to do it with a single node.
Operating system
As the operating system I chose Ubuntu because of its Pi support even though I prefer Red Hat based distros.
Continue reading Single-node Kubernetes on Raspberry PiWordPress Backup Script
Recently I remembered that I had this little handy script that I used to backup my WordPress blog. The script contains only 2 actual commands.
I used nice while compressing / uncompressing the files to avoid CPU throttling since my blog is running on a shared hosting server.
This WordPress backup script doesn’t work without user interaction since it needs you to enter the password. Continue reading WordPress Backup Script