@@ -130,7 +130,7 @@ Evidenced by the following pod error message `No valid prometheus config file at
130130
131131```
132132kubectl exec -i -t --namespace kubecost \
133- deployment/kubecost-cost-analyzer -c cost-analyzer-frontend -- \
133+ deployment/kubecost-cost-analyzer -c cost-model -- \
134134 curl http://<your_prometheus_url>/api/v1/status/config
135135```
136136
@@ -148,7 +148,7 @@ When successful, this command should return all of the metrics that Kubecost use
148148
149149```
150150kubectl exec -i -t --namespace kubecost \
151- deployment/kubecost-cost-analyzer -c cost-analyzer-frontend -- \
151+ deployment/kubecost-cost-analyzer -c cost-model -- \
152152 curl "http://<your_prometheus_url>/metrics"
153153```
154154
@@ -178,15 +178,15 @@ Ensure results are not null for both queries below.
178178
179179```
180180kubectl exec -i -t --namespace kubecost \
181- deployment/kubecost-cost-analyzer -c cost-analyzer-frontend -- \
181+ deployment/kubecost-cost-analyzer -c cost-model -- \
182182 curl "http://localhost:9003/prometheusQuery?query=node_total_hourly_cost "
183183```
184184
1851852. Ensure kube-state-metrics are available: `kube_node_status_capacity`
186186
187187```
188188kubectl exec -i -t --namespace kubecost \
189- deployment/kubecost-cost-analyzer -c cost-analyzer-frontend -- \
189+ deployment/kubecost-cost-analyzer -c cost-model -- \
190190 curl "http://localhost:9003/prometheusQuery?query=kube_node_status_capacity "
191191```
192192
@@ -213,7 +213,7 @@ Ensure that all clusters and nodes have values- output should be similar to the
213213{% code overflow="wrap" %}
214214```
215215kubectl exec -i -t --namespace kubecost \
216- deployment/kubecost-cost-analyzer -c cost-analyzer-frontend -- \
216+ deployment/kubecost-cost-analyzer -c cost-model -- \
217217 curl -G http://localhost:9003/thanosQuery \
218218 -d time=`date -d '1 day ago' "+%Y-%m-%dT%H:%M:%SZ"` \
219219 --data-urlencode "query=avg (sum_over_time(node_total_hourly_cost[1d])) by (cluster_id, node)" \
@@ -230,7 +230,7 @@ On macOS, change `date -d '1 day ago'` to `date -v '-1d'`
230230{% code overflow="wrap" %}
231231```
232232kubectl exec -i -t --namespace kubecost \
233- deployment/kubecost-cost-analyzer -c cost-analyzer-frontend -- \
233+ deployment/kubecost-cost-analyzer -c cost-model -- \
234234 curl -G http://localhost:9003/thanosQuery \
235235 -d time=`date -d '1 day ago' "+%Y-%m-%dT%H:%M:%SZ"` \
236236 --data-urlencode "query=avg (sum_over_time(kube_node_status_capacity[1d])) by (cluster_id, node)" \
0 commit comments