��把更改应用到集群之前，检查定制效果方面非常有用。</p><p>您可以使用此命令显示 default 和 demo 两个配置档之间的差异：</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ istioctl profile diff default demo
 gateways:
   egressGateways:
-  - enabled: false
+  - enabled: true
...
     k8s:
        requests:
-          cpu: 100m
-          memory: 128Mi
+          cpu: 10m
+          memory: 40Mi
       strategy:
...
</code></pre><h2 id=generate