安装和更新 GetMesh

Tetrate Istio Distro可以通过以下命令获得。

curl -sL https://istio.tetratelabs.io/getmesh/install.sh | bash

默认情况下,这将下载最新版本的 Tetrate Istio Distro和认证的 Istio。要检查下载是否成功,运行 version 命令

getmesh version

或者

getmesh version --remote=false #只有客户端版本的详细信息

以下表格的输出表明 Tetrate Istio Distro已成功安装。

getmesh version: 0.6.0
active istioctl: 1.8.2-tetrate-v0

要查看 Tetrate Istio Distro及其支持的功能的可用命令列表,运行 help 命令

getmesh --help

下载 Tetrate Istio Distro后,可以通过运行 update 命令自我更新到最新版本。

getmesh update

虽然我们建议始终使用最新的 GetMesh,但如果用户出于测试或其他原因想下载不同版本的 GetMesh,可以使用以下命令。

export GETISTIO_VERSION=<your_version> # 比如说0.5.0
curl -sL https://istio.tetratelabs.io/getmesh/install.sh | bash

这将把现有的 Tetrate Istio Distro版本覆盖到刚刚下载的版本。