Istio 1.6.4 发布-新特性与快速安装

原创
2020/07/09 16:39
阅读数 1.5K

Istio 1.6.4已经发布,更新主要是安全方面。

下载:

wget https://github.com/istio/istio/releases/download/1.6.4/istio-1.6.4-linux-amd64.tar.gz
tar -vxf istio-1.6.4-linux-amd64.tar.gz

设置:

# Add to ~/.profile or .bash...
$ export PATH=$PWD/bin:$PATH

安装:

$ istioctl install --set profile=demo

部署示范程序:

$ kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml

检查运行状态:

$ kubectl exec -it $(kubectl get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}') -c ratings -- curl productpage:9080/productpage | grep -o "<title>.*</title>"
<title>Simple Bookstore App</title>

发布服务到外部访问:

$ kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml
gateway.networking.istio.io/bookinfo-gateway created
virtualservice.networking.istio.io/bookinfo created

更多参考:

展开阅读全文
加载中

作者的其它热门文章

打赏
0
0 收藏
分享
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部