Istio 安装
#
快速安装(适合新人)
#
- Download and install Istio
- Deploy the sample application
- Open the application to outside traffic
- View the dashboard
使用 Istioctl 进行安装
#
下载 Istio release
#
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
叶王 © 2013-2024 版权所有。如果本文档对你有所帮助,可以请作者喝饮料。