<p>I have created a Azure AKS cluster which is having one Linux node and one Windows Node. Now when I am setting up RabbitMQ, it is saying &quot;Container Creating&quot; for long time.
If I am removing Windows node, the RabitMQ configuration is getting success.</p>
<p>I want to know how can I properly set node selector.</p>
<pre><code>nodeSelector:
  beta.kubernetes.io/os: linux
  kubernetes.io/os: linux
  worker: rabbitmq
</code></pre>

Roushan
<p>To deploy an application on linux nodes you can do as below by specifying <code>&quot;beta.kubernetes.io/os&quot;: linux</code> as <code>nodeSelector</code></p>
<pre><code>apiVersion: apps/v1
kind: Deployment
metadata:
  name: sample
  labels:
    app: sample
spec:
  replicas: 1
  template:
    metadata:
      name: sample
      labels:
        app: sample
    spec:
      nodeSelector:
        &quot;beta.kubernetes.io/os&quot;: linux
      containers:
      - name: rabbitmq
        image: rabbitmq
        resources:
          limits:
            cpu: 1
            memory: 800M
          requests:
            cpu: .1
            memory: 300M
        ports:
          - containerPort: 80
  selector:
    matchLabels:
      app: sample
</code></pre>
