Skip to content

Commit f15c3b1

Browse files
Add custom pricing information for n4d instance type
1 parent 9e8ebb9 commit f15c3b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cluster-autoscaler/cloudprovider/gce/gce_price_info.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,18 +130,21 @@ var (
130130
"n1": 0.033174,
131131
"n2": 0.033174,
132132
"n2d": 0.028877,
133+
"n4d": 0.0342069,
133134
}
134135
customMemoryPricePerHourPerGb = map[string]float64{
135136
"e2": 0.003067,
136137
"n1": 0.004446,
137138
"n2": 0.004446,
138139
"n2d": 0.003870,
140+
"n4d": 0.0038871,
139141
}
140142
customPreemptibleDiscount = map[string]float64{
141143
"e2": 0.006867 / 0.022890,
142144
"n1": 0.00698 / 0.033174,
143145
"n2": 0.00802 / 0.033174,
144146
"n2d": 0.002908 / 0.028877,
147+
"n4d": 0.0130312 / 0.0342069,
145148
}
146149

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

0 commit comments

Comments
 (0)