<p>I would like to stop and deallocate the nodes in a kubernetes cluster in azure so It cannot be billed during weekends for example.  I just can set to a minimun of 1 node using the az CLI</p>

<p>Any idea will be appreciated</p>

<p>If your are using scale sets (used for autoscaling and multiple node pools) you can deallocate the scale sets via ui (search in the resource the scale sets are created) or via az cli <a href="https://learn.microsoft.com/en-us/cli/azure/vmss?view=azure-cli-latest#az-vmss-deallocate" rel="nofollow noreferrer">az-vmss-deallocate</a></p>
