Skip to content

Commit

Permalink
Merge pull request #4420 from towca/jtuznik/c2d
Browse files Browse the repository at this point in the history
Cluster Autoscaler: GCE: add pricing info for C2D
  • Loading branch information
k8s-ci-robot authored Oct 26, 2021
2 parents 91d33af + 2334ec5 commit f662bdf
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions cluster-autoscaler/cloudprovider/gce/gce_price_model.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ var (
predefinedCpuPricePerHour = map[string]float64{
"a2": 0.031611,
"c2": 0.03398,
"c2d": 0.029563,
"e2": 0.021811,
"m1": 0.0348,
"n1": 0.031611,
Expand All @@ -57,6 +58,7 @@ var (
predefinedMemoryPricePerHourPerGb = map[string]float64{
"a2": 0.004237,
"c2": 0.00455,
"c2d": 0.003959,
"e2": 0.002923,
"m1": 0.0051,
"n1": 0.004237,
Expand All @@ -67,6 +69,7 @@ var (
predefinedPreemptibleDiscount = map[string]float64{
"a2": 0.009483 / 0.031611,
"c2": 0.00822 / 0.03398,
"c2d": 0.007154 / 0.029563,
"e2": 0.006543 / 0.021811,
"m1": 0.00733 / 0.0348,
"n1": 0.006655 / 0.031611,
Expand Down Expand Up @@ -109,6 +112,27 @@ var (
"c2-standard-16": 0.8352,
"c2-standard-30": 1.5660,
"c2-standard-60": 3.1321,
"c2d-highcpu-2": 0.0750,
"c2d-highcpu-4": 0.1499,
"c2d-highcpu-8": 0.2998,
"c2d-highcpu-16": 0.5997,
"c2d-highcpu-32": 1.1994,
"c2d-highcpu-56": 2.0989,
"c2d-highcpu-112": 4.1979,
"c2d-highmem-2": 0.1225,
"c2d-highmem-4": 0.2449,
"c2d-highmem-8": 0.4899,
"c2d-highmem-16": 0.9798,
"c2d-highmem-32": 1.9595,
"c2d-highmem-56": 3.4292,
"c2d-highmem-112": 6.8583,
"c2d-standard-2": 0.0908,
"c2d-standard-4": 0.1816,
"c2d-standard-8": 0.3632,
"c2d-standard-16": 0.7264,
"c2d-standard-32": 1.4528,
"c2d-standard-56": 2.5423,
"c2d-standard-112": 5.0847,
"e2-highcpu-2": 0.04947,
"e2-highcpu-4": 0.09894,
"e2-highcpu-8": 0.19788,
Expand Down Expand Up @@ -237,6 +261,27 @@ var (
"c2-standard-16": 0.2021,
"c2-standard-30": 0.3790,
"c2-standard-60": 0.7579,
"c2d-highcpu-2": 0.0181,
"c2d-highcpu-4": 0.0363,
"c2d-highcpu-8": 0.0726,
"c2d-highcpu-16": 0.1451,
"c2d-highcpu-32": 0.2902,
"c2d-highcpu-56": 0.5079,
"c2d-highcpu-112": 1.0158,
"c2d-highmem-2": 0.0296,
"c2d-highmem-4": 0.0593,
"c2d-highmem-8": 0.1185,
"c2d-highmem-16": 0.2371,
"c2d-highmem-32": 0.4742,
"c2d-highmem-56": 0.8298,
"c2d-highmem-112": 1.6596,
"c2d-standard-2": 0.0220,
"c2d-standard-4": 0.0439,
"c2d-standard-8": 0.0879,
"c2d-standard-16": 0.1758,
"c2d-standard-32": 0.3516,
"c2d-standard-56": 0.6152,
"c2d-standard-112": 1.2304,
"e2-highcpu-2": 0.01484,
"e2-highcpu-4": 0.02968,
"e2-highcpu-8": 0.05936,
Expand Down

0 comments on commit f662bdf

Please sign in to comment.