首先我的应用是一个启用了流量治理的微服务。
复现问题方法:

  1. 在kubesphere的“应用”-“流量治理”页选择一个服务配置流量治理参数,开启连接池管理,设置“最大连接数”为1
  2. 因为在kubesphere中无法配置故障注入,所以手动编辑这个virtualservice,加入5秒延时
    #kubectl -n istio-test edit virtualservice web-service
    fault:
    delay:
    fixedDelay: 5s
    percentage:
    value: 100
  3. 等待一段时间后(3-10分钟),这个配置失效了,get这个配置,发现配置刚刚加入的故障注入的配置已经没有了
    #kubectl -n istio-test get virtualservice web-service -o yaml

    cycwll 目前的行为是这样的,Ks-controller-mananger 会 定期更新 virtualservice 的状态,覆盖用户的设置。目前的行为确实不太合理,欢迎提交issue