Skip to content

Validate spot instances required specs  #1197

@moadqassem

Description

@moadqassem

User Story
At the moment, users can create aws spot instances without setting a max price in the dashboard, api and machine deployment spec object. This would lead to errors coming from the aws api stating that, it is not possible to create aws spot instances without setting a max price.

Acceptance Criteria

  • Machine controller webhook validates the machine deployment spot instance spec when spot instance is used
  • If the max price is not set for the spot instance return an error and don't create an MD.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions