cortexlabs/cortex

Restrict number of targets per LB to the operator node group's nodes

RobertLucian opened this issue · 0 comments

Description

Find a way to restrict the number of discovered targets per LB irrespective of the number of nodes that are being added when cortex clustering up. We don't need up to 500 / 2 = 250 node targets. We only require the operator targets.

Possible solutions

  1. Either find an AWS mechanism that allows us to restrict this to a desired list of targets.
  2. Or maybe configuring NLB IP mode via the aws-load-balancer-controller. This may also require setting externalTrafficPolicy to Local, but not sure.