<p>I'm running a hybrid AKS cluster where I have one Linux and one Windows node. The Windows node will run a legacy server app. I want to use Argo CD to simplify the deployments.</p>
<p>After following the installation <a href="https://argoproj.github.io/argo-cd/getting_started/" rel="nofollow noreferrer">instructions</a> (<a href="https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml" rel="nofollow noreferrer">installation manifest</a>) and installing Argo in the cluster I noticed I can't connect to its dashboard.</p>
<p>Troubleshooting the issue I found that the Argo pod can't pull the image. Below output of <code>kubectl describe pod  argocd-server-75b6967787-xfccz -n argocd</code></p>
<p><a href="https://i.stack.imgur.com/UHKgV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UHKgV.png" alt="enter image description here" /></a></p>
<p><a href="https://i.stack.imgur.com/keMtP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/keMtP.png" alt="enter image description here" /></a></p>
<p>Another thing that is visible here is that Argo pod got assigned to a windows node. From what I found here, Argo can't run on windows nodes. I think that's the root cause of the problems.</p>
<p>Does anyone know how can I force Argo pods to run on Linux node?</p>
<p>I <a href="https://argoproj.github.io/argo/windows/" rel="nofollow noreferrer">found</a> that something like <code>nodeSelector</code> could be useful.</p>
<pre><code>  nodeSelector:
    kubernetes.io/os: linux
</code></pre>
<p>But how could I apply the <code>nodeSelector</code> on the already deployed Argo?</p>

Rafał Sroka
<p>Does anyone know how can I force Argo pods to run on Linux node?</p>
<p>check for the other node label and change the node selector</p>
<pre><code>nodeSelector:
        kubernetes.io/os: linux
</code></pre>
<p>you can directly edit the current deployment of argo CD</p>
<pre><code>kubectl edit deployment argocd-server -n &lt;namespace name&gt;
</code></pre>
<p>you can edit the label directly using cli and update it</p>
