Add more supported instance types for down scale #769
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds r5.xlarge and r5.2xlarge to the infra node supported type, and adds m5.2xlarge as the supported control plane instance type.
The use case is mainly for down size. Eg, when SRE up size the infra node to get some room to investigate a high resource usage issue, after SRE fixes the issue, SRE will need to scale it back to the original size.
As per the document https://docs.redhat.com/en/documentation/red_hat_openshift_service_on_aws/4/html/prepare_your_environment/rosa-sts-aws-prereqs#rosa-aws-policy-provisioned_rosa-sts-aws-prereqs , the minimum size for control plane is m5.2xlarge, minimum for infra is r5.xlarge.