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

Set Kubernetes cluster nodepool to minimum 0 nodes #510

Closed
OscartGiles opened this issue Sep 2, 2020 · 0 comments · Fixed by #601
Closed

Set Kubernetes cluster nodepool to minimum 0 nodes #510

OscartGiles opened this issue Sep 2, 2020 · 0 comments · Fixed by #601
Assignees
Labels
critical Highest priority Infrastructure New infrastructure or changes to existing New feature Adds a new feature

Comments

@OscartGiles
Copy link
Contributor

Feature overview

It's now possible to have zero nodes in a node pool (as long as it isn't the main node pool). However, terraform hasn't been updated yet.

@OscartGiles manually set the node pool to autoscale to zero.

Once this is available on terraform we need to update this code:

resource "azurerm_kubernetes_cluster_node_pool" "jamcam_pool" {
name = "jamcam"
kubernetes_cluster_id = azurerm_kubernetes_cluster.this.id
vm_size = "Standard_NC24"
enable_auto_scaling = true
max_count = 4
min_count = 1
node_count = 1
os_disk_size_gb = 100
node_taints = ["group=gpu:NoSchedule"]
}

Terraform issue and PR here:

hashicorp/terraform-provider-azurerm#8219
hashicorp/terraform-provider-azurerm#8300

Who to talk to

@OscartGiles OscartGiles added critical Highest priority Infrastructure New infrastructure or changes to existing New feature Adds a new feature labels Sep 2, 2020
@OscartGiles OscartGiles self-assigned this Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical Highest priority Infrastructure New infrastructure or changes to existing New feature Adds a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant