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

Ability to sleep and wake up an entire cluster #309

Closed
msfidelis opened this issue Jun 14, 2023 · 2 comments
Closed

Ability to sleep and wake up an entire cluster #309

msfidelis opened this issue Jun 14, 2023 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@msfidelis
Copy link
Contributor

For operational efficiency, it would be interesting to have the ability to sleep and wake up one or more namespaces, or the entire cluster completely.

I believe using allow or deny expressions based on namespaces can help.

Example:

---
apiVersion: kube-green.com/v1alpha1
kind: SleepCluster # Fictional Name
metadata:
  name: working-hours
spec:
  weekdays: "1-5"
  sleepAt: "20:00"
  wakeUpAt: "07:30"
  timeZone: "America/Sao_Paulo"
  suspendCronJobs: true
  excludeNamespaces:
    - kube-system
    - karpenter
    - kube-green
---
@davidebianchi
Copy link
Member

Hi @msfidelis! Sorry for the long delay in the response. Yes, it is a feature we want to add to kube-green. There is already an issue about it: #167.

@davidebianchi davidebianchi added the duplicate This issue or pull request already exists label Aug 4, 2023
@davidebianchi
Copy link
Member

Close since it is a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants