kubernetes-deployment
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseKubernetes Deployment Workflow
Kubernetes 部署工作流
Overview
概述
Specialized workflow for deploying applications to Kubernetes including container orchestration, Helm charts, service mesh configuration, and production-ready K8s patterns.
这是一个将应用部署到Kubernetes的专用工作流,涵盖容器编排、Helm Charts配置、服务网格设置以及生产就绪的K8s模式。
When to Use This Workflow
何时使用此工作流
Use this workflow when:
- Deploying to Kubernetes
- Creating Helm charts
- Configuring service mesh
- Setting up K8s networking
- Implementing K8s security
在以下场景使用此工作流:
- 部署应用到Kubernetes
- 创建Helm Charts
- 配置服务网格
- 搭建K8s网络
- 实施K8s安全策略
Workflow Phases
工作流阶段
Phase 1: Container Preparation
阶段1:容器准备
Skills to Invoke
调用技能
- - Docker containerization
docker-expert - - K8s manifests
k8s-manifest-generator
- - Docker容器化
docker-expert - - K8s清单生成
k8s-manifest-generator
Actions
操作步骤
- Create Dockerfile
- Build container image
- Optimize image size
- Push to registry
- Test container
- 创建Dockerfile
- 构建容器镜像
- 优化镜像大小
- 推送至镜像仓库
- 测试容器
Copy-Paste Prompts
可复制粘贴的提示词
Use @docker-expert to containerize application for K8sUse @docker-expert to containerize application for K8sPhase 2: K8s Manifests
阶段2:K8s清单配置
Skills to Invoke
调用技能
- - Manifest generation
k8s-manifest-generator - - K8s architecture
kubernetes-architect
- - 清单生成
k8s-manifest-generator - - K8s架构设计
kubernetes-architect
Actions
操作步骤
- Create Deployment
- Configure Service
- Set up ConfigMap
- Create Secrets
- Add Ingress
- 创建Deployment资源
- 配置Service服务
- 搭建ConfigMap
- 创建Secrets
- 添加Ingress
Copy-Paste Prompts
可复制粘贴的提示词
Use @k8s-manifest-generator to create K8s manifestsUse @k8s-manifest-generator to create K8s manifestsPhase 3: Helm Chart
阶段3:Helm Chart构建
Skills to Invoke
调用技能
- - Helm charts
helm-chart-scaffolding
- - Helm Chart搭建
helm-chart-scaffolding
Actions
操作步骤
- Create chart structure
- Define values.yaml
- Add templates
- Configure dependencies
- Test chart
- 创建Chart结构
- 定义values.yaml
- 添加模板文件
- 配置依赖
- 测试Chart
Copy-Paste Prompts
可复制粘贴的提示词
Use @helm-chart-scaffolding to create Helm chartUse @helm-chart-scaffolding to create Helm chartPhase 4: Service Mesh
阶段4:服务网格配置
Skills to Invoke
调用技能
- - Istio
istio-traffic-management - - Linkerd
linkerd-patterns - - Service mesh
service-mesh-expert
- - Istio流量管理
istio-traffic-management - - Linkerd模式
linkerd-patterns - - 服务网格专家
service-mesh-expert
Actions
操作步骤
- Choose service mesh
- Install mesh
- Configure traffic management
- Set up mTLS
- Add observability
- 选择服务网格
- 安装网格组件
- 配置流量管理策略
- 搭建mTLS
- 添加可观测性
Copy-Paste Prompts
可复制粘贴的提示词
Use @istio-traffic-management to configure IstioUse @istio-traffic-management to configure IstioPhase 5: Security
阶段5:安全设置
Skills to Invoke
调用技能
- - K8s security
k8s-security-policies - - mTLS
mtls-configuration
- - K8s安全策略
k8s-security-policies - - mTLS配置
mtls-configuration
Actions
操作步骤
- Configure RBAC
- Set up NetworkPolicy
- Enable PodSecurity
- Configure secrets
- Implement mTLS
- 配置RBAC权限
- 搭建NetworkPolicy
- 启用PodSecurity
- 配置Secrets安全
- 实施mTLS
Copy-Paste Prompts
可复制粘贴的提示词
Use @k8s-security-policies to secure Kubernetes clusterUse @k8s-security-policies to secure Kubernetes clusterPhase 6: Observability
阶段6:可观测性搭建
Skills to Invoke
调用技能
- - Grafana
grafana-dashboards - - Prometheus
prometheus-configuration
- - Grafana仪表盘
grafana-dashboards - - Prometheus配置
prometheus-configuration
Actions
操作步骤
- Install monitoring stack
- Configure Prometheus
- Create Grafana dashboards
- Set up alerts
- Add distributed tracing
- 安装监控栈
- 配置Prometheus
- 创建Grafana仪表盘
- 设置告警规则
- 添加分布式追踪
Copy-Paste Prompts
可复制粘贴的提示词
Use @prometheus-configuration to set up K8s monitoringUse @prometheus-configuration to set up K8s monitoringPhase 7: Deployment
阶段7:部署实施
Skills to Invoke
调用技能
- - Deployment
deployment-engineer - - GitOps
gitops-workflow
- - 部署实施
deployment-engineer - - GitOps工作流
gitops-workflow
Actions
操作步骤
- Configure CI/CD
- Set up GitOps
- Deploy to cluster
- Verify deployment
- Monitor rollout
- 配置CI/CD流水线
- 搭建GitOps流程
- 部署至集群
- 验证部署结果
- 监控发布过程
Copy-Paste Prompts
可复制粘贴的提示词
Use @gitops-workflow to implement GitOps deploymentUse @gitops-workflow to implement GitOps deploymentQuality Gates
质量检查门
- Containers working
- Manifests valid
- Helm chart installs
- Security configured
- Monitoring active
- Deployment successful
- 容器运行正常
- 清单配置有效
- Helm Chart安装成功
- 安全策略配置完成
- 监控系统已激活
- 部署执行成功
Related Workflow Bundles
相关工作流包
- - Cloud/DevOps
cloud-devops - - Infrastructure
terraform-infrastructure - - Containers
docker-containerization
- - 云原生/DevOps
cloud-devops - - 基础设施即代码
terraform-infrastructure - - 容器化
docker-containerization