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

Add support to ignore_size attribute on nodepools #936

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

robo-cap
Copy link
Member

@robo-cap robo-cap commented Jun 28, 2024

Ability to associate nodepools with oci_containerengine_node_pool terraform resources that ignore nodepool size. This is useful for nodepools managed by the cluster autoscaler.

Add ignore_initial_pool_size = true to the nodepool attributes.

Adding this attribute to an existing nodepool will trigger the recreation of it.

If you intend to set the attribute ignore_initial_pool_size = true for some of the nodepools, you need to use the terraform state mv command.

Documentation was updated, should be available here: https://oracle-terraform-modules.github.io/terraform-oci-oke/guide/extensions_cluster_autoscaler.html

Resolves #763

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 28, 2024
modules/workers/locals.tf Outdated Show resolved Hide resolved
modules/workers/nodepools.tf Outdated Show resolved Hide resolved
Copy link
Contributor

@hyder hyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comments below

@robo-cap robo-cap force-pushed the main branch 2 times, most recently from 0fbf869 to baff8a3 Compare June 28, 2024 10:18
@robo-cap robo-cap requested a review from hyder July 1, 2024 14:25
@robo-cap robo-cap force-pushed the main branch 2 times, most recently from 74166a4 to 490a712 Compare July 2, 2024 07:57
modules/workers/nodepools.tf Outdated Show resolved Hide resolved
hyder
hyder previously requested changes Jul 3, 2024
Copy link
Contributor

@hyder hyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comments inline

@devoncrouse devoncrouse merged commit 46ec5f4 into oracle-terraform-modules:main Jul 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to ignore changes to node pool size
3 participants