Take Down all the Services Which are Deployed in Kubernetes by Imperative Way

To take down the services deployed by Kubernetes, this oneliner is pretty handy in some situations despite being too cluttered command… But it does work in situations.

% kubectl get deployments | awk '{print $1}' | grep -v "NAME" | while read f; do kubectl scal deployment $f --replicas=0;done

Posted a new Blog at Medium: How to Deploy RedisInsight in EKS and Access via Ingress Nginx

Here it is: How to Deploy RedisInsight in EKS and Access via Ingress Nginx

RaspberryPi with DHT22 Sensor for Humidity and Temperature Data with InfluxDB

I have been playing with RaspberryPI for a while. There are several project I tried to do with RaspberryPI. These boards play a significant role in my home lab for different experiments like Docker Private Repository, Media Server, Ad Blocker with pi-hole, Secure Proxy for anonymity, secure network access with VPN, Home Security Camera/Surveillance, Data Collector or scraper etc. But This time, I did buy a “DHT-22” sensor for monitoring room temperature and humidity. Humidity is my main concern and wanted to see how it fluctuates.

So, my main plan was to get a DHT-22 to connect properly

Continue reading RaspberryPi with DHT22 Sensor for Humidity and Temperature Data with InfluxDB

Count Characters in a Google Sheet

I was trying explore some data in Google Sheet and stumble upon a unique problem. There were several columns and rows of data containing strings. I wanted to count specific string.

I wanted to find out how many “aD” in whole set.

Continue reading Count Characters in a Google Sheet

Ansible to change user password

One of the most basic things to do in a Linux Server. We can use just passwd <user> to change the password of a user. But to do that in 100s of server can be a tricky one. Ansible is the savior on that perspective.

Continue reading Ansible to change user password
%d bloggers like this: