more install istio info (#311)

This commit is contained in:
wyike 2021-09-29 15:08:26 +08:00 committed by GitHub
parent ad813e1c40
commit db0ee59d24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -14,11 +14,13 @@ We will use the well-known [bookinfo](https://istio.io/latest/docs/examples/book
## Preparation
Install the Istio cluster plugin.
If your cluster haven't installed Istio. Install the Istio cluster plugin.
```shell
vela addon enable istio
```
Otherwise, you just need apply these 4 YAML files under this [path](https://github.com/oam-dev/kubevela/tree/master/vela-templates/addons/istio/definitions)
The default namespace needs to be labeled so that Istio will auto-inject sidecar.
```shell

View File

@ -16,11 +16,13 @@ KubeVela 后的应用交付模型OAM是一个从设计与实现上都高
## 准备工作
开启 Istio 集群插件
如果你的集群尚未安装 Istio你可以通过以下命令开启 Istio 集群插件
```shell
vela addon enable istio
```
如果你的集群已经已经安装 Istio你只需 apply [该目录](https://github.com/oam-dev/kubevela/tree/master/vela-templates/addons/istio/definitions) 下的四个 YAML 文件来达到和上面开启集群插件一样的效果
因为后面的例子运行在 default namespace需要为 default namespace 打上 Istio 自动注入 sidecar 的标签。
```shell