onpath=&#39;{.items[0].metadata.name}&#39;)&#34; -c ratings -- curl -s productpage:9080/productpage -o /dev/null -w &#34;%{http_code}\n&#34;
429
</code></pre><p>您应该看到每个 <code>productpage</code> 实例的请求次数每分钟不超过 10 个。</p><h2 id=cleanup>清理</h2><div><a data-skipendnotes=true style=display:none href=https://raw.githubusercontent.com/istio/istio/release-1.16/samples/ratelimit/rate-limit-service.yaml>Zip</a><pre><code class=language-bash data-expandlinks=true data-repo