Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sleep timer #361

Open
gadkins opened this issue Oct 16, 2023 · 3 comments
Open

Sleep timer #361

gadkins opened this issue Oct 16, 2023 · 3 comments

Comments

@gadkins
Copy link
Member

gadkins commented Oct 16, 2023

Summary

This issue adds timer logic the basic sleep/wake functionality implemented here.

The timers should be enforced at the platform level by tier. In this iteration, users will not have the option extend/disable the timers.

These should be the tier defaults:

  • Starter Tier - 30 minutes
  • Pro Tier - 3 hours
  • Enterprise Tier - 6 hrs

Users can wake a sleeping cluster with uffizzi cluster wake. And uffizzi cluster sleep should force a cluster to sleep immediately no matter what the timer is (edited)

@gadkins
Copy link
Member Author

gadkins commented Oct 16, 2023

Notes from @waveywaves :

We can start setting a default timer on the clusters
Install the operator on production and set the default timer to a week in the beginning
Then then user can manually wake the cluster if it is sleeping, it would be better to install the operator and just start using the timer in production, considering kubecon is around the corner as well

@moklidia
Copy link
Collaborator

moklidia commented Oct 23, 2023

We need to setup a webhook that would receive the information from the operator when a cluster is put to sleep.

UPD: no webhook for now

@moklidia
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants