<p>At the moment I have the following config in one of my services:</p>
<pre><code>spec:
  clusterIP: None
  ports:
  - name: grpc
    port: 9000
    protocol: TCP
    targetPort: 9000
  selector:
    app: my-first-app
    environment: production
    group: my-group
  type: ClusterIP
</code></pre>
<p>in the selector section, I need to add another app:</p>
<pre><code>.
.
app: my-first-app my-second-app
.
.
</code></pre>
<p>How can I achieve this?</p>
<p>Thank you!</p>

Moein
<pre><code>selector:
  matchExpressions:
    - {key: app, operator: In, values: [my-first-app, my-second-app]}
</code></pre>
<p>Reference: <a href="https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/" rel="noreferrer">https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/</a></p>
