Saltar al contenido
Skillpedia
Deploy y nube (DevOps)17 mil · #10778

kubesphere-network-extension-operations

Qué hace

Esta skill ayuda a un agente de IA a gestionar la extensión de red de un clúster de KubeSphere. Está pensada para operadores que gestionan pools de IP, políticas de red y aislamiento entre espacios de trabajo o proyectos.

Cuándo usarla

  • ✓Cuando quieres instalar, actualizar, activar o desactivar la extensión de red.
  • ✓Cuando necesitas crear o revisar pools de IP de Calico y cómo se asocian a los espacios de nombres.
  • ✓Cuando necesitas configurar el aislamiento de red para un clúster, un espacio de trabajo o un proyecto.

Link de la skill

https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-network-extension-operations/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-network-extension-operations/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Puedes revisar el estado de la extensión de red y listar los pools de IP de Calico asociados a nuestro espacio de nombres de pruebas?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente lee el estado real del clúster con kubectl y las notas de referencia incluidas. Después ajusta los ajustes de instalación o las asociaciones de pools de IP, y lee el objeto antes de cualquier cambio.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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 network extension
  • Edit InstallPlan.spec.config for IPPool or NetworkPolicy feature toggles
  • Verify packaging details such as version, images, dependencies, or installation mode
  • Manage Calico IPPool resources, namespace bindings, occupancy, and migration flows
  • Manage cluster, workspace, or project network isolation behavior
  • Create, inspect, or troubleshoot Kubernetes NetworkPolicy and namespace-level network isolation policies

Do Not Use

  • Manage unrelated extensions
  • Assume deprecated network.kubesphere.io IPPool 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:

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.enable
    • global.ippool.webhook
    • global.networkPolicy.enable

Workflow

  1. Read the matching bundled references for the request.
  2. Inspect the current live extension, InstallPlan, and relevant cluster resources.
  3. Apply the smallest change that satisfies the request.
  4. Re-read the changed resources and verify the post-change state.

Preflight Checks

  • kubectl must 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.name and spec.extension.name both equal to network.
  • Use upgradeStrategy: Manual.
  • Add clusterScheduling only when the user explicitly needs agent placement in member clusters.
  • Omit spec.config unless 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
Preguntas frecuentes

¿Qué backend de pools de IP es compatible?

La skill dice que la extensión solo admite Calico para los pools de IP por ahora.

¿El agente cambiará las asociaciones sin comprobarlas?

No. La skill dice que hay que leer el objeto actual en vivo antes de modificar los metadatos de espacios de trabajo, espacios de nombres o pools.

¿Puede configurar políticas de red?

Sí. Cubre la creación y revisión de políticas de red de Kubernetes y el aislamiento de espacios de nombres.

Detalles

Descripción original del 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

Popularidad

Estrellas en GitHub
17 mil
Posición en el ranking
#10778
Licencia
—
Actualizada
14/7/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas