<p>Is it possible to load balance ingress traffic based on the resource availability on the pods?  The closest I can find is <a href="https://nginx.org/en/docs/http/ngx_http_upstream_module.html#least_time" rel="nofollow noreferrer">Nginx's Least Time load balance method</a> which uses lowest average latency.</p>
<p>I'm specifically looking for a way to route to the pod with the most average memory availability.</p>

Dave New
<p>This is a community wiki answer posted for better visibility. Feel free to expand it.</p>
<p>As already mentioned in the comments, that approach is not recommended as the main issues with resource based load balancing is that the load information becomes stale by the time you would make the routing decision. See the sources below:</p>
<ul>
<li><p><a href="https://serverfault.com/questions/400899/why-dont-load-balancer-algorithms-allow-selection-of-worker-machines-based-on/400939">Why don't load balancer algorithm's allow selection of worker machines based on current CPU or memory usage</a></p>
</li>
<li><p><a href="https://www.cs.utexas.edu/users/dahlin/papers/tpds-loadBalance00.pdf" rel="nofollow noreferrer">Interpreting Stale Load Information</a></p>
</li>
</ul>
