-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
アクセスのない Runtime App を自動で落とせるようにする #965
Conversation
The runtime apps which are shuted down by sablier and have 0 replicas are marked as "idle".
add - 'auto_shutdown' column to `application_config` table - new container status 'idle' to `application` table
Preview (prod backend + PR dashboard) → https://965.ns-preview.trapti.tech/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docker backendの実装はしないのかな?
docker backendの方もこの後実装するつもりです |
The state 'idle' was similar to 'missing' and was confusing.
3f2cde5
to
c2475b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ほぼ dashboard しか見てないけど良さそうです:+1:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
バックエンドの方も含めて見ました 良さそうです! dashboardの方がconflictしてるのでそこだけサッと直してもらえると:pray:
226a899
to
5568226
Compare
なぜやるか
ref #961
今のところ k8s にのみ対応。dockerはまだなので、別PRで実装します。
やったこと
.local-manifest
でmake up
すると動作確認できます。やらなかったこと
backend が docker の方は実装がまだです。
資料