Istio部署:快速上手微服务,
Posted 键客李大白
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Istio部署:快速上手微服务,相关的知识,希望对你有一定的参考价值。
下载二进制安装包
[root@lidabai-master ~]# $ wget https://github.com/istio/istio/releases/download/1.11.8/istio-1.11.8-linux-amd64.tar.gz
[root@lidabai-master ~]# tar zxvf istio-1.11.8-linux-amd64.tar.gz
[root@lidabai-master ~]# cd istio-1.11.8/
[root@lidabai-master ~]# ls
bin LICENSE manifests manifest.yaml README.md samples tools
samples: 示例应用程序;
bin: 包含istioctl的客户端文件,istioctl工具用于手动注入Envoy sidecar代理(边车代理)
安装Istioctl
把 istioctl 这个可执行文件拷贝到/usr/bin/目录
[root@lidabai-master ~]# mv bin/istioctl /usr/local/bin/ #安装Istioctl客户端工具
[root@lidabai-master ~]# istioctl install -y --set profile=demo
✔ Istio core installed
✔ Istiod installed
✔ Ingress gateways installed
✔ Egress gateways installed
✔ Installation complete
Thank you for installing Istio 1.11.
Please take a few minutes to tell us about your install/upgrade experience!
https://forms.gle/kWULBRjUv7hHci7T6
Install:在集群上安装或重新配置Istio。
--set profile=demo:生成演示配置文件,不要等待确认
镜像下载
最好每个节点都下载,安装istio的时候会自动下载,但比较慢而且可能会下载失败。
[root@lidabai-master ~]在KubeSphere启动服务网格Istio并解决解决ContainerCreating问题