安装istio v1.0 详细过程和步骤

创建 istio 目录 [root@centos-110 ~]# mkdir istio [root@centos-110 ~]# cd istio 方案一: # 去下面的地址下载压缩包 # https://github.com/istio/istio/releases $ wget https://github.com/istio/istio/releases/download/1.0.0/istio-1.0.0-linux.tar.gz $ tar -zvxf istio-1.0.0-linux.tar.gz 方案二: # 使用官方的安装脚本安装 运行如下命令,自动下载并解压最新的发布包 $ curl -L https://git.io/getLatestIstio | sh - [root@centos-110 istio]# curl -L https://git.io/getLatestIstio | sh - % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0 100 1456 100 1456 0 0 73 0 0:00:19 0:00:19 --:--:-- 388 Downloading istio-1.0.0 from https://github.com/istio/istio/releases/download/1.0.0/istio-1.0.0-linux.tar.gz ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 614 0 614 0 0 60 0 --:--:-- 0:00:10 --:--:-- 133 100 14.1M 100 14.1M 0 0 270k 0 0:00:53 0:00:53 --:--:-- 464k Downloaded into istio-1.0.0: bin install istio.VERSION LICENSE README.md samples tools Add /root/istio/istio-1.0.0/bin to your path; e.g copy paste in your shell and/or ~/.profile: export PATH="$PATH:/root/istio/istio-1.0.0/bin" [root@centos-110 istio]# 安装目录包含如下内容:
- 在 install/ 目录中包含了 Kubernetes 安装所需的 .yaml 文件
- samples/ 目录中是示例应用
- istioctl 客户端文件保存在 bin/ 目录之中。istioctl 的功能是手工进行 Envoy Sidecar 的注入,以及对路由规则、策略的管理
- istio.VERSION 配置文件
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。 参考链接: 注入 Istio sidecar https://preliminary.istio.io/zh/docs/setup/kubernetes/sidecar-injection/#sidecar-%E7%9A%84%E8%87%AA%E5%8A%A8%E6%B3%A8%E5%85%A5 Install with helm https://istio.io/docs/setup/kubernetes/helm-install/#option-2-install-with-helm-and-tiller-via-helm-install 控制 Ingress 流量 https://preliminary.istio.io/zh/docs/tasks/traffic-management/ingress/ Bookinfo 应用 https://preliminary.istio.io/zh/docs/examples/bookinfo/ Istio及Bookinfo示例程序安装试用笔记 https://zhaohuabing.com/2017/11/04/istio-install_and_example/

更多精彩