tech

Curl not working when executed by a particular user

In one of my Linux node, I was not able to use curl command if executed by a particular user(“root”). Strange enough, it was working when executed using some other user. If you face similar issue try to follow the following strategy to debug the issue: When executed with non-root User: curl google.com -I HTTP/1.1 …

Curl not working when executed by a particular user Read More »

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 »

Scroll to Top