aks - running windows node pool :- The image and underlying windows host running the image must match

 

As stated in the documentation, we need to match image with the underlying host OS. Otherwise we will get some issues as shown below: This is going to be interesting. As we upgrade our AKS cluster, the underlying OS gets updated. The only problem is we also need to upgrade all application images. That's going to be tricky. 


--------------------------------------------------

ltsc2019" in 3m50.4987807s (3m50.4987807s including waiting)

  Normal   Created    8s (x2 over 13s)  kubelet            Created container helloworld

  Normal   Pulled     8s                kubelet            Container image "mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2019" already present on machine

  Warning  Failed     2s (x2 over 8s)   kubelet            Error: failed to create containerd task: failed to create shim task: hcs::CreateComputeSystem helloworld: The container operating system does not match the host operating system.: unknown

  Warning  BackOff    0s (x2 over 2s)   kubelet            Back-off restarting failed container

Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm