kubesphere-network-extension-operations
यह क्या करती है
यह स्किल AI एजेंट को KubeSphere क्लस्टर में network extension चलाने में मदद करती है। यह उन ऑपरेटरों के लिए है जो IP pools, network policies और workspaces या projects के बीच अलगाव प्रबंधित करते हैं।
कब इस्तेमाल करें
- ✓जब आप network extension इंस्टॉल, अपग्रेड, चालू या बंद करना चाहते हैं।
- ✓जब आपको Calico IP pools बनाने या जाँचने हों, और वे namespaces से कैसे बँधे हैं यह देखना हो।
- ✓जब आपको क्लस्टर, workspace या project के लिए network isolation सेट करना हो।
Skill का लिंक
https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-network-extension-operations/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप network extension की स्थिति जाँच सकते हैं और हमारे staging namespace से बँधे Calico IP pools की सूची दे सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट kubectl से और साथ दिए गए संदर्भ नोट्स से लाइव क्लस्टर की स्थिति पढ़ता है। फिर वह इंस्टॉल सेटिंग या IP pool बंधन को ठीक करता है, और किसी भी बदलाव से पहले वर्तमान object पढ़ता है।
तकनीकी सामग्री (मूल 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 pool backend समर्थित है?
स्किल कहती है कि extension फ़िलहाल IP pools के लिए केवल Calico समर्थित करता है।
क्या एजेंट बिना जाँचे बंधन बदलेगा?
नहीं। स्किल कहती है कि workspace, namespace या pool metadata पैच करने से पहले मौजूदा लाइव object पढ़ें।
क्या यह network policies सेट कर सकती है?
हाँ। यह Kubernetes network policies बनाने और जाँचने, और namespace isolation को कवर करती है।
जानकारी
लेखक का मूल विवरण
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
- लाइसेंस
- —
- अपडेट की गई
- 14/7/2026
कमेंट
- …
इस repository की और skills
frontend-forge-fe-operations
17kआपके एजेंट को KubeSphere में FrontendExtension संसाधनों को बनाने, प्रकाशित करने और डीबग करने में मदद करती है।
frontend-forge-fi-operations
17kआपके एजेंट को KubeSphere में FrontendIntegration संसाधन और frontend-forge extension बनाने, अपडेट करने, चालू या बंद करने और जाँचने में मदद करती है।
frontend-integration-yaml
17kआपके एजेंट को एक मेनू और उसके एक या अधिक पेजों के लिए सबमिट करने योग्य FrontendIntegration YAML बनाने में मदद करती है।
kubeeye
17kआपके एजेंट को KubeEye इंस्टॉल करने, क्लस्टर निरीक्षण नियम और योजनाएँ सेट करने, और फिर निरीक्षण रिपोर्ट पढ़ने में मदद करती है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।