Skip to content

Commit

Permalink
Merge pull request #3687 from kubecost/cherry-pick-1c7605-v2.4
Browse files Browse the repository at this point in the history
ENG-2851 - Add `/diagnostic/nodeCount` endpoint (cherry-pick #3684)
  • Loading branch information
cliffcolvin authored Sep 26, 2024
2 parents 28b583c + 1f9355b commit 239c5fd
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,14 @@ data:
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location = /model/diagnostic/nodeCount {
proxy_read_timeout {{ .Values.kubecostFrontend.timeoutSeconds | default 300 }};
proxy_pass http://aggregator/diagnostic/nodeCount;
proxy_redirect off;
proxy_set_header Connection "";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location = /model/diagnostic/tableWindowCount {
proxy_read_timeout {{ .Values.kubecostFrontend.timeoutSeconds | default 300 }};
proxy_pass http://aggregator/diagnostic/tableWindowCount;
Expand Down

0 comments on commit 239c5fd

Please sign in to comment.