Resource Automation & Auto-Scaling Options

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:

  1. Create a toolbox project with an environment.
  2. 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.
  3. Restart your service if you reach your defined threshold.

Does that make sense?