karpenter_cloudprovider_instance_type_offering_available
is returning the wrong data
#7758
Labels
bug
Something isn't working
good-first-issue
Good for newcomers
help-wanted
Extra attention is needed
triage/accepted
Indicates that the issue has been accepted as a valid issue
Description
Observed Behavior:
The
karpenter_cloudprovider_instance_type_offering_available
should return the offering availability as a global availability so that we reduce cardinality (and mainly because having a per-NodePool availability doesn't make a ton of sense). Right now, because of subnet discovery affecting availability throughGetInstanceTypes
, this metric will change as different NodePools call thisGetInstanceTypes
function.We need to compute the availability before we filter out offerings due to subnets -- we basically need to just consider the overall offering availability -- removing offerings that are currently stored in our ICE cache
Expected Behavior:
karpenter_cloudprovider_instance_type_offering_available
should return the global offering availabilityReproduction Steps (Please include YAML):
The text was updated successfully, but these errors were encountered: