we have a scenario where we want to stop the cluster (worker nodes) in Night when it is not being used and start it again in the morning when people start using the application running on AWS EKS. Any suggestions will be helpful.
Asked
Active
Viewed 590 times
1
-
You can stop EKS cluster as per this solution: https://stackoverflow.com/a/68586990/7694643 – Fisal Assubaieye Jul 30 '21 at 07:34
1 Answers
2
I think you can achieve it by changing the desired capacity of auto scaling group using aws cli. You can run it as a CRON job:
aws autoscaling update-auto-scaling-group --auto-scaling-group-name <my-auto-scaling-group> --desired-capacity 0 --min-size 0

Karol Samborski
- 2,757
- 1
- 11
- 18