Skip to content

Commit

Permalink
Adding price info for c3d
Browse files Browse the repository at this point in the history
(Price for preemptible instances is calculated as: (Spot price / On-demand price) * instance prices)
  • Loading branch information
ndixita committed Oct 24, 2023
1 parent 8c35e0a commit 69883a4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions cluster-autoscaler/cloudprovider/gce/gce_price_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 69883a4

Please sign in to comment.