Istio 最新版 1.12 离线安装
下载 Istio
转到 Istio 发布
https://github.com/istio/istio/releases/tag/1.12.0
页面,下载针对你操作系统的安装文件, 或用自动化工具下载并提取最新版本(Linux 或 macOS):
$ curl -L https://istio.io/downloadIstio | sh -
上面的命令下载最新版本(用数值表示)的 Istio。 你可以给命令行传递变量,用来下载指定的、不同处理器体系的版本。 例如,下载 x86_64 架构的、1.6.8 版本的 Istio ,运行:
$ curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.6.8 TARGET_ARCH=x86_64 sh -
转到 Istio 包目录。例如,如果包是 istio-1.12.0:
$ cd istio-1.12.0
安装目录包含:
samples/
目录下的示例应用程序bin/
目录下的 istioctl
客户端二进制文件 .
将 istioctl
客户端加入搜索路径(Linux or macOS):
$ export PATH=$PWD/bin:$PATH
安装 Istio
对于本次安装,我们采用 demo 配置组合
https://istio.io/latest/zh/docs/setup/additional-setup/config-profiles/
。 选择它是因为它包含了一组专为测试准备的功能集合,另外还有用于生产或性能测试的配置组合。
如果你的平台有供应商提供的配置组合,比如:Openshift,则在下面命令中替换掉 demo 配置项。更多细节请参阅你的 平台说明
https://istio.io/latest/zh/docs/setup/platform-setup/
前提:
手动pull镜像——》打tag——〉推送至自己仓库
335 2021-12-08 16:50:44 docker pull docker.io/istio/pilot:1.12.0
380 2021-12-08 17:00:07 docker pull docker.io/istio/proxyv2:1.12.0
388 2021-12-08 17:03:33 docker pull docker.io/istio/proxyv2:1.12.0
447 2021-12-08 17:39:14 docker pull docker.io/istio/pilot:1.12.0
490 2021-12-08 19:21:52 docker pull docker.io/istio/examples-bookinfo-ratings-v1:1.16.2
docker pull docker.io/istio/examples-bookinfo-reviews-v1:1.16.2
[root@VM-0-44-centos istio-1.12.0]# istioctl install --set .values.global.hub="10.8.0.44:60080/ti-platform/istio" --set profile=demo -y
Detected that your cluster does not support third party JWT authentication. Falling back to less secure first party JWT. See https://istio.io/v1.12/docs/ops/best-practices/security/#configure-third-party-service-account-tokens for details.
! values.global.jwtPolicy is deprecated; use Values.global.jwtPolicy=third-party-jwt. See http://istio.io/latest/docs/ops/best-practices/security/#configure-third-party-service-account-tokens for more information instead
✔ Istio core installed
✔ Istiod installed
✔ Egress gateways installed
✔ Ingress gateways installed
✔ Installation complete Making this installation the default for injection and validation.
Thank you for installing Istio 1.12. Please take a few minutes to tell us about your install/upgrade experience! https://forms.gle/FegQbc9UvePd4Z9z7
给命名空间添加标签,指示 Istio 在部署应用的时候,自动注入 Envoy 边车代理:
$ kubectl label namespace default istio-injection=enabled
namespace/default labeled
相关文章:
Istio 最新版1.12离线安装
为者常成,行者常至
自由转载-非商用-非衍生-保持署名(创意共享3.0许可证)