From 69883a4bd235ae078e4ee45546cc52e4d668bd63 Mon Sep 17 00:00:00 2001 From: Dixita Narang Date: Tue, 24 Oct 2023 00:33:46 +0000 Subject: [PATCH] Adding price info for c3d (Price for preemptible instances is calculated as: (Spot price / On-demand price) * instance prices) --- .../cloudprovider/gce/gce_price_info.go | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/cluster-autoscaler/cloudprovider/gce/gce_price_info.go b/cluster-autoscaler/cloudprovider/gce/gce_price_info.go index 11a147b99a23..5763c7cb02cc 100644 --- a/cluster-autoscaler/cloudprovider/gce/gce_price_info.go +++ b/cluster-autoscaler/cloudprovider/gce/gce_price_info.go @@ -74,6 +74,7 @@ var ( "c2": 0.03398, "c2d": 0.029563, "c3": 0.03398, + "c3d": 0.02956, "e2": 0.021811, "m1": 0.0348, "n1": 0.031611, @@ -87,6 +88,7 @@ var ( "c2": 0.00455, "c2d": 0.003959, "c3": 0.00456, + "c3d": 0.003956, "e2": 0.002923, "m1": 0.0051, "n1": 0.004237, @@ -100,6 +102,7 @@ var ( "c2": 0.00822 / 0.03398, "c2d": 0.007154 / 0.029563, "c3": 0.003086 / 0.03398, + "c3d": 0.011825 / 0.02956, "e2": 0.006543 / 0.021811, "m1": 0.00733 / 0.0348, "n1": 0.006655 / 0.031611, @@ -192,6 +195,30 @@ var ( "c3-highcpu-44": 1.8964, "c3-highcpu-88": 3.7928, "c3-highcpu-176": 7.5856, + "c3d-standard-4": 0.1816, + "c3d-standard-8": 0.3632, + "c3d-standard-16": 0.7264, + "c3d-standard-30": 1.362, + "c3d-standard-60": 2.724, + "c3d-standard-90": 4.086, + "c3d-standard-180": 8.172, + "c3d-standard-360": 16.344, + "c3d-highmem-4": 0.24496, + "c3d-highmem-8": 0.48992, + "c3d-highmem-16": 0.97984, + "c3d-highmem-30": 1.8372, + "c3d-highmem-60": 3.6744, + "c3d-highmem-90": 5.5116, + "c3d-highmem-180": 11.0232, + "c3d-highmem-360": 22.0464, + "c3d-highcpu-4": 0.14992, + "c3d-highcpu-8": 0.29984, + "c3d-highcpu-16": 0.59968, + "c3d-highcpu-30": 1.1244, + "c3d-highcpu-60": 2.2488, + "c3d-highcpu-90": 3.3732, + "c3d-highcpu-180": 6.7464, + "c3d-highcpu-360": 13.4928, "e2-highcpu-2": 0.04947, "e2-highcpu-4": 0.09894, "e2-highcpu-8": 0.19788,