kubesphere-network-extension-operations
できること
このスキルは、KubeSphereクラスター内のネットワーク拡張機能を運用するよう、AIエージェントを支援します。IPプール、ネットワークポリシー、ワークスペースやプロジェクト間の分離を管理する運用者向けです。
使う場面
- ✓ネットワーク拡張機能をインストール、アップグレード、有効化、または無効化したいとき。
- ✓Calico IPプールを作成または確認し、それがネームスペースにどう紐付くかを知りたいとき。
- ✓クラスター、ワークスペース、またはプロジェクトのネットワーク分離を設定する必要があるとき。
スキルのリンク
https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-network-extension-operations/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ネットワーク拡張機能の状態を確認し、ステージングのネームスペースに紐付いているCalico IPプールを一覧にしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、kubectlと同梱の参照メモを使って、クラスターの現在の状態を読みます。インストール設定やIPプールの紐付けを調整しますが、変更の前に現在のオブジェクトを読みます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
KubeSphere Network Extension Operations
Operate the network extension and its related resources with kubectl plus the bundled references in this skill. Prefer the live cluster state first, then use the copied extension references here to resolve packaging details, API shapes, and product behavior.
When to Use
- Install, upgrade, enable, disable, or inspect the
networkextension - Edit
InstallPlan.spec.configfor IPPool or NetworkPolicy feature toggles - Verify packaging details such as version, images, dependencies, or installation mode
- Manage Calico
IPPoolresources, namespace bindings, occupancy, and migration flows - Manage cluster, workspace, or project network isolation behavior
- Create, inspect, or troubleshoot Kubernetes
NetworkPolicyand namespace-level network isolation policies
Do Not Use
- Manage unrelated extensions
- Assume deprecated
network.kubesphere.ioIPPool CRDs are still the CRUD source of truth - Assume a non-Calico IPPool backend; the extension values currently support only
calico - Patch workspace, namespace, or IPPool binding metadata without reading the current live object first
Read First
Read only the references needed for the current request:
- Product behavior and upgrade caveats: references/README_zh.md
- IPPool and NetworkPolicy API flows: references/api_doc.md
- Extension defaults and feature toggles: references/values.yaml
- Packaging facts such as version, dependencies, images, and installation mode: references/extension.yaml
- Full endpoint schema details only when request or response fields matter: references/swagger.yaml
Useful rg patterns for the larger references:
rg -n "ippool|networkpol|isolate" skills/kubesphere-network-extension-operations/references/api_doc.md
rg -n "^ /(kapis|apis)/.*(ippool|networkpol)" skills/kubesphere-network-extension-operations/references/swagger.yaml
Fixed Facts
- Extension name:
network - InstallPlan name:
network - Installation mode from packaging:
Multicluster - Current packaged version in the copied reference:
1.3.0 - Supported IPPool backend in values:
global.ippool.type=calico - Main feature toggles:
global.ippool.enableglobal.ippool.webhookglobal.networkPolicy.enable
Workflow
- Read the matching bundled references for the request.
- Inspect the current live extension, InstallPlan, and relevant cluster resources.
- Apply the smallest change that satisfies the request.
- Re-read the changed resources and verify the post-change state.
Preflight Checks
kubectlmust already be configured for the target cluster.- Before any mutation, confirm the live extension state:
kubectl get extension network
kubectl get installplan network -o yaml
kubectl get extensionversion.kubesphere.io -l kubesphere.io/extension-ref=network
- Before any IPPool CRUD, confirm the Calico CRD exists:
kubectl get crd ippools.crd.projectcalico.org
- Before any network isolation mutation, inspect one live object of the same type first:
kubectl get workspace <workspace-name> -o yaml
kubectl get namespace <namespace-name> -o yaml
Extension Management
Use fixed resource names:
- extension:
network - InstallPlan:
network
When creating or updating an InstallPlan:
- Use the exact version requested by the user.
- Keep
metadata.nameandspec.extension.nameboth equal tonetwork. - Use
upgradeStrategy: Manual. - Add
clusterSchedulingonly when the user explicitly needs agent placement in member clusters. - Omit
spec.configunless the user asked for non-default settings. - On upgrade, inspect the current config first and remove or update any pinned old image tags. The bundled README warns that stale tags can block new images from being deployed.
Minimal default example:
apiVersion: kubesphere.io/v1alpha1
kind: InstallPlan
metadata:
name: network
spec:
enabled: true
extension:
name: network
version: <exact-version>
upgradeStrategy: Manual
Optional config snippet when the user asks to customize features:
config: |
global:
ippool:
enable: true
type: calico
webhook: true
networkPolicy:
enable: true
Prefer this inspection flow before install or upgrade:
kubectl get extension network -o yaml
kubectl get ext
よくある質問
どのIPプールのバックエンドに対応していますか?
このスキルは、現時点でIPプールに対応しているのはCalicoだけだと述べています。
エージェントは確認せずに紐付けを変更しますか?
いいえ。ワークスペース、ネームスペース、プールのメタデータをパッチする前に、現在の実際のオブジェクトを読むよう述べています。
ネットワークポリシーを設定できますか?
はい。Kubernetesのネットワークポリシーとネームスペースの分離の作成と確認を扱います。
詳細
作者による元の説明
Operate the KubeSphere network extension. Use when Codex needs to install, upgrade, configure, enable, disable, or inspect the `network` extension; manage Calico `IPPool` resources, namespace bindings, migrations, or network isolation flows; or consult the bundled network extension references in this skill.
repo: kubesphere/kubesphere
人気
- GitHubのスター
- 17k
- ランキング
- #10778
- ライセンス
- —
- 更新日
- 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をインストールし、クラスターの点検ルールと計画を設定して、点検レポートを読めるよう支援します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。