Hi @ChrisBolman1 ,
Thank you for explaining why you would need to restart a pod if it reaches a certain CPU threshold.
Short answer is
yes
Long answer
Qovery does not support this out of the box, however you can do something which is:
- Create a toolbox project with an environment.
- Create a cronjob with a script that will poll the Qovery API every X minutes.
2.a We have an WebSocket API endpoint to poll the usage metrics from an app
2.b This is the API endpoint to restart an application. - Restart your service if you reach your defined threshold.
Does that make sense?