开发者
资源
文档评分
获取效率
正确性
完整性
易理解
在线提单
论坛求助

安装Istio

对于Benchmark测试,推荐以default配置进行Istio的安装。

  1. 使用default配置文件安装Istio。
    1
    istioctl 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.
    
  2. 给命名空间添加标签,使得用户在部署应用时,Istio可自动注入Envoy Sidecar代理。
    1
    kubectl label namespace default istio-injection=enabled
    

    输出信息如下。

    1
    namespace/default labeled