<pre><code class=language-bash data-expandlinks=true data-repo=istio>$ istioctl x create-remote-secret \
    --context=&#34;${CTX_CLUSTER2}&#34; \
    --name=cluster2 | \
    kubectl apply -f - --context=&#34;${CTX_CLUSTER1}&#34;
</code></pre><h2 id=configure-cluster2-as-a-remote>Configure <code>cluster2</code> as a remote</h2><p>Save the address of <code>cluster1</code>’s east-west gateway.</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ export DISCOVERY_ADDRESS=$(kubectl \
    