How Are You Right Sizing AKS Node Pools with Terraform?

0
7
Asked By CuriousCat42 On

I'm curious about the best practices for right sizing Azure Kubernetes Service (AKS) node pools when using Terraform for cluster provisioning. Since Terraform relies on desired state configuration, how do people manage dynamic workloads while ensuring the node pools are appropriately sized?

3 Answers

Answered By DevOpsDude77 On

Yes, I use cluster-autoscaler too! I pair it with py-kube-downscaler to ensure my dev cluster runs minimally outside of working hours, which helps save on costs while still being efficient.

Answered By TechieJoe99 On

I usually go with the cluster-autoscaler to handle this. I start off with a node pool of three instances and then scale up based on the demand.

Answered By CloudNinja23 On

Karpenter is a solid option for this, though I'm not sure if it's available for AKS yet. It's worth checking out if you're looking for something that simplifies node provisioning.

AzureExpert11 -

Actually, node auto provisioning for AKS just went GA! You can check out more details on it here: https://learn.microsoft.com/en-us/azure/aks/node-autoprovision?tabs=azure-cli. I'm just waiting for Terraform support before I try it out.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.