Skip to content

cilasbeltrame/cut-costs-gke-nodes-scaling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

cut-costs-gke-nodes-scaling

The script/workflows are divided into:

  1. Bash script to scale up and down k8s nodes(to avoid mistakes, there is a condition that is either plan or apply).
  2. One reusable workflow that can be used either manually in an interactive way or be called with schedule settings from another workflow. The workflow able to scale down and up any env, in case this is a problem we can restrict that just for some env and lower envs for instance.
  3. Two scheduled workflows to scale down and up some env nodes with the following time: 8pm(scale down) and 6 am(scale up), just a reminder that cron from gihub actions is in UTC. To remove a schedule we can remove/comment the workflow.

About

Bash script and github workflow to scale down and up k8s nodes based in a schedule.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published