Asakiny commented on issue #37375:
URL: https://github.com/apache/doris/issues/37375#issuecomment-2227173825

   > > 基于Doris Operator部署的Doris on 
K8S,多fe的情况下,也会遇到这个bug,似乎需要设置svc的spec.sessionAffinity=ClusterIP来保持会话,但是发现目前的官方提供的doris
 helm不支持修改
   > 
   > I think your idea is to set `ClientIP` for sessionAffinity. Btw, this 
cannot be a perfect solution because normally FE is exposed using LoadBalancer 
service type or Ingress. In those cases, ClientIP is overridden by LB ip or 
ingress controller's ip.
   
   
在云环境下,您的观点是没问题的,通常私有环境部署是使用的是NodePort,Doris也提供了NodePort的配置方式,这种情况下可以既然提供NodePort的配置方式希望,我理解对应的多fe的svc配置也是需要匹配的,目前我临时edit
 svc添加spec.sessionAffinity=ClusterIP是暂时可以解决的,仅供各位遇到同样问题可以参考。
   
   In a cloud environment, your point is valid. Usually, In a private 
environment , NodePort is used frequently, and Doris also provides a NodePort 
configuration method. In this case, since NodePort configuration is provided, I 
understand that the corresponding multi-FE svc configuration also needs to 
match. Currently, I temporarily edited the svc to add 
spec.sessionAffinity=ClusterIP, which can temporarily solve the problem. This 
is provided for reference to anyone encountering the same issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to