title: Scaling an API on Kubernetes-based application
body: <p>I am building an API and using Kubernetes as the cloud based orchestrator. For reference, I am using Spring and Tomcat for my microservices. </p>
  
  <p>I am looking to automatically scale using HPA and VPA. However, scaling takes some time to react to the load and can inaccurate depending on configuration. </p>
  
  <p>My question is, if someone makes a request to my API and Kubernetes needs to spawn a pod, then will the client to my API have to wait these 30 seconds in response time? How can I approach this behaviour elegantly?</p>