Skip to content

Instantly share code, notes, and snippets.

@h4ckm03d
Created October 3, 2022 08:33
Show Gist options
  • Save h4ckm03d/99ac43583d0dd390abd8125dd07066ca to your computer and use it in GitHub Desktop.
Save h4ckm03d/99ac43583d0dd390abd8125dd07066ca to your computer and use it in GitHub Desktop.
Issue list

-> Graceful shutdown qore console

Background

Qore console is doing everything related to deployment and long process tasks in the background. The problem is when qore console still doing something in the background then the pods service got a termination signal or SIGTERM, it should wait for processing till done. Currently, it will shut down immediately after getting SIGTERM

Proposal

Add graceful shutdown to prevent immediate pod termination if any long process still occurs. List waiting process:

  • Clone the environment before applying deploy

  • Migration to a new environment

  • To be added more if any long process that must include.

  • Deployment should not included because the process is idempotent

  • If too many long processes we need to move long processing into cronjob.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment