Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

eve-deploy-debugging前夕部署调试

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

5,841

周安装

234

GitHub Stars

公开资料未说明

下载量

1,891
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:eve-deploy-debugging(前夕部署调试)
来源仓库:https://github.com/incept5/eve-skillpacks
仓库路径:skills/eve-deploy-debugging
安装命令:
npx skills add https://github.com/incept5/eve-skillpacks --skill eve-deploy-debugging
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/incept5/eve-skillpacks --skill eve-deploy-debugging

简介

eve-deploy-debugging 提供部署流程和基础设施变更的指导,用于快速诊断应用问题。

  • 适用于环境设置、资源部署和容器化服务管理,强调通过 Terraform 进行基础设施变更。
  • 所有部署应使用 Eve CLI 工具链,避免直接操作 Kubernetes 资源。
  • 涉及删除或修改网络配置时需提前评估影响范围,区分测试与生产环境操作。
  • 建议结合平台文档确认区域、账号权限和资源命名规范。

SKILL.md

Eve Deploy and Debug

Use these steps to deploy and diagnose app issues quickly.

Environment Setup

  • Get the staging API URL from your admin.
  • Create and use a profile:
eve profile create staging --api-url https://api.eh1.incept5.dev
eve profile use staging

Infrastructure Change Policy

Never run kubectl apply, helm install, or any direct Kubernetes resource creation against shared infrastructure. All infrastructure changes go through Terraform. Use the Eve CLI (eve env, eve env deploy) to manage application deployments — the platform handles the underlying k8s resources.

Deploy Flow (Staging)

# Create env if needed
eve env create staging --project proj_xxx --type persistent

# Deploy (requires --ref with 40-char SHA or a ref resolved against --repo-dir)
eve env deploy staging --ref main --repo-dir .

# When environment has a pipeline configured, the above triggers the pipeline.
# Use --direct to bypass pipeline and deploy directly:
eve env deploy staging --ref main --repo-dir . --direct

# Pass inputs to pipeline:
eve env deploy staging --ref main --repo-dir . --inputs '{"key":"value"}'

Deploy Polling Flow

When eve env deploy is called:

  1. Direct deploy (no pipeline): Returns deployment_status directly. Poll health endpoint until ready === true.
  2. Pipeline deploy: Returns pipeline_run_id. Poll GET /pipelines/{name}/runs/{id} until all steps complete, then check health.

Deploy is complete when: ready === true AND active_pipeline_run === null.

Observe the Deploy

eve job list --phase active
eve job follow <job-id>              # Real-time SSE streaming
eve job watch <job-id>               # Poll-based status updates
eve job diagnose <job-id>            # Full diagnostic
eve job result <job-id>              # Final result
eve job runner-logs <job-id>         # Raw worker logs

Real-Time Debugging (3-Terminal Approach)

# Terminal 1: Pipeline/job progress
eve job follow <job-id>

# Terminal 2: Environment health
eve env diagnose <project> <env>

# Terminal 3: System-level logs
eve system logs

Debugging Workflows

Job Won't Start

  1. Check dependencies: eve job dep list <job-id>
  2. Check if blocked: eve job show <job-id> → look at blocked_by
  3. Verify environment readiness: eve env show <project> <env>
  4. Check orchestrator: eve system orchestrator status

Job Failed

  1. Get the error: eve job diagnose <job-id>
  2. Check logs: eve job follow <job-id> or eve job runner-logs <job-id>
  3. If build failure: eve build diagnose <build-id>
  4. If secret failure: eve secrets list --project <project_id>

Job Stuck Active

  1. Check if waiting for input: eve job show <job-id>effective_phase
  2. Check thread messages: eve thread messages <thread-id>
  3. Check runner pod: eve system pods

System Issues

  1. API health: eve system health
  2. Orchestrator: eve system orchestrator status
  3. Recent events: eve system events

Common Error Messages

ErrorCauseFix
401 UnauthorizedToken expiredeve auth login
git clone failedMissing credentialsSet github_token or ssh_key secret
service not provisionedEnvironment not createdeve env create <env>
image pull backoffRegistry auth failedIf using BYO/custom registry, verify REGISTRY_USERNAME + REGISTRY_PASSWORD; for managed apps use registry: "eve"
healthcheck timeoutApp not startingCheck app logs, verify ports in manifest

Build Failures

If a deploy pipeline fails at the build step:

eve build list --project <project_id>
eve build diagnose <build_id>
eve build logs <build_id>
eve secrets list --project <project_id>     # Required for BYO/custom registry: REGISTRY_USERNAME, REGISTRY_PASSWORD

Common build failures:

  • Registry auth: For BYO/custom registry, verify REGISTRY_USERNAME and REGISTRY_PASSWORD secrets
  • Dockerfile not found: Check build.context path in manifest
  • Multi-stage build failure: BuildKit handles these correctly; Kaniko may have issues
  • Workspace errors: Build context not available — check eve build diagnose

Worker Image Registry

Eve publishes worker images to the configured private registry with these variants:

VariantContents
baseNode.js, git, standard CLI tools
pythonBase + Python runtime
rustBase + Rust toolchain
javaBase + JDK
kotlinBase + Kotlin compiler
fullAll runtimes combined

Version pinning: Use semver tags (e.g., v1.2.3) in production. Use SHA tags or :latest in development.

Platform Environment Variables

Eve automatically injects these into every deployed service container:

VariablePurpose
EVE_API_URLInternal cluster URL for server-to-server calls
EVE_PUBLIC_API_URLPublic ingress URL for browser-facing apps (when configured)
EVE_SSO_URLSSO broker URL for user authentication (when configured)
EVE_PROJECT_IDCurrent project ID
EVE_ORG_IDCurrent organization ID
EVE_ENV_NAMECurrent environment name

Use EVE_API_URL for backend calls. Use EVE_PUBLIC_API_URL for browser/client-side code. Services can override any of these by defining them explicitly in their manifest environment section.

Access URLs

  • URL pattern: {service}.{orgSlug}-{projectSlug}-{env}.{domain}
  • Local dev default domain: lvh.me
  • Ask the admin for the correct domain (staging vs production).

Environment-Specific Debugging

EnvironmentHow to Debug
Local (k3d)Direct service access via ingress, eve system logs
Docker Composedocker compose logs <service>, dev-only (no production use)
KubernetesIngress-based access, kubectl -n eve logs as last resort

Private Endpoints (Tailscale)

Connect services on private networks (home lab GPUs, internal APIs, dev machines) to the Eve cluster. The platform creates K8s ExternalName services backed by Tailscale egress proxies.

# Register a private endpoint
eve endpoint add \
  --name lmstudio \
  --provider tailscale \
  --tailscale-hostname mac-mini.tail12345.ts.net \
  --port 1234 \
  --org org_xxx

# List and inspect
eve endpoint list --org org_xxx
eve endpoint show lmstudio --org org_xxx

# Diagnose connectivity
eve endpoint diagnose lmstudio

# Remove
eve endpoint remove lmstudio --org org_xxx

Each endpoint gets a stable in-cluster DNS name: http://{orgSlug}-{name}.eve-tunnels.svc.cluster.local:{port}. Wire it into apps/agents via secrets:

eve secrets set LLM_BASE_URL \
  "http://myorg-lmstudio.eve-tunnels.svc.cluster.local:1234/v1" \
  --scope project

Diagnostics check: operator status, K8s service existence, DNS resolution, TCP connectivity, and HTTP health.

Worker Toolchain-on-Demand

The default worker image is base (~800MB with Node.js, git, and all harnesses). Toolchains (Python, Rust, Java, Kotlin, media) are injected on-demand via init containers rather than bundled in a fat image.

Deployment impact: If an agent job needs toolchains, the runner pod starts init containers that copy toolchain binaries from small pre-built images. First pull adds ~5-10s; subsequent jobs on the same node use cached images.

Debugging toolchain issues:

# Check if toolchains are declared in agent config
# agents.yaml: toolchains: [python]

# If a toolchain binary is missing at runtime:
# 1. Verify agent config has the toolchain declared
# 2. Check init container logs on the runner pod
# 3. Verify toolchain images are available in the registry

To use the full image (all toolchains bundled): set EVE_WORKER_VARIANT=full or use --variant full locally.

App Undeploy/Delete Lifecycle

Remove environments and clean up resources:

# Undeploy services from an environment (stops pods, keeps env record)
eve env undeploy <project> <env>

# Delete the environment entirely (removes env record, managed DB, secrets)
eve env delete <project> <env>

When a managed DB is attached, eve env delete deprovisions it. Secrets scoped to the environment are cleaned up. The environment's pipeline history remains in the audit log.

For app-level cleanup, remove the project:

eve project delete <project-id>

This cascades: environments, secrets, pipeline history, and build artifacts are removed.

Workspace Janitor

Production disk management for agent workspaces:

  • EVE_WORKSPACE_MAX_GB — total workspace budget
  • EVE_WORKSPACE_MIN_FREE_GB — trigger cleanup threshold
  • EVE_SESSION_TTL_HOURS — auto-evict stale sessions
  • LRU eviction when approaching budget; TTL cleanup for idle sessions
  • K8s: per-attempt PVCs deleted on completion

Related Skills

  • Local dev loop: eve-local-dev-loop
  • Secrets: eve-auth-and-secrets
  • Manifest changes: eve-manifest-authoring

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.12%
按下载量换算664

Claude

28.28%
按下载量换算535

Cursor

17.98%
按下载量换算340

Gemini CLI

10.55%
按下载量换算200

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills