<p>Let's say I have deployed a full stack application in my minikube cluster(with frontend and several backend APIs), and I want the authentication api pod to scale from 0 replica to n only when I clicked &quot;login&quot; in the frontend UI, is it possible to achieve this through service discovery? If so, how? Thanks!</p>

efgdh
<p>It's unclear what you mean by &quot;pod to speed up only when...&quot; but if you mean that you want to have your app deployed, but scaled down to <strong>0 replicas</strong>, and only scale up to <strong>n replicas</strong> when there is traffic to the service, then <a href="https://knative.dev/docs/serving/" rel="nofollow noreferrer">Knative Serving</a> is an option.</p>
