tp
    hostname: &#34;*.sample.com&#34;
    port: 80
    protocol: HTTP
    allowedRoutes:
      namespaces:
        from: All
EOF
</code></pre><p>The controller that will implement a Gateway is selected by referencing a
<a href=https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1.GatewayClass>GatewayClass</a>.
There must be at least one GatewayClass defined in the cluster to have functional Gateways.
In our case, we&rsquo;re selecting Istio&rsquo;s gateway controller, <code>istio.i