Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

implement gardenctl wakeup to wake up a shoot cluster and gardenctl hibernate to hibernate a shoot cluster after shoot targeted #450

Open
neo-liang-sap opened this issue Nov 18, 2020 · 2 comments · May be fixed by #465
Assignees
Labels
kind/enhancement Enhancement, improvement, extension lifecycle/stale Nobody worked on this for 6 months (will further age)

Comments

@neo-liang-sap
Copy link
Contributor

neo-liang-sap commented Nov 18, 2020

as titled.
After shoot is targeted,

If the shoot is hibernated, gardenctl wakeup will wakeup the shoot, wait until shoot waked up.
If the shoot is not hibernated, print out msg indicating the shoot status.

If the shoot is not hibernated, gardenctl hibernate will hibernate the shoot, wait until shoot hibernated.
If the shoot is hibernated, print out msg indicating the shoot status.
/assign

@neo-liang-sap neo-liang-sap changed the title implement gardenctl wakeup shoot_name to wake up a shoot cluster implement gardenctl wakeup shoot_name to wake up a shoot cluster and gardenctl hibernate shoot_name to hibernate a shoot cluster Nov 18, 2020
@neo-liang-sap neo-liang-sap changed the title implement gardenctl wakeup shoot_name to wake up a shoot cluster and gardenctl hibernate shoot_name to hibernate a shoot cluster implement gardenctl wakeup to wake up a shoot cluster and gardenctl hibernate to hibernate a shoot cluster after shoot targeted Nov 18, 2020
@neo-liang-sap neo-liang-sap added the kind/enhancement Enhancement, improvement, extension label Nov 18, 2020
@dansible dansible added this to New issues in Gardenctl Backlog Nov 18, 2020
@dansible dansible moved this from New issues to In progress in Gardenctl Backlog Nov 24, 2020
Gardenctl Backlog automation moved this from In progress to Done Dec 23, 2020
@anoopjb
Copy link

anoopjb commented May 11, 2021

IMHO, This gardenctl feature will be useful. 👍

In our Jenkins CI runs we need to wake the cluster when the build starts and hibernate when the job finishes.
Now we are planning to use kubectl patch shoot to set /spec/hibernation/enabled and achieve hibernation. We feel this approach will break at some point when there is a change in the shoot CRD.
It will be nice to have this support from gardenctl.

@neo-liang-sap
Copy link
Contributor Author

i will work on this issue when available
/reopen

Gardenctl Backlog automation moved this from Done to New issues May 11, 2021
@gardener-robot gardener-robot added the lifecycle/stale Nobody worked on this for 6 months (will further age) label Nov 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/enhancement Enhancement, improvement, extension lifecycle/stale Nobody worked on this for 6 months (will further age)
Projects
Gardenctl Backlog
  
New issues
3 participants