Greetings,
I am trying to deploy windows container using AKS cluster with windows node pools. The application is dotnet asp which uses .Net Framework, for getting the image ready I use these two in the Dockerfile:
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8 AS build
steps..
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8 AS runtime
steps..
Once I had it locally running I uploaded it on Azure Container Registry, from there I am deploying it to AKS cluster which has Windows node pools. This is how i created the cluster link. Once I created the cluster I applied the k8s manifests. For pulling th ACR image from the private registry I use k8s secret from the admin user of the ACR link.
Once the pod is running I am getting the following log in the pod:
pc error: code = Unknown desc = a Windows version 10.0.19042-based image is incompatible with a 10.0.17763 host, rpc error: code = Unknown desc = Error response from daemon: Head https://***api/manifests/v1: unauthorized: authentication required, visit https://aka.ms/acr/authorization for more information.
How would i overcome this problem with the Windows versions?
Why am I not authorized to perform this action?