<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="spec:
  selector:
    app: foobar-service
    track: prod
    track: post-prod-staging"><pre class="notranslate"><code class="notranslate">spec:
  selector:
    app: foobar-service
    track: prod
    track: post-prod-staging
</code></pre></div>
<p dir="auto">I can't seem to find how to define <em>IN</em> semantic for svc's selector, I tried to above and it resulted in only the last one being used:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt; kubectl describe svc svc-prod-svc
Name:                   svc-prod-svc
Namespace:              default
Labels:                 &lt;none&gt;
Selector:               app=foobar-service,track=post-prod-staging"><pre class="notranslate"><code class="notranslate">&gt; kubectl describe svc svc-prod-svc
Name:                   svc-prod-svc
Namespace:              default
Labels:                 &lt;none&gt;
Selector:               app=foobar-service,track=post-prod-staging
</code></pre></div>
<p dir="auto">kubectl should probably notify of duplication and fail, or are least print warning.</p>
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):</p>

<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>:</li>
<li><strong>OS</strong> (e.g. from /etc/os-release):</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):</li>
<li><strong>Install tools</strong>:</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p>
<p dir="auto"><strong>Anything else do we need to know</strong>:</p>