<p>A Usecase where one of the service must be scaled to 10 pods.</p>

<p>BUT, <strong>one of the pod must have different env variables</strong>. (kind of doing certain actions like DB actions and triggers handling, don't want 10 triggers to be handled instead of 1 DB change), for example 9 pods have  env variable  CHANGE=0  but one of the pod has env variable CHANGE=1</p>

<p>Also i am resolving by service name, so changing service name is not what i am looking for.</p>

shrw
<p>It sounds like you're trying to solve an issue with your app using Kubernetes.</p>

<p>The reason I say that is because the whole concept of "replicas" is to have <strong>identical</strong> instances, what you're actually saying is: "I have 10 identical pods but I want 1 of the to be different" and that's not how Kubernetes works.</p>

<p>So, you need to re-think the reason for which you need this environment variable to be different, what do you use it for. If you want to share the details maybe I can help you find an idiomatic way of doing this using Kubernetes.</p>
