The Istio package that you downloaded includes a sample application called Bookinfo that demonstrates the capabilities of Istio. We will install Bookinfo and use it to test our OpenTelemetry configuration later.
-n NAMESPACE
to the following commandkubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
READY
2/2
with a STATUS
of Running
before proceeding to the next stepkubectl get pods
<title>Simple Bookstore App</title>
kubectl exec "$(kubectl get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}')" -c ratings -- curl -sS productpage:9080/productpage | grep -o "<title>.*</title>"
Now that we have the Bookinfo application deployed we need to make it accessible to outside traffic so we can test it. We will use an Istio Ingress Gateway to accomplish this
kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml
analyze
command to check for any issues with the configurationistioctl analyze
echo "http://$GATEWAY_URL/productpage"
Great, Istio is installed and the Bookinfo app is running! Next we will configure distributed tracing with OpenTelemetry
next: Configure Distributed Tracing