ce endpoints running in <code>cluster2</code>.</p></li></ul><p>To provide API Server access to <code>cluster2</code>, we generate a remote secret and
apply it to <code>cluster1</code>:</p><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