Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Complete maestro staging/production standalone deployment

Đang mở
#468 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
docker, docker-compose, kubernetes

Hướng nghiên cứu

Bắt đầu bằng việc xem xét thiết lập docker-compose hiện có và checklist triển khai staging. Xác định các quy trình triển khai, sao lưu, rollback, giám sát, logging và kiểm thử cho staging và production, sau đó ghi lại các quy trình đó để nhóm được phân công có thể thực hiện triển khai mà không cần sự hỗ trợ của sysadmin.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

techdebt

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
Ngôn ngữ chính
Python
Star
14
Fork
32
Merge trung bình
13 giờ 53 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của kernelci/kernelci-project

Tất cả issue của kernelci/kernelci-project

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.