安装Istio
对于Benchmark测试,推荐以default配置进行Istio的安装。
- 使用default配置文件安装Istio。
1istioctl install --set profile=default --skip-confirmation
安装成功输出样例:
1 2 3
√ Istio core installed √ Istiod installed √ Installation complete Made this installation the default for injection and validation.
- 给命名空间添加标签,使得用户在部署应用时,Istio可自动注入Envoy Sidecar代理。
1kubectl label namespace default istio-injection=enabled
输出信息如下。
1namespace/default labeled
父主题: 安装Istio