Skip to content
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

Complete maestro staging/production standalone deployment #468

Open
9 tasks
nuclearcat opened this issue Oct 16, 2024 · 0 comments
Open
9 tasks

Complete maestro staging/production standalone deployment #468

nuclearcat opened this issue Oct 16, 2024 · 0 comments
Labels

Comments

@nuclearcat
Copy link
Member

nuclearcat commented Oct 16, 2024

Since a while we have half-completed production/staging deployment for maestro.
We need to complete it, make run by assigned team without sysadmin assistance, and transparent for the rest of the team.

Problem

We have a half-completed production/staging deployment for maestro. We need to complete it, make run by assigned team without sysadmin assistance, and transparent for the rest of the team.

Solution

1. Staging deployment process

The first step is to define the deployment process. This process should include the following steps:

  • Create a staging snapshot of source code (merge pending PR, create a new branch, etc.)
  • Build and push staging docker images (compiler, runtime images for api, pipeline, lava-callback etc)
  • Deploy staging docker images to staging environment (docker-compose setup)
  • Run tests on staging environment

2. Production deployment process

Same as above, except step 1 doesn't need merging PRs.
Additional step 0:

  • Create full/incremental backups according to the backup policy

3. Production rollback process

  • Design a rollback process in case of failure

4. Monitoring

  • Setup monitoring for the staging and production environment (API endpoints, CPU, memory, each subsystem feedback, etc.)

5. Logging

  • Setup logging for the production environment (k8s)

6. Documentation

  • Document the deployment process, rollback process, monitoring, and logging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant