<p>I have installed Kubernetes Cluster (minikube) on my Windows 10 machine and seems to be running (ie: I can browse the minikube dashboard, etc).</p>

<p><a href="https://i.stack.imgur.com/uX3AZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uX3AZ.png" alt="kubernetes cluster status"></a></p>

<p>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.</p>

<p>I have built the following yaml file to create the Kubernetes deployment:</p>

<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: hubapi
spec:
  containers:
  - name: hubapi
    image: lgmimages.azurecr.io/hubapi/hubapi
  imagePullSecrets:
  - name: azurepasswordsecret
</code></pre>

<p>When I run this command:</p>

<pre><code>kubectl create -f hubapi.yaml
</code></pre>

<p>and I see:</p>

<pre><code>pod "hubapi" created
</code></pre>

<p>Then when I go to the dashboard or get Pod Description I see the following error:</p>

<pre><code>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
</code></pre>

<p>I was wondering what I am missing here and is what I am trying to do is even possible?</p>

<p><strong>Note:</strong> It works when I use this command and pull nginx image from dockerhub:</p>

<pre><code>kubectl run kubernetes-nginx --image=nginx:latest --port=80
</code></pre>

<p>Then I expose this service and I can browse the nginx web page on my local Cluster.</p>

<blockquote>
  <p>rpc error: code = Unknown desc = image operating system "windows"
  cannot be used on this platform</p>
</blockquote>

<p>Actually, we install kubernetes on windows 10 <strong>bash on Ubuntu</strong>, in this way, the bash on ubuntu works as a master, base on Linux, we can't run windows docker image on it.</p>

<p>As we know, kubernetes master should be a Linux, you have not other nodes, so we can't run <code>windows</code> docker image on it.</p>

<p>For test, you can use <code>Azure container service</code> and deploy <code>kubernetes</code> with windows nodes, in this way, we can run Windows docker image on the k8s windows nodes. </p>

<p>Hope this helps:)</p>
