Integrate Alibaba Cloud Log Service into Istio ruuning on Alibaba Cloud Container Service for Kubernetes

Introduction to OpenTracing

Alibaba Cloud’s Log Service and Jaeger Distributed Tracing System

Jaeger-client

Jaeger-agent

Jaeger-collector

Alibaba Cloud’s Log Service

Query&UI

Preparing the Kubernetes Environment

Using an Application Directory to Deploy Istio

# tracing(jaeger on AliCloud Log Service)
tracing-on-sls:
enabled: true
storage:
type: aliyun-log
aliyun_sls:
project: newlogsample
logstore: mylogstore1
endpoint: cn-hangzhou.log.aliyuncs.com
accesskey:
id:
secret:
.......
tracing:
enabled: false

Using Istio

Deploying an Application

Downloading and Installing istioctl

Installing the Bookinfo Sample

kubectl apply -f <(istioctl kube-inject --debug -f samples/bookinfo/kube/bookinfo.yaml)
istioctl create -f samples/bookinfo/routing/bookinfo-gateway.yaml
kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
details ClusterIP 172.19.2.177 <none> 9080/TCP 15m
productpage ClusterIP 172.19.15.184 <none> 9080/TCP 15m
ratings ClusterIP 172.19.9.228 <none> 9080/TCP 15m
reviews ClusterIP 172.19.11.177 <none> 9080/TCP 15m

Accessing an Application

kubectl get svc  istio-ingressgateway -n istio-system

Accessing the Jaeger Trace Query Interface from Log Service

Viewing Alibaba Cloud’s Log Service

Summary

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store