You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "hebrd (via GitHub)" <gi...@apache.org> on 2023/03/29 01:01:02 UTC

[GitHub] [dubbo] hebrd commented on issue #11231: 服务IP错乱

hebrd commented on issue #11231:
URL: https://github.com/apache/dubbo/issues/11231#issuecomment-1487797416

   经过进一步定位,发现在K8S如下情况必然出现该问题:
   * K8S cronjob调度执行完成,但是对应的Pod还未删除,假设此时未被删除的Pod IP未ip1
   * Provider启动,并且K8S将上一步的ip1分配给了服务提供方的Pod
   * 此时消费者调用Provider服务,则必然出现如下错误`java.io.IOException: Service com.XXXService with version 0.0.0 not found, invocation rejected.`
   * 删除调度任务的Pod之后,服务恢复正常
   
   @AlbumenJ 这种情况有没有什么处理建议?


-- 
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: notifications-unsubscribe@dubbo.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org