Skip to content

Commit

Permalink
feat: Never restart session containers
Browse files Browse the repository at this point in the history
Failing session containers can result in restart loop until the garbage
cleaner terminates the session after 90 minutes.
Most of the failing containers do fail after restarts again and produce
unnecessary costs.

In the rare cases of one-time failures, the session can be created again
in the frontend / via the API.
  • Loading branch information
MoritzWeber0 committed May 29, 2024
1 parent 243c60a commit b003fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/capellacollab/sessions/operators/k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def _create_deployment(
)
],
volumes=k8s_volumes,
restart_policy="Always",
restart_policy="Never",
),
),
),
Expand Down

0 comments on commit b003fc5

Please sign in to comment.