AI DevOps与CI/CD提示词:自动化流水线
菜
菜鸟博主
·
2026-07-24
·
编程与开发
CI/CD流水线
1 2 3 4 5 6 7 8 9 10
你是一位DevOps工程师。请为[技术栈]项目设计CI/CD流水线:
1. 代码检查(lint/格式化)
2. 单元测试+覆盖率
3. 构建Docker镜像
4. 安全扫描
5. 部署到[环境]
6. 回滚策略
7. 通知机制
请提供GitHub Actions / GitLab CI配置文件
Kubernetes部署
1 2 3 4 5 6 7 8
请为[应用]编写Kubernetes部署清单:
1. Deployment(含健康检查)
2. Service(ClusterIP/NodePort)
3. ConfigMap和Secret
4. HPA自动扩缩
5. PodDisruptionBudget
6. NetworkPolicy
7. Helm Chart模板
监控告警
1 2 3 4 5 6
请为[应用]设计Prometheus监控方案:
1. 关键指标定义(RED方法)
2. Grafana Dashboard JSON
3. 告警规则(P0/P1/P2)
4. Alertmanager路由配置
5. SLO定义和错误预算
English Version
1
Design a complete CI/CD pipeline for a [tech stack] application deployed on [cloud provider], including infrastructure as code, monitoring, and incident response automation.
0 条评论 欢迎参与讨论