Automating Docker and Podman with Ansible
In today’s world, simply being able to run an image is not considered a production-ready setup.
To be able to call a deployment production-ready, you need to demonstrate that the service your application delivers will run reasonably, even in the case of a single application crash, as well as hardware failure. Often, you’ll have even more reliability constraints from your customer.
Luckily, your software is not the only one that has those requirements, so orchestration solutions have been developed for this purpose.
Today, the most successful one is Kubernetes, due to its various distributions/versions, so we are going to focus on it primarily.
The idea of Kubernetes is that you inform the Kubernetes control plane that you want X number of instances of Y application. Kubernetes will count how many instances of Y application are running on the Kubernetes Nodes to ensure that the number of instances is X. If there are...