Deploy
Before dabbling into the installation of Istio, it is necessary to ensure that your Kubernetes cluster (only versions v1.9.0 and later are supported) is already deployed and that you have set up your local kubectl client appropriately. For instance, using minikube, you would need:
Downloading Istio
Deploying Istio Service
Initiating the Helm Tiller:
Then, deploy through Helm:
Upon completion, you can validate whether services within the isotio-system namespace are running properly:
Mesh Extension
The server to be connected must be accessible via IP to service endpoints within the mesh, which often requires support from VPN or VPC, or non-NAT and non-firewall blocked direct routes provided by container networks. There's no need for the server to access cluster IP addresses assigned by Kubernetes.
After deployment, applications can be registered with Istio, like so:
Prometheus, Grafana, and Zipkin
Once all pods are up and running, these services can be accessed through NodePort, the external IP of the load balancing service, or kubectl proxy
. For instance, to access through kubectl proxy
, launch it first:
Then access Grafana at http://localhost:8001/api/v1/namespaces/istio-system/services/grafana:3000/proxy/
, and ServiceGraph at http://localhost:8001/api/v1/namespaces/istio-system/services/servicegraph:8088/proxy/
, which displays a diagram of the connections between services.
/d3graph
Provides a JSON serialization for D3 visualization./graph
Provides a generic JSON serialization.
You can access the Zipkin trace page at http://localhost:8001/api/v1/namespaces/istio-system/services/zipkin:9411/proxy/
, and the Prometheus page at http://localhost:8001/api/v1/namespaces/istio-system/services/prometheus:9090/proxy/
.
最后更新于