我要评分
获取效率
正确性
完整性
易理解

Installing Istio

For benchmark tests, you are advised to install Istio using the default configuration.

  1. Use the default configuration file to install Istio.
    1
    istioctl install --set profile=default --skip-confirmation 
    

    The following is an example of successful installation:

    1
    2
    3
    √ Istio core installed 
    √ Istiod installed
    √ Installation complete Made this installation the default for injection and validation.
    
  2. Add a label to the namespace, indicating that Istio can automatically inject an Envoy sidecar when users deploy applications.
    1
    kubectl label namespace default istio-injection=enabled
    

    The command output is as follows:

    1
    namespace/default labeled