cluster-api-provider-aws
cluster-api-provider-aws copied to clipboard
:sparkles: WIP: Spot instances fallback - WaitingTimeout
trafficstars
What type of PR is this?
/kind feature /kind api-change
What this PR does / why we need it:
This feature is adding WaitingTimeout for SpotMarketOptions that is optional. The WaitingTimeout serves as a timeout when no Spot instances are available and after this timeout is reached a regular ec2 instance will try to be acquired instead.
Special notes for your reviewer:
Checklist:
- [X] squashed commits
- [X] includes documentation
- [X] includes emojis
- [ ] adds unit tests
- [ ] adds or updates e2e tests
Release note:
feat: add WaitingTimeout for Spot instances to fallback to a regular ec2 instance