<p>For testing and learning purposes I tried to use <code>istio</code> in microk8s.
<code>microk8s.enable istio</code> </p>

<p>Then</p>

<p><code>export MYHOST=$(microk8s.kubectl config view -o jsonpath={.contexts..namespace}).bookinfo.com</code></p>

<p><code>microk8s.kubectl apply -l version!=v2,version!=v3 -f https://raw.githubusercontent.com/istio/istio/release-1.5/samples/bookinfo/platform/kube/bookinfo.yaml</code></p>

<p><code>microk8s.kubectl get pods</code> shows running bookinfo containers.</p>

<p>But when I try to get <code>gateway</code> it shows me nothing.</p>

<p><code>microk8s.kubectl get gateway</code> </p>

<blockquote>
  <p>No resources found in default namespace.</p>
</blockquote>

<p><code>microk8s.kubectl get all --all-namespaces</code> shows <code>pod/istio-engressgateway</code> and its IP address.</p>

<p>But I can not access to that IP address, it shows not found.</p>

<p>What am I missing here? I just started Kubernetes and microk8s.</p>

Sachith Muhandiram
<p>You also need to get bookinfo sample gateway yaml. To get that you must-</p>

<p><code>microk8s.kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.5/samples/bookinfo/networking/bookinfo-gateway.yaml</code></p>

<p>That should work..</p>
