I have to implement a feature in an existing application, which requires calling an API every minute. My app's microservices runs in Kubernetes environment.
To achieve this, my first thought is Kubernetes cron job. But thinking little deep it occurred to me that a Kubernetes cron job, every minute will pull an image from a container registry, spin up that image, check for many validation if job has failed and it requires re-run etc etc...just to call one API.
Is it an over-kill?
Is there a way in Kubernetes to run a scheduler (like Google Cloud Scheduler) which simply calls an API (which is configurable)?
Thanks in advance!!!