cluster1-as-a-primary>将 <code>cluster1</code> 设为主集群</h2><p>为 <code>cluster1</code> 创建 Istio 配置文件：</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ cat &lt;&lt;EOF &gt; cluster1.yaml
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  values:
    global:
      meshID: mesh1
      multiCluster:
        clusterName: cluster1
      network: network1
EOF
</code></pre><p>将配置文件应用到 <code>cluster1</code>：</p><pre><code class=languag