Skip to content

Support for AWS EC2 scheduled actions for IGs/ASGs #17738

@shapirus

Description

@shapirus

/kind feature

1. Describe IN DETAIL the feature/behavior/change you would like to see.

It would be nice to have the ability to define Scheduled Actions as part of kops instance group configuration.

Use case: scaling down the IGs which use spot instances during work hours or when there's a high spot interruption rate and scale up the on-demand IGs instead, then reverse it for the night time.

Currently this requires managing scheduled actions manually or, say, via Terraform, which isn't nice, because they need manual reconfiguration when the IGs (and, as a result, ASGs) are added or deleted or their names change. Having it managed by kops will make things cleaner and more convenient.

2. Feel free to provide a design supporting your feature request.

It should probably be a new section in the instance group spec and new code to handle the respective cloud provider resources. Some thought will be required to make it compatible and avoid conflicts with the existing maxSize and minSize parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions