l delete deployment my-nginx -n mesh-external
$ kubectl delete namespace mesh-external
$ kubectl delete gateway istio-egressgateway
$ kubectl delete virtualservice direct-nginx-through-egress-gateway
$ kubectl delete destinationrule -n istio-system originate-mtls-for-nginx
$ kubectl delete destinationrule egressgateway-for-nginx
</code></pre></li><li><p>Delete the certificates and private keys:</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ rm example.com.crt example.com.key my-ng