I have installed Kubernetes Cluster (minikube) on my Windows 10 machine and seems to be running (ie: I can browse the minikube dashboard, etc).
I also have a Windows Image (has an Asp.Net Web API .Net framework 4.6 Application in it) on Azure Container Registry that I would like to pull and deploy to my local Kubernetes Cluster.
I have built the following yaml file to create the Kubernetes deployment:
apiVersion: v1
kind: Pod
metadata:
name: hubapi
spec:
containers:
- name: hubapi
image: lgmimages.azurecr.io/hubapi/hubapi
imagePullSecrets:
- name: azurepasswordsecret
When I run this command:
kubectl create -f hubapi.yaml
and I see:
pod "hubapi" created
Then when I go to the dashboard or get Pod Description I see the following error:
kubelet, minikube Failed to pull image "lgmimages.azurecr.io/hubapi/hubapi": rpc error: code = Unknown desc = image operating system "windows" cannot be used on this platform
I was wondering what I am missing here and is what I am trying to do is even possible?
Note: It works when I use this command and pull nginx image from dockerhub:
kubectl run kubernetes-nginx --image=nginx:latest --port=80
Then I expose this service and I can browse the nginx web page on my local Cluster.
