Creating AKS cluster with Windows nodes

To complete this walkthrough, you need an Azure account and Azure CLI installed on your machine. You can find more details in Chapter 2, Managing State in Containers.

The following steps are also available as a Powershell script in the official GitHub repository for this book: https://github.com/PacktPublishing/Hands-On-Kubernetes-on-Windows/blob/master/Chapter04/05_CreateAKSWithWindowsNodes.ps1.

Let's begin by enabling the preview features for AKS:

  1. Install the aks-preview extension using the Azure CLI from Powershell:
az extension add --name aks-preview
  1. Update the aks-preview extension to its latest available version:
az extension update --name aks-preview
  1. Register the WindowsPreview feature ...

Get Hands-On Kubernetes on Windows now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.