equests will be sent to the canary version, regardless of how many replicas of each version are running.</p>
<h2 id="autoscaling-the-deployments">Autoscaling the deployments</h2>
<p>Because we don’t need to maintain replica ratios anymore, we can safely add Kubernetes <a href="https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/">horizontal pod autoscalers</a> to manage the replicas for both version Deployments:</p>
<pre><code class="language-command" data-lang="command">$ kubectl au