rdEcho | jq -r
&#39;.output | join(&#34;&#34;)&#39;  | grep Hostname
[0 body] Hostname=echo-v2-cf97bd94d-jt5mf</code></pre><h3 id=creating-subsets-with-destination-rule>通过 DestinationRule 创建 Subset</h3><p>首先，为每个版本的工作负载分别创建 Subset。</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ cat &lt;&lt;EOF | kubectl apply -f -
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: echo-versions
  namespace: echo-grpc
spec:
  