Open elankath opened 1 month ago
@kon-angelo could you review this ? I would also like add additional unit test(s). But I need the unit test to check workerDelegate.machineClasses
to see if extended resources have been set in. Unfortunately, it is un-exported field in the workerDelegate
. Is it OK to introduce a method to expose this ? (Inside pkg/controller/worker/actuator.go
) ?
@voelzmo this PR will be updated to latest changes and feedback next week and sent for re-review.
How to categorize this PR?
/area auto-scaling /kind enhancement /platform aws
What this PR does / why we need it:
Permit specification of custom extended resources in the
worker.providerConfig.nodeTemplate
without needing to explicitly re-specify core resources such ascpu
,gpu
,memory
for the machine type again.Which issue(s) this PR fixes: Fixes #1009
Special notes for your reviewer:
Release note: