I have a Kubernetes pod which downloading several types of files (let’s say X
, Y
and Z
), and I have some processing scripts (each one is in a docker image) which are interested in one or more files (let's say processor_X_and_Y
, processor_X_and_Z
and processor_Z
).
The first pod is always running, and I need to create a processor pod after downloading a file according to the file type, for example if the downloader downloads a file of type Z
, I need to create a new instance of processor_X_and_Z
and a new instance of processor_Z
.
My current idea is to use Argo workflow by creating a simple workflow from 1 step for each processor, then starting the suitable workflows by calling the Argo REST API from the downloader pod. Thus I have achieved my goal and the auto-scaling of my system.
My question is is there another simpler engine or a service in Kubernetes which I can use to create a new prod from another pod without using this workflow engine?