For testing and demoing, I create AKS clusters that will live just for a few minutes up to a day and I always wanted some kind of feature where I would be able to pause a cluster instead of deleting it to stop compute charges.  Microsoft finally added a way to stop and start AKS clusters with the Stop feature currently in preview.

The doc explains how to install the preview extension but you can simply issue the Stop command and the Azure CLI will install it for you on first run.  In this screenshot, you can see that I ran the Stop command and the was unable to connect to the cluster after.

Cool feature! 👍🏼

[EDIT] Looks like there's an issue when autoscaling is turned on.  If you want to try this feature while in Preview, make sure to turn Cluster Autoscaling OFF before you do so.


Learn Docker and Kubernetes

Like this blog post? I also teach Docker and Kubernetes at Kubernetes Academy Online.

Kubernetes Academy Online is Offering Self-Paced Online Video Training Courses with complete Hands-on Exercises. Available for AWS, Azure, DigitalOcean, Google Cloud Platform, and Linode. In English or French. Instructor-led Virtual Classes also available.

Courses info: KubernetesAcademy.online

🔥 Use the following code at checkout to save $10 on my self-paced courses. 1 offer per account.

$10 OFF Discount Code: GUYB-BLOG