How do I start & stop my AKS cluster?

Server Fault Asked by Sarabpreet Singh on December 8, 2020

I have created an AKS cluster with 2 Node pools (Linux + windows) for dev/test purpose only. However, I’d like to save some costs when the cluster is not getting used. Is there any way the cluster can be turned on/off like a VM?

I found the below document. It works fine when stopping the cluster but starting it, the pods never get to the ready state.

Is there any other way I can achieve this? or save some costs?

2 Answers

The stop/start feature for AKS is in preview currently, and has seen some issues. Once this is GA and working without issue then this will be the best way to do this.

In the short term. Either de-allocating the scale set, or scaling to 0 is the best option.

Answered by Sam Cogan on December 8, 2020

You should be able to simply scale down the Virtual Machine Scale Set that run the specific pool (linux or windows) to 0. Make sure to drain the node (kubectl drain <node name>) prior to scaling the vmss down. Another option is to simply deallocate the the running machine(s) in the vmss. That way you only pay for the storage and not for the compute resources.

Answered by Simon on December 8, 2020

Add your own answers!

Related Questions

Puppetserver unable to locate gems

1  Asked on November 4, 2021


Is it okay to drop DNS type AAAA queries

1  Asked on November 4, 2021 by noyb


Set YUM versionlock, but allow updating to specific versions

0  Asked on November 4, 2021 by yakatz


How are systemd/system overrides supposed to work?

1  Asked on November 4, 2021 by philolegein


OpenVPN with PAM with systemd and SELinux

1  Asked on November 4, 2021 by check


LDAP+SSL configuration with OpenSMTPD

1  Asked on November 4, 2021 by azmeuk


SVN, check out folders based on authz

1  Asked on November 4, 2021 by still-shi


CentOS command not found

1  Asked on November 4, 2021 by jonas-heinze


IPtables as a reverse proxy

1  Asked on November 4, 2021 by ie


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir