Sometimes we wonder, why we pay this much amount to the Cloud provider/s. While building the infrastructure, TCO is one of the critical factor. TCO means, Total Cost of Ownership. We need to do a lot of things to maintain…
DevOps Hacks!
PromQL Wildcard Examples
Why this post? If you have Prometheus cluster as your central metrics platform for your servers and the applications, you might came across situations like, have to write custom queries for fetching the data from Prometheus or for creating custom…
How to fix – Kubernetes objects stuck in terminating state?
Namespace deletion is in stuck state + kubernetes ; kubernetes objects deletion is in stuck state how to delete it forcefully? How to remove finalizers manually to unblock namespace deletion? Quick intro As part of some cleanup on k8s cluster,…
How to update a Docker image with new changes?
Why we need to update an Image? How to update a Docker image with the new changes that we made in the container? Yeah, we all know that, the Docker image is the core part of your Docker container. The…
[How to] Ways to monitor Prometheus exporters
How to monitor Prometheus exporters? Monitor application and node exporter, Prometheus. Python script to monitor Prometheus exporters from Prometheus servers. Different methods to monitor Prometheus exporters. API call to monitor remote Prometheus exporters A quick introduction to Prometheus Prometheus is an…
How to convert or concatenate integer with string variable in Python?
Convert int to str. Simple way to concatenate integer and string variables – Python. In some cases, you have to concatenate integer variables to string variables in your Python script. You can not do this by simply using the (+) sign. In…
Setup/configure a three node Elasticsearch cluster on CentOS 7
Updated post: This article was published on December 2019. This is the normal way of installing Elasticsearch on Linux machines. You can follow this blog for setting up a three node Elasticsearch cluster on CentOS 8 as well. Instead of…