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 ability to set run time limit in instance group when creating node pool #20774

Open
WTPOptAxe opened this issue Dec 23, 2024 · 0 comments
Open
Labels
enhancement forward/review In review; remove label to forward service/container

Comments

@WTPOptAxe
Copy link

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.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Description

We create node pools using the google_container_node_pool module. We would like to limit the run time of any node in a pool to 14 days.

It would be good to be able to set this as a parameter that is then added to the template as part of instance template creation

New or Affected Resource(s)

  • google_container_node_pool

Potential Terraform Configuration

resource "google_container_node_pool" "node_pool" {
  name    = "${var.name_prefix}-${random_string.node_pool_suffix.result}"
  cluster = var.kubernetes_cluster_id

  node_config {
    time_limit = 14d
  }
}

References

No response

@github-actions github-actions bot added forward/review In review; remove label to forward service/container labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement forward/review In review; remove label to forward service/container
Projects
None yet
Development

No branches or pull requests

1 participant