Run Symfony command with Cronjob Kubernetes

414 Views Asked by At

Each minute, I have a K8S Cronjob who run Symfony command. My problem is the huge time my pod warmup Symfony cache before execute the command : 56s ...

I search a solution for stock the cache in docker container but i can't execute cache:warmup during docker build, because commande need database and redis up.

Do you have a solution for me ?

Thanks !

0

There are 0 best solutions below