/site/images/avatar.png

Container App startup trigger in k8s

Application start delay in k8s containers

Stress/Load testing applicable. When you want to sping up a lot of pods; the application inside ech pod must start simultaneously with others.
The main problem is cluster autoscaling is slow, it means additional nodes will start with delay.

AWS specific case

The idea here: prescale more nodes than required, so cluster autoscaling will not spend time to spin up new nodes

Assume we have EKS with unmanaged Node Groups as ASG. By updating Minimum capacity > 0 you will achieve, more ‘warm’ nodes that can host extra amount of pods.

Handling Network Retries

In a distributed environment, network retries are an essential mechanism to handle temporary failures in communication between different components. When using Docker containers, network retries can help to ensure the reliability and availability of containerized applications.

Running python script in Chef

In Chef, Ruby DSL (Domain Specific Language) refers to the Ruby-based syntax that is used to write recipes and resources for configuring and managing infrastructure. Chef is a configuration management tool that uses Ruby as its primary programming language.

Download git repository

When it comes to downloading a Git repository, there are several methods to do so. Two commonly used methods are curl and git clone, but there is also a third method called git archive --remote. In this article, we will compare these three methods and discuss their advantages and disadvantages.