feat: 失敗セッションの調査性を改善(終了Pod保持 + ログAPI + UI)(v2.1.263-d)
セッション Pod がブート失敗で Failed になると reaper が即削除し kubectl logs で 死因を追えなかった。「開く」で 502 になるだけで原因不明だった。 - session.reaper.terminatedRetentionSeconds(既定 900): 終了済み Pod を finishedAt からこの秒数は回収しない。manager 回収ループと reaper CronJob 両方が尊重 - GET /api/sessions/<id>/log: セッション Pod のログを text で返す(pods/log get のみ、追加権限なし) - UI: 「ログ」ボタン、状態の色分け、Failed 行に reason/exitCode/message 併記、 Running 以外は「開く」非表示 - session-entrypoint.sh: URL スキームと identity 型の不一致を警告。 git clone を --progress ... 2>&1 にして git/ssh の出力を Pod ログへ - helm lint / template 検証済み
This commit is contained in:
@@ -46,6 +46,8 @@ spec:
|
||||
value: {{ .Values.session.idleTimeoutSeconds | quote }}
|
||||
- name: MAX_LIFETIME_SECONDS
|
||||
value: {{ .Values.session.maxLifetimeSeconds | quote }}
|
||||
- name: TERMINATED_RETENTION_SECONDS
|
||||
value: {{ .Values.session.reaper.terminatedRetentionSeconds | quote }}
|
||||
- name: TTYD_PORT
|
||||
value: {{ .Values.session.ttydPort | quote }}
|
||||
securityContext:
|
||||
|
||||
Reference in New Issue
Block a user