首页/ AI 技能 / @skilllib/skill-2117939930272410745
Skill站外收录 @skilllib/skill-2117939930272410745

genkit-infra-expert

负责将 Genkit 应用部署至生产环境,支持 Firebase Functions、Cloud Run 和 GKE 三种托管方式,自动配置远程状态、密钥管理、监控看板及 CI CD 流水线,确保 AI 工作流安全、可观测且具备弹性伸缩能力。

0.0 (0) 21 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# Genkit Infra Expert ## Overview Deploy Genkit applications to production with Terraform (Firebase Functions, Cloud Run, or GKE) with secure secrets handling and observability. Use this skill to choose a target, generate the Terraform baseline, wire up Secret Manager, and provide a validation checklist for your Genkit flows. ## Prerequisites Before using this skill, ensure: - Google Cloud project with Firebase enabled - Terraform 1.0+ installed - gcloud and firebase CLI authenticated - Genkit application built and containerized - API keys for Gemini or other AI models - Understanding of Genkit flows and deployment options ## Instructions 1. **Choose Deployment Target**: Firebase Functions, Cloud Run, or GKE 2. **Configure Terraform Backend**: Set up remote state in GCS 3. **Define Variables**: Project ID, region, Genkit app configuration 4. **Provision Compute**: Deploy functions or containers 5. **Configure Secrets**: Store API keys in Secret Manager 6. **Set Up Monitoring**: Create dashboards for token usage and latency 7. **Enable Auto-scaling**: Configure min/max instances 8. **Validate Deployment**: Test Genkit flows via HTTP endpoints ## Output ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - Genkit Deployment: https://genkit.dev/docs/deployment - Firebase Terraform: https://registry.terraform.io/providers/hashicorp/google/latest - Genkit examples in {baseDir}/genkit-examples/

评论 0

还没有评论,来抢沙发。