Category Archives: Server Configuration

Silly but This Is a WordPress Blog Running on Kubernetes

You probably think it’s an 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!

Kubernetes running WordPress and MariaDB
Sources: https://pixabay.com/images/id-5718352/ and https://www.freepik.com/free-vector/cargo-freight-container_3795063.htm
Continue reading Silly but This Is a WordPress Blog Running on Kubernetes

Ultimate 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.

Kubernetes dashboard showing CPU and memory metrics in graphs
CPU and memory metrics in Kubernetes Dashboard
Continue reading Ultimate Way of Installing Metrics Server for Production Kubernetes Clusters

Provisioning Single-node Kubernetes Cluster using kubeadm on Ubuntu 20.04

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, with its configuration options you can tweak the cluster to your needs. By following this post you can easily create a Single-node Kubernetes Cluster using kubeadm on Ubuntu 20.04.

Command line output of kubectl showing the WordPress components on a Kubernetes cluster
Continue reading Provisioning Single-node Kubernetes Cluster using kubeadm on Ubuntu 20.04

Inbound 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.

Fire next to a wall
Image by Clker-Free-Vector-Images from Pixabay

Luckily firewall configuration with firewalld is very easy, especially for predefined services like http, https, ssh, etc.

Continue reading Inbound Firewall Configuration with Firewalld

Minecraft Server Memory Issues on Linux

Are you having memory leak issues with your Minecraft Server on Linux? The solution might be in this post. I’ve been running a MC server on my VPS (HeartInternet) for the last 4 months. It was all good until we started exploring the map. The MC server was randomly being killed and this message was coming up in our screen:

Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host

Continue reading Minecraft Server Memory Issues on Linux

Why Linux is Better as a Server Compared to Windows

As a web developer having experience on Windows and Linux, I prefer to work on Linux servers. Here are the reasons why (for CentOS – might not be same for all distributions):

  1. Viewing error and access logs
  2. No need to waste RAM
  3. Many free tools
  4. Easier to access remotely
  5. No need to reboot Continue reading Why Linux is Better as a Server Compared to Windows