I have a requirement where need to bring POD on demand depending on other API call as bellow.
We have external scheduler/cron job which will call API running in POD to execute it. Generally at night time we have all cron job scheduled and daytime we do not need that application POD (POD is quite high resource consuming). We wanted to make POD to be available once its time of scheduler to execute and after executing all scheduler at destroy itself. Say we can start that pod at 12.00 midnight and destroy it depending on CPU utilization. What approach can be suitable for this solution ? can Kind: deployment or Job will be helpful in this scenario.
Any suggestion is much appreciated.