---
title: 安装Istio
description: "对于Benchmark测试，推荐以default配置进行Istio的安装。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengcpfs/ecosystemEnable/Istio/kunpeng_istio_zn_006.html
sourcePath: /source/zh/kunpengcpfs/ecosystemEnable/Istio/kunpeng_istio_zn_006.html
indexId: b9e75d5a8abbd9d1f617be97150a011192e1c5f89f2c6853fed8fcba6871a83d70
---
# 安装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
