@@ -880,13 +880,27 @@ data:
880
880
proxy_set_header X-Real-IP $remote_addr;
881
881
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
882
882
}
883
- location = /model/debug/orchestrator {
884
- proxy_read_timeout {{ .Values.kubecostFrontend.timeoutSeconds | default 300 }};
885
- proxy_pass http://aggregator/debug/orchestrator;
886
- proxy_redirect off;
887
- proxy_set_header Connection "";
888
- proxy_set_header X-Real-IP $remote_addr;
889
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
883
+ location /model/debug/orchestrator {
884
+ default_type 'application/json';
885
+ add_header 'Access-Control-Allow-Origin' '*' always;
886
+ add_header 'Access-Control-Allow-Methods' 'GET, PUT, POST, DELETE, OPTIONS' always;
887
+ return 200 '{
888
+ \"fsmCurrent\" : \"ingesting\",
889
+ \"dbReadMemLimit\" : \"\",
890
+ \"readDBPath\" : \"/var/configs/waterfowl/duckdb/v0_10_3/kubecost-1718644669.duckdb.read\",
891
+ \"writeDBPath\" : \"/var/configs/waterfowl/duckdb/v0_10_3/kubecost.duckdb.write\",
892
+ \"dbCopyFilePath\" : \"/var/configs/waterfowl/duckdb/v0_10_3/kubecost.duckdb.copy\",
893
+ \"currentBucketRefreshInterval\" : \"7m30s\",
894
+ \"bootCyclesCompleted\" : 4,
895
+ \"initialCompletionPercentage\" : 0,
896
+ \"initialSetupStage\" : 1,
897
+ \"initialSetupLabel\" : \"stable\",
898
+ \"ingestedDurationHours\" : 0,
899
+ \"ingestedGiB\" : 0,
900
+ \"ingestedGiBPerHour\" : 0,
901
+ \"pendingGiB\" : 0,
902
+ \"estimatedIngestionHoursRemaining\" : 0
903
+ }';
890
904
}
891
905
location = /model/prediction/speccost {
892
906
proxy_read_timeout {{ .Values.kubecostFrontend.timeoutSeconds | default 300 }};
0 commit comments