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

Improve cluster autoscaler docs & improve eviction-grace-period computation #829

Merged
merged 4 commits into from
Sep 21, 2023

Conversation

robo-cap
Copy link
Member

@robo-cap robo-cap commented Sep 21, 2023

Cluster autoscaler documentation was updated in response to #809.

When the eviction_grace_period is set to 0, the delete operation of worker nodes from the node pool controller doesn't wait for the cordon and drain operations to finalize.

By changing the default value of this parameter to 300 seconds we provide a grace period for node draining operation reducing the risk of service impact.

As the expected format for the nodepool eviction_grace_period attribute is PTxMyS, the new computation method will prevent deviations from how this parameter is set in TF and how it's returned by the API after the terraform apply command when values than 60 are configured.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 21, 2023
@robo-cap robo-cap changed the title Improve cluster autoscaler documentation Improve cluster autoscaler docs & improve eviction-grade-duration computation Sep 21, 2023
@robo-cap robo-cap changed the title Improve cluster autoscaler docs & improve eviction-grade-duration computation Improve cluster autoscaler docs & improve eviction-grace-duration computation Sep 21, 2023
@robo-cap robo-cap changed the title Improve cluster autoscaler docs & improve eviction-grace-duration computation Improve cluster autoscaler docs & improve eviction-grace-period computation Sep 21, 2023
@devoncrouse devoncrouse merged commit b8469b8 into oracle-terraform-modules:5.x Sep 21, 2023
devoncrouse pushed a commit to devoncrouse/terraform-oci-oke that referenced this pull request Oct 11, 2023
…tation (oracle-terraform-modules#829)

* fix issues with the cluster_autoscaler defined_tags for worker nodes

* improve cluster autoscaler documentation

* improve eviction_grate_duration computation & change default value to permit node draining on delete
devoncrouse pushed a commit that referenced this pull request Oct 11, 2023
…tation (#829)

* fix issues with the cluster_autoscaler defined_tags for worker nodes

* improve cluster autoscaler documentation

* improve eviction_grate_duration computation & change default value to permit node draining on delete
devoncrouse pushed a commit that referenced this pull request Oct 11, 2023
…tation (#829)

* fix issues with the cluster_autoscaler defined_tags for worker nodes

* improve cluster autoscaler documentation

* improve eviction_grate_duration computation & change default value to permit node draining on delete
hyder pushed a commit that referenced this pull request Oct 25, 2023
…tation (#829)

* fix issues with the cluster_autoscaler defined_tags for worker nodes

* improve cluster autoscaler documentation

* improve eviction_grate_duration computation & change default value to permit node draining on delete
thpham pushed a commit to thpham/terraform-oci-oke that referenced this pull request Nov 24, 2023
…tation (oracle-terraform-modules#829)

* fix issues with the cluster_autoscaler defined_tags for worker nodes

* improve cluster autoscaler documentation

* improve eviction_grate_duration computation & change default value to permit node draining on delete
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.

2 participants