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 online virtual classes at Kubernetes Academy.

Kubernetes Academy offers instructor led training workshop-style on Docker containers and Kubernetes for web developers, DevOps specialists, I.T. Pros.

Courses info: