安装

Istio 安装#

快速安装(适合新人)#

  • Download and install Istio
  • Deploy the sample application
  • Open the application to outside traffic
  • View the dashboard

使用 Istioctl 进行安装#

下载 Istio release#

[完成平台设置](platform-specific setup)#

Check the Requirements for Pods and Services#

Install Istio using the default profile#

export INGRESS_HOST=$(kubectl get po -l istio=ingressgateway -n istio-system -o jsonpath='{.items[0].status.hostIP}')
export INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="http2")].nodePort}')
export SECURE_INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="https")].nodePort}')
export GATEWAY_URL=$INGRESS_HOST:$INGRESS_PORT

echo http://$GATEWAY_URL/productpage