<p>This k8s service definition have multiple entries under <code>selector</code> section.</p>

<p><code>apiVersion: v1
kind: Service
metadata:
  name: my-service
spec:
  selector:
    app: my-app
    tier: back-end
  ports:
    - protocol: TCP
      port: 80
      targetPort: 9376</code></p>

<p>Which operation does this selector follows, <code>( app == my-app &amp;&amp; tier == back-end )</code> or <code>( app == my-app || tier == back-end )</code>?</p>

Yasir
<p>From the docs <a href="https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors" rel="nofollow noreferrer">here</a></p>

<blockquote>
  <p>A label selector can be made of multiple requirements which are
  comma-separated. In the case of multiple requirements, all must be
  satisfied so the comma separator acts as a logical AND (&amp;&amp;) operator.</p>
  
  <p>Caution: For both equality-based and set-based conditions there is no
  logical OR (||) operator. Ensure your filter statements are structured
  accordingly</p>
</blockquote>
