-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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_cluster
/azurerm_kubernetes_cluster_node_pool
- add drain_timeout_in_minutes
and node_soak_duration_in_minutes
#26137
Conversation
Co-authored-by: Itay Grudev <[email protected]>
Co-authored-by: Itay Grudev <[email protected]>
This reverts commit b87cbb2.
…urce.go Co-authored-by: stephybun <[email protected]>
…urce.go Co-authored-by: stephybun <[email protected]>
…_pool.go Co-authored-by: stephybun <[email protected]>
@stephybun FYI I raised Azure/azure-rest-api-specs#27373 for an earlier version of this PR |
Thanks for the reminder @aristosvo! The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just a minor note to add a todo to update the docs for 4.0
"drain_timeout_in_minutes": { | ||
Type: pluginsdk.TypeInt, | ||
Optional: true, | ||
Default: 30, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add a TODO to add this default to the docs for 4.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am going to remove this since I found this did not work as expected when I did some 4.0 testing. I will open a follow up PR next week that will involve some 4.0 fixes for AKS, including a behavioural change to the upgrade_settings
block
bb5bbf9
to
2c3c917
Compare
Requires provider version v3.106.0 hashicorp/terraform-provider-azurerm#26137
Requires provider version v3.106.0 hashicorp/terraform-provider-azurerm#26137
Requires provider version v3.106.0 hashicorp/terraform-provider-azurerm#26137
Requires provider version v3.106.0 hashicorp/terraform-provider-azurerm#26137
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. |
Community Note
Description
Supersedes #26022
Noticed some peculiar behaviour while fixing up #26022 which required the addition of a
CustomizeDiff
fordrain_timeout_in_minutes
, this issue was raised on the Swagger spec by @aristosvo for it. This property cannot be unset once configured and while the docs specify a default value of 30 minutes when omitted, this isn't returned by the API.Testing
Tests look good, failures are unrelated.
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_kubernetes_cluster
- add support for thedrain_timeout_in_minutes
andnode_soak_duration_in_minutes
properties in theupgrade_settings
block [GH-00000]azurerm_kubernetes_cluster
- add support for thedrain_timeout_in_minutes
andnode_soak_duration_in_minutes
properties in theupgrade_settings
block [GH-00000]azurerm_kubernetes_cluster_node_pool
- add support for thedrain_timeout_in_minutes
andnode_soak_duration_in_minutes
properties in theupgrade_settings
block [GH-00000]This is a (please select all that apply):
Related Issue(s)
Fixes #13066
Note
If this PR changes meaningfully during the course of review please update the title and description as required.