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

azurerm_kubernetes_node_pool remove Computed on node_taints and eviction_policy #14378

Merged
merged 2 commits into from
Nov 30, 2021

Conversation

stephybun
Copy link
Member

Reverting #14030.

After an internal discussion the conclusion was reached that these two fields should not be set to Computed. Since node_taints play a pivotal role in how a cluster behaves and functions and the behaviour set by eviction_policy has a direct effect on billing and any persistent data used within the cluster, these should be explicitly set and reconciled by the user to avoid any unpleasant surprises and potentially obscure behaviour of the cluster.

Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

hey @stephybun

Taking a look through I've left one comment inline but if we can fix that up then this should otherwise be goos to go 👍

Thanks!

@@ -105,6 +105,8 @@ The following arguments are supported:

* `node_taints` - (Optional) A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g `key=value:NoSchedule`). Changing this forces a new resource to be created.

~> **Note:** Node Taints control the behaviour of the Node Pool, as such they must be specified and reconciled as required.
Copy link
Contributor

Choose a reason for hiding this comment

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

this is true of all attributes? perhaps it's worth a comment in the schema instead?

Suggested change
~> **Note:** Node Taints control the behaviour of the Node Pool, as such they must be specified and reconciled as required.

@github-actions github-actions bot added size/S and removed size/XS labels Nov 30, 2021
@stephybun stephybun merged commit dc012b8 into main Nov 30, 2021
@stephybun stephybun deleted the b/aks-revert-computed-fields branch November 30, 2021 08:47
@github-actions github-actions bot added this to the v2.88.0 milestone Nov 30, 2021
stephybun added a commit that referenced this pull request Dec 1, 2021
@github-actions
Copy link

github-actions bot commented Dec 2, 2021

This functionality has been released in v2.88.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

github-actions bot commented Jan 2, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants