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

Hibernate/Wake-Up Clusters #28

Closed
6 tasks
vlerenc opened this issue Feb 13, 2018 · 4 comments · Fixed by #203
Closed
6 tasks

Hibernate/Wake-Up Clusters #28

vlerenc opened this issue Feb 13, 2018 · 4 comments · Fixed by #203
Assignees
Labels
component/dashboard Gardener Dashboard kind/enhancement Enhancement, improvement, extension

Comments

@vlerenc
Copy link
Member

vlerenc commented Feb 13, 2018

Story

  • As user/operator I want to hibernate clusters, so that I can save costs when I don't need the clusters anymore/temporarily.

Motivation

See gardener/gardener#50 in which the required Gardener functionality was implemented.

Acceptance Criteria

  • Cluster can be scaled down to 0 machines across all pools and up again

Implementation Proposal

We can either do nothing (basically only do #23, which we like to do anyways) and leave it to the user to find out that by scaling down all pools manually he can effectively hibernate a cluster or we can offer some convenience function in the dashboard that does that across all pools, clearly labeled "Hibernate". The reverse operation, "Wake-Up", is harder, but maybe the former pool sizes could be written as annotations into the shoot resource by the dashboard, in which case "Wake-Up" would know how to scale up again.

Definition of Done

  • Knowledge is distributed: Have you spread your knowledge in pair programming/code review?
  • Unit Tests are provided: Have you written automated unit tests or added manual NGPTT tickets?
  • Integration Tests are provided: Have you written automated integration tests?
  • Minimum API exposure: If you have added public API, was it really necessary/is it minimal?
  • Operations guide: Have you updated the operations guide?
@vlerenc vlerenc added the kind/enhancement Enhancement, improvement, extension label Feb 13, 2018
@vlerenc vlerenc added the component/dashboard Gardener Dashboard label Jun 27, 2018
@petersutter
Copy link
Contributor

prerequisite: gardener/gardener#191

@ghost
Copy link

ghost commented Jul 27, 2018

Just as an idea: What about giving an operator the possibility to hibernate certain clusters based on time, eg. hibernate all dev-clusters at 10.00 pm and wake them up the following day at 07.00am.

@petersutter
Copy link
Contributor

Brainstorming
We could add something like that to the cluster creation dialog which is enabled by default for evaluation- and development-purpose clusters and the gardener controller is taking care for the auto-sleep

@vlerenc vlerenc added the lifecycle/icebox Temporarily on hold (will not age; may have dependencies, lack priority, miss feedback, etc.) label Aug 5, 2018
@petersutter
Copy link
Contributor

Allow auto-hibernation/wake-up configuration in Shoot specification - gardener/gardener#348

@petersutter petersutter removed the lifecycle/icebox Temporarily on hold (will not age; may have dependencies, lack priority, miss feedback, etc.) label Oct 4, 2018
@petersutter petersutter self-assigned this Oct 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/dashboard Gardener Dashboard kind/enhancement Enhancement, improvement, extension
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants