- 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.3 KiB
1.3 KiB
name, description
| name | description |
|---|---|
| cicd-advanced-patterns | Advanced CI/CD patterns for GoodGo microservices including blue-green deployments, canary releases, automated rollback, deployment verification, and progressive delivery. |
CI/CD Advanced Patterns
When to Use This Skill
Use this skill when:
- Implementing blue-green deployments
- Setting up canary releases
- Implementing automated rollback mechanisms
- Creating deployment verification pipelines
- Implementing progressive delivery
Key Patterns
Blue-Green Deployment
# Switch service selector between blue/green
apiVersion: v1
kind: Service
spec:
selector:
version: blue # Switch to green after verification
Canary Deployment
# Split traffic between stable and canary
http:
- route:
- destination:
subset: stable
weight: 90
- destination:
subset: canary
weight: 10
Automated Rollback
# Rollback to previous revision
kubectl rollout undo deployment/service --to-revision=1
Best Practices
- Use blue-green for zero-downtime deployments
- Use canary for gradual rollouts with monitoring
- Always have automated rollback plan
- Run smoke tests immediately after deployment
Resources
- Deployment Kubernetes
- Skill Source:
.cursor/skills/cicd-advanced-patterns/SKILL.md