rld-v1</code> and the other half handled by <code>helloworld-v2</code>.</p><h3 id=configure-weight-based-version-routing>Configure weight-based version routing</h3><p>Among other &ldquo;traffic shaping&rdquo; features, you can use Gateway API to send all of the traffic to one of the versions
or split the traffic based on request percentages. For example, you can use the following rule to distribute the
helloworld traffic 90% to <code>v1</code>, 10% to <code>v2</code>:</p><pre><code class=language-bash data-