></div><h2 id=deploy-the-external-authorizer>Deploy the external authorizer</h2><p>First, you need to deploy the external authorizer. For this, you will simply deploy the sample external authorizer in a standalone pod in the mesh.</p><ol><li><p>Run the following command to deploy the sample external authorizer:</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl apply -n foo -f https://raw.githubusercontent.com/istio/istio/release-1.15/samples/extauthz/ext-authz.yaml
service/ex