- Updated service template structure in `ARCHITECTURE.md` and `README.md` for clarity and usability. - Enhanced bilingual documentation across skills, increasing the number of available skills from 15 to 25. - Added new sections on event-driven architecture, inter-service communication, and performance optimization. - Improved formatting and removed outdated references to streamline the documentation experience.
1.8 KiB
CI/CD Patterns Nâng Cao (CI/CD Advanced Patterns)
Advanced CI/CD patterns for GoodGo microservices including blue-green deployments, canary releases, automated rollback, deployment verification, and progressive delivery.
Các patterns CI/CD nâng cao cho GoodGo microservices bao gồm blue-green deployments, canary releases, automated rollback, deployment verification, và progressive delivery.
Tổng Quan
Advanced CI/CD patterns enable safe, zero-downtime deployments with blue-green, canary releases, automated rollbacks, and deployment verification.
Các patterns CI/CD nâng cao cho phép deployments an toàn, zero-downtime với blue-green, canary releases, automated rollbacks, và deployment verification.
Khi Nào Sử Dụng
Use this skill when implementing advanced deployment strategies, automated rollbacks, or progressive delivery.
Sử dụng skill này khi implement các chiến lược deployment nâng cao, automated rollbacks, hoặc progressive delivery.
Các Patterns Chính
Blue-Green Deployment / Blue-Green Deployment
# EN: Switch between blue and green environments
# VI: Chuyển đổi giữa blue và green environments
spec:
selector:
version: blue # EN: Switch to green / VI: Chuyển sang green
Canary Deployment / Canary Deployment
# EN: Gradual rollout to subset of users
# VI: Rollout dần dần tới subset users
route:
- destination: { subset: canary }
weight: 10 # EN: 10% traffic / VI: 10% traffic
Best Practices / Thực Hành Tốt
- Use blue-green for zero-downtime / Sử dụng blue-green cho zero-downtime
- Use canary for gradual rollouts / Sử dụng canary cho rollouts dần dần
- Always have rollback plan / Luôn có kế hoạch rollback
Tài Nguyên
- Skill Source:
.cursor/skills/cicd-advanced-patterns/SKILL.md