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

Support for linuxOSConfig on azurerm_kubernetes_cluster_node_pool #10038

Closed
liammoat opened this issue Jan 4, 2021 · 3 comments
Closed

Support for linuxOSConfig on azurerm_kubernetes_cluster_node_pool #10038

liammoat opened this issue Jan 4, 2021 · 3 comments

Comments

@liammoat
Copy link
Contributor

liammoat commented Jan 4, 2021

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

In API version 2020-11-01 of the Azure Rest API linuxOSConfig can be used to configured sysctl properties on an AKS agent pool (see here).

To help maintain feature parity, it would make sense to introduce this API in the Terraform provider. The API is available in ARM (see here).

New or Affected Resource(s)

  • azurerm_kubernetes_cluster_node_pool

Potential Terraform Configuration

resource "azurerm_kubernetes_cluster_node_pool" "example" {
  name                  = "internal"
  kubernetes_cluster_id = azurerm_kubernetes_cluster.example.id
  vm_size               = "Standard_DS2_v2"
  node_count            = 1

  linux_os_config {
    sysctls {
      netIpv4TcpWmem = 12345
      netIpv4TcpTwReuse = true
      netIpv4IpLocalPortRange = "20000 60000"
      kernelThreadsMax = 99999
    }
  }
}

References

@liammoat
Copy link
Contributor Author

cc: @grayzu

@katbyte
Copy link
Collaborator

katbyte commented Jun 24, 2021

closing as it looks like this has been fixed by #11119

@katbyte katbyte closed this as completed Jun 24, 2021
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, 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 Jul 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants