Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ignore changes on desired_capacity #28

Merged
merged 1 commit into from
Jul 19, 2022

Conversation

jrj-d
Copy link
Contributor

@jrj-d jrj-d commented Jul 13, 2022

The capacity of an Ocean cluster is meant to vary over time (since
Ocean acts as a cluster autoscaler).
For this reason, if a user re-applies their Terraform script, the
cluster should not revert back to the desired_capacity set in the
Terraform script. This would disrupt the workloads of the user.

This behavior is taken from the ocean-aws-k8s module:
https://github.com/spotinst/terraform-spotinst-ocean-aws-k8s/blob/main/ocean.tf#L109

The capacity of an Ocean cluster is meant to vary over time (since
Ocean acts as a cluster autoscaler).
For this reason, if a user re-applies their Terraform script, the
cluster should not revert back to the desired_capacity set in the
Terraform script. This would disrupt the workloads of the user.

This behavior is taken from the ocean-aws-k8s module:
https://github.com/spotinst/terraform-spotinst-ocean-aws-k8s/blob/main/ocean.tf#L109
@Lironrad Lironrad merged commit 67b76cb into spotinst:master Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants