-repo=istio>$ kubectl autoscale deployment helloworld-v1 --cpu-percent=50 --min=1 --max=10
deployment &#34;helloworld-v1&#34; autoscaled
</code></pre><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl autoscale deployment helloworld-v2 --cpu-percent=50 --min=1 --max=10
deployment &#34;helloworld-v2&#34; autoscaled
</code></pre><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl get hpa
NAME           REFERENCE                 TARGET  CURRENT  MINPODS  M