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

[GitHub] [apisix] zhixiongdu027 commented on issue #9230: As a user, i want new nodes from kubernetes discovery has lower weight with other nodes

zhixiongdu027 commented on issue #9230:
URL: https://github.com/apache/apisix/issues/9230#issuecomment-1495232717

          By default, kubernetes records all pod ips in the endpoints resource without discrimination, rather than sorting them by startup time.
   
          In order to achieve your needs, you should develop a kubernetes operator that identifies the weight for each pod in the endpoint resource, The weights are then read and applied by discovery
   
          Another way is to use the kubernetes probe function to delay adding pod ip to endpoints, and use sidecar "warmup" during the delay
   


-- 
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@apisix.apache.org

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