Closed sgaist closed 1 month ago
This PR implements idle checks in a similar fashion as the one done in python using the metrics server to retrieve the cpu usage of the pod.
Once the check passes, it will put the session in hibernated state which should trigger its deletion after the delay configured has passed.
Part of: #616 Part of https://github.com/SwissDataScienceCenter/renku/issues/3679
Describe your changes
This PR implements idle checks in a similar fashion as the one done in python using the metrics server to retrieve the cpu usage of the pod.
Once the check passes, it will put the session in hibernated state which should trigger its deletion after the delay configured has passed.
Issue ticket number and link
Part of: #616 Part of https://github.com/SwissDataScienceCenter/renku/issues/3679