Improve logging recovery, resource scaling, and app deploy logging.

Auto-reconnect Elasticsearch port-forward after cluster or API restarts, poll log status in the UI, and apply storage changes through billing upgrade for all workloads. Add Redis/RabbitMQ PVC resize, Helm ES credentials for Fluent Bit, and fix deploy progress overlay behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
keyhan
2026-05-25 21:41:00 +03:30
parent bf9e827f85
commit dc9830383b
18 changed files with 1068 additions and 414 deletions
@@ -130,3 +130,21 @@ Default log paths based on runtime
{{- else }}/var/log/app/*.log
{{- end }}
{{- end }}
{{/*
Shell start command for stdout capture (must match CloudHost-generated images).
*/}}
{{- define "cloudhost-app.runtimeStartCommand" -}}
{{- if eq .Values.app.runtime "nodejs" -}}
if [ -f /app/.mode ] && [ "$(cat /app/.mode)" = "standalone" ] && [ -f server.js ]; then node server.js; else npm start; fi
{{- else if eq .Values.app.runtime "go" -}}
./main
{{- else if eq .Values.app.runtime "dotnet" -}}
DLL=$(find . -maxdepth 1 -name '*.dll' ! -name '*.deps.dll' ! -name '*.runtimeconfig.dll' | head -1) && dotnet "$DLL"
{{- else -}}
{{- end }}
{{- end }}
{{- define "cloudhost-app.loggingWrapEnabled" -}}
{{- and .Values.elasticsearch.enabled (include "cloudhost-app.runtimeStartCommand" .) -}}
{{- end }}