Skip to content

Commit b240be2

Browse files
committed
Update cluster up price information
(cherry picked from commit 4a690de)
1 parent f120d98 commit b240be2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/cmd/lib_cluster_config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,9 @@ func confirmInstallClusterConfig(clusterConfig *clusterconfig.Config, awsClient
226226
rows = append(rows, []interface{}{workerInstanceStr, workerPriceStr})
227227
}
228228

229-
operatorNodeGroupPrice := operatorInstancePrice + operatorEBSPrice
229+
operatorNodeGroupPrice := 2 * (operatorInstancePrice + operatorEBSPrice)
230230
prometheusNodeGroupPrice := prometheusInstancePrice + prometheusEBSPrice + metricsEBSPrice
231-
rows = append(rows, []interface{}{"1 t3.medium instance (cortex system)", s.DollarsAndTenthsOfCents(operatorNodeGroupPrice)})
231+
rows = append(rows, []interface{}{"2 t3.medium instances (cortex system)", s.DollarsAndTenthsOfCents(operatorNodeGroupPrice)})
232232
rows = append(rows, []interface{}{fmt.Sprintf("1 %s instance (prometheus)", clusterConfig.PrometheusInstanceType), s.DollarsAndTenthsOfCents(prometheusNodeGroupPrice)})
233233
rows = append(rows, []interface{}{"2 network load balancers", s.DollarsMaxPrecision(nlbPrice) + " each"})
234234

0 commit comments

Comments
 (0)