epo=istio>$ cat &lt;&lt;EOF &gt; sample.yaml
apiVersion: v1
kind: Namespace
metadata:
  name: sample
  labels:
    istio-injection: enabled
EOF
</code></pre><p>Add the <code>sample</code> namespace to each cluster:</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ for CTX in &#34;$CTX_PRIMARY&#34; &#34;$CTX_R1_Z1&#34; &#34;$CTX_R1_Z2&#34; &#34;$CTX_R2_Z3&#34; &#34;$CTX_R3_Z4&#34;; \
  do \
    kubectl --context=&#34;$CTX&#34; apply -f sample.yaml; \
  done
</code></pre><h2 id=deploy-