Skip to content
Agentmart
Submit a tool

deploy-k8s

Kubernetes 部署配置生成

Skill by chengxuniucode

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/chengxuniucode-deploy-k8s

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Kubernetes 部署配置生成

Use cases: devops

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/deploy-k8s

What's inside

Skill name
deploy-k8s
Description
Kubernetes 部署配置生成
License
MIT
Instructions
65 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: "deploy-k8s" does not match folder "k8s"

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Deploy K8s Skill

## 目标

为项目生成生产级 Kubernetes 部署配置,包括多阶段 Docker 构建、K8s 资源清单和可选的 Helm Chart。

## 执行步骤

### Step 1: 检测项目构建方式

根据 project-map.md 确定:
- 语言和运行时版本
- 构建命令和产物路径
- 运行时依赖
- 暴露端口

### Step 2: 生成 Dockerfile

多阶段构建,最小化镜像:
- Build stage: 编译/打包
- Runtime stage: 只包含运行时依赖
- 非 root 用户运行
- 健康检查指令

### Step 3: 生成 K8s Manifests

```
k8s/
├── deployment.yaml
├── service.yaml
├── ingress.yaml
├── configmap.yaml
├── hpa.yaml
└── kustomization.yaml
```

### Step 4: 生成 Helm Chart(可选)

如果 config 中启用:
```
chart/
├── Chart.yaml
├── values.yaml
├── templates/
│   ├── deployment.yaml
│   ├── service.yaml
│   ├── ingress.yaml
│   └── hpa.yaml
└── .helmignore
```

### Step 5: 配置 CI/CD Pipeline

根据平台生成:
- GitHub Actions workflow
- GitLab CI pipeline
- 包含 build → push → deploy 阶段

### Step 6: 验证

- Dockerfile 可构建
- K8s manifests 语法正确(kubectl --dry-run)
- Helm chart lint 通过(如适用)

From chengxuniucode/ForgeTeam, MIT.

More from chengxuniucode/ForgeTeam

Signals

Stars
2
Forks
1
Open issues
0
Last commit (this folder)
May 24, 2026 (5 months ago)
Last release
Aug 5, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from chengxuniucode

Cite this page

deploy-k8s skill. Agent Mart. https://agentmart.dev/skills/chengxuniucode-deploy-k8s (last updated 2026-10-24)