gpt4 book ai didi

kubernetes - 'istioctl manifest apply' 和 'istioctl install' 有什么区别?

转载 作者:行者123 更新时间:2023-12-02 12:11:37 26 4
gpt4 key购买 nike

我注意到通过 istioctl manifest apply 设置值会影响其他 Istio 资源。例如,当我设置 --set values.tracing.enabled=true ,之前安装在集群中的 Kiali 消失了。

什么是设置值(选项)的正确方法,如 values.pilot.traceSampling ?

谢谢

最佳答案

Istio 安装已在 istio 1.6 中引入,但 --set选项的工作方式与 istioctl manifest apply 中的相同它取代。我怀疑它是为了更好
清晰度和可访问性,如 istioctl manifest有很多其他用途,如 istioctl manifest generate它允许创建 list yaml 并将其保存到文件中。

根据 istio documentation :

While istioctl install will automatically detect environment specific settings from your Kubernetes context, manifest generate cannot as it runs offline, which may lead to unexpected results. In particular, you must ensure that you follow these steps if your Kubernetes environment does not support third party service account tokens.



至于 Kiali 你需要像这样单独安装 guide .

设置像 values.pilot.tracingSampling 这样的值我建议使用 istio Operator .

希望能帮助到你。

关于kubernetes - 'istioctl manifest apply' 和 'istioctl install' 有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62261984/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com