Skip to content

Commit

Permalink
Update cluster up price information
Browse files Browse the repository at this point in the history
(cherry picked from commit 4a690de)
  • Loading branch information
deliahu committed Aug 4, 2021
1 parent f120d98 commit b240be2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/cmd/lib_cluster_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ func confirmInstallClusterConfig(clusterConfig *clusterconfig.Config, awsClient
rows = append(rows, []interface{}{workerInstanceStr, workerPriceStr})
}

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

Expand Down

0 comments on commit b240be2

Please sign in to comment.