Resume the sleep timer of a namespace when an okteto endpoints is requested

When I do a browser request to an endpoints okteto has created, it should reset the “sleep timer” of the entire namespace and start again to 0.

Hi @alexissellier, what’s your use case? is it only for preview environments? or also for dev environments?

My use case is to be able to lower at the maximum the value of scaleToZeroPeriod in the GC so I can lower my infrastructure cost. Without the sleep timer resetting each time a request is done, I will end up having my dev environment scale down even if someone is working on it.

What resets the timmer today is to have an active okteto up session. A dev environment never scales to zero while you are running okteto up. Would that cover your use case?