February 2022

How to check the IP address reputation programmatically

Countless predators are sitting in the wild to spam or attack the network. So sometimes, before trusting a random IP address on the Internet, it’s a good idea to check its reputation. There are multiple methods to check the details and reputation of an IP address, but here we are covering only one via “www.abuseipdb.com.” …

How to check the IP address reputation programmatically Read More »

Find the installed Hardware info in Ubuntu

Like listing the directories and files using the “ls” command, we can list hardware in the system using the “lshw” command. Various filters are available to filter the result of the “lshw” command based on the type of hardware, like disk, processor, etc. Please see the below examples and follow along. Note that to use …

Find the installed Hardware info in Ubuntu Read More »

Get the Node Resource usage in Kubernetes – no plugin

Resources like CPU, Memory, Disk are critical for the performance of the node and the pods(containers) running on it.  You can read a detailed post about these resources here. In this post, we will cover the commands for printing the resources in a short and meaningful format.  A concise yet meaningful format is helpful for …

Get the Node Resource usage in Kubernetes – no plugin Read More »

How to run a security scan on a Kubernetes Cluster

In this post, we will run a security scan on a Kubernetes cluster using Kubescape. Some time back, NSA has released the Kubernetes cluster hardening guide; this guide provides several DOs and DON’TS. The problem is manually running the guide and testing the cluster for each recommendation is a big task. Here comes the need …

How to run a security scan on a Kubernetes Cluster Read More »

How to provision Dynamic Volumes(NFS) on a home lab?

This post will do all the steps required to set up dynamic volume provisioning using NFS. We will be using a fresh Kubernetes cluster with no storage class provisioned. Unlike cloud environments, there are no storage provisioners available in the home environment by default. Sure, you can have it, but you need to configure it …

How to provision Dynamic Volumes(NFS) on a home lab? Read More »

Add node to Kubernetes cluster using kubespray

Adding a Node to Kubernetes Cluster using Kubespray Kubespray is a great tool to create a production-ready Kubernetes cluster. However, Kubespray is not limited to spinning the cluster, and you can do many other cluster management operations using kubespray. E.g., scaling the cluster, upgrading the cluster, etc.  In this post, we will see an example …

Add node to Kubernetes cluster using kubespray Read More »

How to create Virtual machines using cloud-init

Want to create virtual machines frequently? Consider using “cloud-init.” Before going into the usage of cloud-init, let’s understand what cloud-init is and why we need it. Cloud-init allows users to write down their desired configurations into a YAML file before creating the VM. During the creation of the VM, the YAML configuration file will be …

How to create Virtual machines using cloud-init Read More »

Creating multiple Virtual Machines Fast using multipass

Here in this post, we will discuss a lesser-known way of creating a virtual machine. This post is beneficial for folks who prefer to create Virtual machines(VM) frequently. Until a few months back, I created virtual machines on my windows laptop using the virtual box(a great tool). However, creating virtual machines using virtual boxes was …

Creating multiple Virtual Machines Fast using multipass Read More »

Scroll to Top