Description
Empediment from: #31
GCP doesn't have an API that tells you how much the VM type costs.
But they have an https://cloud.google.com/billing/docs/reference/rest/v1/services.skus which is really hard to use, but can provide information how does VM parts costs (CPU / RAM / etc).
So to not to bring too complex pricing logic at the beginning we leveraged already calculated pricing data provided by https://github.com/Cyclenerd/google-cloud-pricing-cost-calculator project.
It seems it would make sense to try to reimplement runtime price retrieval to the calculation of instance prices on Karpenter provider side (this project).
Also rewriting initial prices to use the own calculation logic, if possible.
P.S. Don't forget about GPU, sustainable usage discount, disks in calculation, custom machine types