Let's say you have two similar namespaces in your Kuberentes cluster and you want to compare the images of pods running on both these name spaces. Or Simply want to know what images are being used across the pods (or) deployments in your namespace Of course we are going to[...]
Read moreAuthor: Sarav AK
Ansible Find multiple files with pattern and replace
In this post we are going we are going to see how to find a list of files containing a text or a pattern and replace them at once. As you know I have written a dedicated and brief articles on both Ansible find and replace modules with many examples.[...]
Read moreGithub List All Repositories in Organization or Personal using REST API
I have been trying to get the complete list of Repositories private and public in my github account ( user + Organization ) using GITHUB rest api I had to create a CSV report of All repositories in a specific format like shown below. I have done similar thing earlier[...]
Read moreFind Who owns the Private IP in AWS | DevOps Junction
At times of troubleshooting an issue or doing a forensic on a security incident in your AWS account. Finding who owns Private IP plays a major role. Do you know Almost all the AWS resources like Load Balancers, RDS, EFS has their own private IP address. So how to find[...]
Read moreFind EC2 instances using EFS - EFS Usage Report
Let's suppose that you have an infrastructure of 1000 hosts and you want to know how many of them use EFS - Elastic File System or traditionally known as Network File System Or Let's just say that you have 100 EFS File systems in your AWS account and you want[...]
Read moreAWS CLI List EFS Filesystem sort by Size
In this post we are going to see an aws cli command to list elastic file systems sorted by Size in ascending or descending order. While am sharing all the new tricks in AWS CLI I come across. this is something I have learnt recently There is a dedicated post[...]
Read moreSSL Expiry and Uptime Monitor for URLs - Prometheus Blackbox | Grafana
In this article, we are going to see how to monitor your web services or URLs for their SSL expiry and uptime. You can consider this as your SSL certificate expiry monitor and web service uptime monitor or URL Health check monitor for all your web services (URLs) These are[...]
Read morePLSQL Describe tables in schema - Oracle
At times, while we want to get a list of tables and their columns along with their data types from Oracle. It is not so efficient to useDESC <tablename> for all the tables one after another. I had a similar requirement and I came to know that DESC does not[...]
Read moreAWS - List All ELB, NLB and CLB with Target and Target Groups | Python Boto
In this article, we are presenting an AWS Boto Python script that lists all load balancers and their Target group along with the Instances associated and their health check status This script helps you in various ways Get the list of load balancers and their target group and instance mapping[...]
Read moreAnsible Bastion - SSH to remote hosts using Bastion
In this article we are going to see how to connect to remote hosts using Bastion host or Jump Server for Ansible playbook or Adhoc command execution. In General, We know it is a an easy job to connect to remote hosts from Ansible control machine ( where you execute[...]
Read more