Skillpedia
النشر والسحابة (DevOps)17k · #10778

kubesphere-network-extension-operations

ما الذي تفعله

تساعد هذه المهارة وكيلك على تشغيل امتداد الشبكة في مجموعة KubeSphere. وهي موجهة إلى المشغلين الذين يديرون مجموعات عناوين IP وسياسات الشبكة والعزل بين مساحات العمل أو المشاريع.

متى تستخدمها

  • ✓عندما تريد تثبيت امتداد الشبكة أو ترقيته أو تفعيله أو تعطيله.
  • ✓عندما تحتاج إلى إنشاء مجموعات عناوين Calico أو فحصها، وكيف ترتبط بمساحات الأسماء.
  • ✓عندما تحتاج إلى إعداد عزل الشبكة لمجموعة أو مساحة عمل أو مشروع.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-network-extension-operations/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“هل يمكنك فحص حالة امتداد الشبكة وعرض مجموعات عناوين 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 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
الأسئلة الشائعة

ما الخلفية المدعومة لمجموعات العناوين؟

تنص المهارة على أن الامتداد يدعم حالياً 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

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة