kubesphere-network-extension-operations
O que ela faz
Esta skill ajuda um agente de IA a operar a extensão de rede de um cluster KubeSphere. É para operadores que gerenciam pools de IP, políticas de rede e isolamento entre workspaces ou projetos.
Quando usar
- ✓Quando você quer instalar, atualizar, ativar ou desativar a extensão de rede.
- ✓Quando você precisa criar ou inspecionar pools de IP do Calico e como eles estão vinculados aos namespaces.
- ✓Quando você precisa configurar o isolamento de rede para um cluster, workspace ou projeto.
Link da skill
https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-network-extension-operations/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Você pode verificar o status da extensão de rede e listar os pools de IP do Calico vinculados ao nosso namespace de homologação?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente lê o estado atual do cluster com kubectl e as notas de referência incluídas. Depois ajusta as configurações de instalação ou os vínculos dos pools de IP, e lê o objeto antes de qualquer alteração.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Qual backend de pool de IP é aceito?
A skill diz que a extensão atualmente aceita apenas o Calico para pools de IP.
O agente muda os vínculos sem verificar?
Não. A skill diz para ler o objeto atual ativo antes de alterar os metadados de workspace, namespace ou pool.
Ele pode configurar políticas de rede?
Sim. A skill cobre a criação e a verificação de políticas de rede do Kubernetes e o isolamento de namespaces.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 17 mil
- Posição no ranking
- #10778
- Licença
- —
- Atualizada em
- 14/07/2026
Comentários
- …
Mais skills deste repositório
frontend-forge-fe-operations
17 milAjuda seu agente a gerenciar recursos FrontendExtension no KubeSphere, incluindo criar, publicar e depurar esses recursos.
frontend-forge-fi-operations
17 milAjuda seu agente a criar, atualizar, ativar, desativar e inspecionar recursos FrontendIntegration e a extensão frontend-forge no KubeSphere.
frontend-integration-yaml
17 milAjuda seu agente a criar um YAML de FrontendIntegration pronto para envio, com um menu e uma ou mais páginas.
kubeeye
17 milAjuda seu agente a instalar o KubeEye e configurar regras e planos de inspeção do cluster, depois ler os relatórios de inspeção.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.