kubesphere-network-extension-operations
ما الذي تفعله
تساعد هذه المهارة وكيلك على تشغيل امتداد الشبكة في مجموعة KubeSphere. وهي موجهة إلى المشغلين الذين يديرون مجموعات عناوين IP وسياسات الشبكة والعزل بين مساحات العمل أو المشاريع.
متى تستخدمها
- ✓عندما تريد تثبيت امتداد الشبكة أو ترقيته أو تفعيله أو تعطيله.
- ✓عندما تحتاج إلى إنشاء مجموعات عناوين Calico أو فحصها، وكيف ترتبط بمساحات الأسماء.
- ✓عندما تحتاج إلى إعداد عزل الشبكة لمجموعة أو مساحة عمل أو مشروع.
رابط المهارة
https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-network-extension-operations/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك فحص حالة امتداد الشبكة وعرض مجموعات عناوين Calico المرتبطة بمساحة الأسماء التجريبية لدينا؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقرأ وكيلك الحالة الفعلية للمجموعة عبر kubectl والملاحظات المرجعية المرفقة. ثم يعدّل إعدادات التثبيت أو روابط مجموعات العناوين، ويقرأ الكائن أولاً قبل أي تغيير.
المحتوى التقني (ملف 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
الأسئلة الشائعة
ما الخلفية المدعومة لمجموعات العناوين؟
تنص المهارة على أن الامتداد يدعم حالياً 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
- الترخيص
- —
- آخر تحديث
- 14/7/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
frontend-forge-fe-operations
17kيساعد وكيلك على إدارة موارد FrontendExtension في KubeSphere، بما في ذلك بنائها ونشرها وتصحيح أخطائها.
frontend-forge-fi-operations
17kيساعد وكيلك على إنشاء موارد FrontendIntegration وتحديثها وتفعيلها وتعطيلها وفحصها، وكذلك امتداد frontend-forge في KubeSphere.
frontend-integration-yaml
17kيساعد وكيلك على إنشاء ملف YAML جاهز للإرسال لـ FrontendIntegration لقائمة واحدة تحتوي على صفحة أو أكثر.
kubeeye
17kيساعد وكيلك على تثبيت KubeEye وإعداد قواعد فحص المجموعة وخطط الفحص، ثم قراءة تقارير الفحص.
مهارات مشابهة
openclaw-update
394kيساعد وكيلك على تحديث بوابة OpenClaw Gateway الموجودة، مع اختيار طريقة التحديث المناسبة لطريقة تثبيتها والحفاظ على جلستك.
diagnose-gateway
394kيساعد وكيلك على معرفة سبب فشل بوابة OpenClaw Gateway عبر فحص الإعدادات والقنوات والمنافذ دون تغيير أي شيء.
crabbox-apps
394kيساعد وكيلك على فتح تطبيق وتشغيله على جهاز سحابي مؤقت، ثم عرض واجهته في الشريط الجانبي للدردشة.