openpitrix
它能做什么
这个技能帮助 AI 智能体处理 KubeSphere 中的应用商店,它使用 OpenPitrix 系统。适合添加应用仓库并管理用户安装应用的平台运维人员。
适用场景
- ✓当你想把 Helm 或 YAML 应用仓库添加到 KubeSphere 应用商店时。
- ✓当某个应用版本缺失、正在审核或安装失败时。
- ✓当已安装的应用无法升级,并且你想检查其发布版本时。
技能链接
https://github.com/kubesphere/kubesphere/blob/master/skills/openpitrix/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们新的 Helm Chart 没有显示在应用商店中。请帮我检查仓库同步情况和应用版本。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会读取应用命名空间中的仓库、应用和版本对象。它会检查标签、审核状态和发布状态,以找出 Chart 卡在哪里。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
OpenPitrix Application Management
Overview
OpenPitrix is KubeSphere's application management capability for app repositories, app templates, versions, reviews, and app releases. In KubeSphere 4.x the runtime API group is application.kubesphere.io/v2; older OpenPitrix extension code used openpitrix.io/v2 CRUD APIs and openpitrix.io/v2alpha1 read/list wrappers over application.kubesphere.io/v1alpha1 resources.
Use the v2 objects and APIs first:
| Concept | KubeSphere 4.x object | Older OpenPitrix object |
|---|---|---|
| Repository | Repo |
HelmRepo |
| App template | Application |
HelmApplication |
| App template version | ApplicationVersion |
HelmApplicationVersion |
| App release / installed app | ApplicationRelease |
HelmRelease |
| Category | Category |
HelmCategory |
Core namespace and labels:
| Item | Value |
|---|---|
| Application data namespace | extension-openpitrix |
| Repository label | application.kubesphere.io/repo-name |
| App label | application.kubesphere.io/app-id |
| App version label | application.kubesphere.io/appversion-id |
| App type label | application.kubesphere.io/app-type |
| Cluster label | kubesphere.io/cluster |
| Namespace label | kubesphere.io/namespace |
| Workspace label | kubesphere.io/workspace |
Architecture
Helm repo index or uploaded package
|
v
Repo sync / upload API
|
v
Application -> ApplicationVersion -> ApplicationRelease
|
v
Helm executor Job or YAML installer
|
v
Workloads in target cluster/namespace
Important controllers:
| Controller | Watches | Purpose |
|---|---|---|
helmrepo-controller |
Repo |
Loads Helm repository indexes, creates/deletes Application and ApplicationVersion, updates repository sync state. |
appversion-controller |
ApplicationVersion |
Cleans stored chart/YAML data after version deletion when it is no longer used. |
apprelease-helminstaller |
ApplicationRelease |
Creates, upgrades, verifies, and uninstalls app releases through Helm executor Jobs or YAML installer logic. |
appcategory-controller |
Category |
Maintains category counts and prevents deleting categories that still own apps. |
Navigation and Feature Coverage
When the user says "应用商店", first identify whether they mean the enterprise-space app management pages or the global component-dock App Store management extension. They share the same OpenPitrix/KSE v2 resources, but the intent and scope differ.
Enterprise-space application management under a workspace:
| Console area | Typical route | User intent | Main resource/API |
|---|---|---|---|
| 应用管理 / 应用 | /workspaces/{workspace}/deploy |
List, create, edit, upgrade, or delete installed apps in projects. | ApplicationRelease; /workspaces/{workspace}/applications, /namespaces/{namespace}/applications |
| 应用管理 / 自制应用 | workspace custom app area | Work with user-created/custom applications before or outside App Store publication. | Usually app template/upload flows; verify against Application and ApplicationVersion before assuming release APIs. |
| 应用管理 / 应用模板 | /workspaces/{workspace}/app-templates |
Create/upload Helm or YAML app templates, edit template metadata, submit versions for review, manage versions. | Application, ApplicationVersion; /workspaces/{workspace}/apps, /workspaces/{workspace}/apps/{app}/versions |
| 应用管理 / 应用仓库 | /workspaces/{workspace}/app-repos |
Add, sync, inspect, or delete Helm repos available to the workspace. | Repo; /workspaces/{workspace}/repos |
Component-dock App Store management:
| Console area | Typical route | User intent | Main resource/API |
|---|---|---|---|
| 组件坞 / 应用商店管理 / 应用 | /apps-manage/store |
Platform-level App Store template list, publish/unpublish, edit metadata, delete, open detail pages. | Application, ApplicationVersion; /workspaces/{workspace}/apps, /apps/{app}/action |
| 组件坞 / 应用商店管理 / 应用分类 | /apps-manage/categories |
Create, edit, delete categories and assign applications to categories. | Category; /categories, /workspaces/{workspace}/apps/{app} |
| 组件坞 / 应用商店管理 / 应用审核 | /apps-manage/reviews |
Review uploaded app versions submitted from enterprise spaces. | ApplicationVersion; /reviews, `/workspaces/{work |
常见问题
该技能检查哪些对象?
它检查仓库、应用模板、应用版本、分类和应用发布版本。
应用对象存放在哪里?
该技能说明应用数据保存在 extension-openpitrix 命名空间中。
它能处理旧的 OpenPitrix 对象吗?
可以。它会说明旧的对象名称,并优先指向新的对象。
详情
作者的原始描述
KubeSphere OpenPitrix application management Skill. Use when users ask about KubeSphere App Store, OpenPitrix, Helm/YAML application templates, application repositories, app versions, app releases, categories, review states, repository sync, or troubleshooting application installation and upgrade issues.
repo: kubesphere/kubesphere
热度
- GitHub 星标
- 17k
- 排名
- #10783
- 许可证
- —
- 更新时间
- 2026/7/14
评论
- …
同一仓库的更多技能
frontend-forge-fe-operations
17k帮你的智能体在 KubeSphere 中管理 FrontendExtension 资源,包括构建、发布和调试。
frontend-forge-fi-operations
17k帮你的智能体在 KubeSphere 中创建、更新、启用、禁用和检查 FrontendIntegration 资源及 frontend-forge 扩展。
frontend-integration-yaml
17k帮你的智能体为一个菜单及其一个或多个页面,创建可直接提交的 FrontendIntegration YAML。
kubeeye
17k帮你的智能体安装 KubeEye,设置集群巡检规则和计划,并阅读巡检报告。