<p>I have created an AKS kubernetes cluster with <code>az</code> CLI :</p>

<pre><code>az aks create \
    --name abcdefAKSCluster \
    --resource-group abcdef \
    --node-count 5 \
    --generate-ssh-keys \
    --service-principal &lt;...&gt; \
    --client-secret &lt;...&gt; \
    --location westeurope
</code></pre>

<p>(I followed the steps on <a href="https://learn.microsoft.com/fr-fr/azure/aks/tutorial-kubernetes-deploy-cluster" rel="nofollow noreferrer">this documentation</a>)</p>

<p>I deployed a bunch of docker, based on unix images. Everything works fine (nestjs and angular apps, but this is not relevant).</p>

<p>Now I have the requirement to deploy a docker image, but based on <strong>windows</strong>. This image is built and uploaded to our azure container registry. I want to run this image in the kubernetes azure cluster. But for that, I need, somehow, to tell kubernetes to run this docker inside a windows-based node.</p>

<p>So I've found in <a href="https://anthonychu.ca/post/hybrid-kubernetes-linux-windows-cluster-easy-steps/" rel="nofollow noreferrer">this blog post</a> that I need to have a <code>osType:windows</code> entry in the <code>agentPoolProfiles</code> array of json describing the cluster. When the cluster will have a windows agent pool profile, I guess I'll be able to tell kubernetes to target a windows-based machine to run this windows-based docker image. Not sure about how to implement that last bit though...</p>

<p>Anyway my question is how to update an existing AKS cluster on azure to add a windows machine ? It seems this is not doable either with the <code>az</code> CLI nor with the azure portal UI.</p>

<p>Thanks.</p>

Marcel Falliere
<p>Unfortunately, Windows container is not yet supported on AKS.</p>
