Skip to content

Commit 41419b5

Browse files
authored
Merge pull request #8657 from mariafromano-25/add-n4d-pricing
add n4d pricing
2 parents 463a9cc + f15c3b1 commit 41419b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cluster-autoscaler/cloudprovider/gce/gce_price_info.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ var (
8383
"n2": 0.031611,
8484
"n2d": 0.027502,
8585
"n4": 0.030821,
86+
"n4d": 0.032578,
8687
"t2d": 0.027502,
8788
"z3": 0.0496531,
8889
}
@@ -101,6 +102,7 @@ var (
101102
"n2": 0.004237,
102103
"n2d": 0.003686,
103104
"n4": 0.004131,
105+
"n4d": 0.3,
104106
"t2d": 0.003686,
105107
"z3": 0.0066553,
106108
}
@@ -119,6 +121,7 @@ var (
119121
"n2": 0.007650 / 0.031611,
120122
"n2d": 0.002773 / 0.027502,
121123
"n4": 0.007976 / 0.030821,
124+
"n4d": 0.0130312 / 0.032578,
122125
"t2d": 0.006655 / 0.027502,
123126
"z3": 0.0165 / 0.0496531,
124127
}
@@ -127,18 +130,21 @@ var (
127130
"n1": 0.033174,
128131
"n2": 0.033174,
129132
"n2d": 0.028877,
133+
"n4d": 0.0342069,
130134
}
131135
customMemoryPricePerHourPerGb = map[string]float64{
132136
"e2": 0.003067,
133137
"n1": 0.004446,
134138
"n2": 0.004446,
135139
"n2d": 0.003870,
140+
"n4d": 0.0038871,
136141
}
137142
customPreemptibleDiscount = map[string]float64{
138143
"e2": 0.006867 / 0.022890,
139144
"n1": 0.00698 / 0.033174,
140145
"n2": 0.00802 / 0.033174,
141146
"n2d": 0.002908 / 0.028877,
147+
"n4d": 0.0130312 / 0.0342069,
142148
}
143149

144150
// e2-micro and e2-small have allocatable set too high resulting in

0 commit comments

Comments
 (0)