kubesphere-gateway-api
यह क्या करती है
यह स्किल AI एजेंट को ऐसे gateways सेट करने और जाँचने में मदद करती है, जो बाहरी ट्रैफ़िक को KubeSphere की सेवाओं तक पहुँचाते हैं। यह उन ऑपरेटरों के लिए है जो नया Gateway API मानक इस्तेमाल करते हैं।
कब इस्तेमाल करें
- ✓जब आप KubeSphere में Gateway API extension इंस्टॉल या अनइंस्टॉल करना चाहते हैं।
- ✓जब आपको पूरे क्लस्टर, एक workspace या एक project के लिए gateway चाहिए।
- ✓जब कोई gateway काम न कर रहा हो और आप उसकी स्थिति और proxy जाँचना चाहते हों।
Skill का लिंक
https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-gateway-api/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप हमारे staging project के लिए Gateway API gateway सेट कर सकते हैं और जाँच सकते हैं कि वह तैयार है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट extension की स्थिति जाँचता है, आपके चुने स्तर पर gateway proxy बनाता है, फिर संबंधित gateway class और gateway objects जाँचता है। उसे मिली किसी भी स्थिति की समस्या वह बताता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
KubeSphere Gateway API
Overview
Provides external access management using Kubernetes Gateway API with Traefik as the underlying proxy implementation. Supports three-tier gatewayproxy management:
| Tier | Scope | Name Pattern | Namespace | Description |
|---|---|---|---|---|
| Cluster | Entire cluster | gatewayproxy-cluster |
kubesphere-controls-system |
Cluster-scoped GatewayProxy |
| Workspace | Single workspace | gatewayproxy-workspace-{workspace} |
kubesphere-controls-system |
Workspace-scoped GatewayProxy |
| Project | Single project/namespace | gatewayproxy-namespace-{namespace} |
kubesphere-controls-system |
Namespace-scoped GatewayProxy |
Each GatewayProxy (gatewayproxies.gatewayapi.kubesphere.io) deploys a Traefik instance (the proxy implementation). It auto-creates a GatewayClass, and users can then create standard Gateway (gateways.gateway.networking.k8s.io) resources that reference that GatewayClass. The extension consists of three components:
- backend-extension — API server on the host cluster
- backend-agent — API server + controller-manager on every cluster (including the host cluster if selected)
- frontend — React SPA served via Nginx
Key Differentiator from kubesphere-gateway
| Aspect | kubesphere-gateway | kubesphere-gateway-api |
|---|---|---|
| Underlying proxy | ingress-nginx | Traefik |
| API standard | Custom Gateway CRD (gateway.kubesphere.io/v2alpha2) |
Kubernetes Gateway API (gateway.networking.k8s.io) + GatewayProxy CRD |
| Core resource | Gateway + standard IngressClass/Ingress |
GatewayProxy + standard Gateway/GatewayClass/HTTPRoute |
| Lifecycle management | Helm release per gateway | Helm release per GatewayProxy |
Core CRDs
GatewayProxy(gatewayapi.kubesphere.io/v1alpha1) — the proxy implementation (e.g. Traefik). When created, the controller deploys Traefik via Helm SDK and auto-creates aGatewayClass. Key fields:spec.type— proxy type (currently onlyTraefik)spec.traefik.rawValues— raw Helm values passed to the Traefik chartspec.traefik.deployment.replicas— replica countspec.traefik.service.type— Service type (ClusterIP, NodePort, LoadBalancer)spec.traefik.createDefaultGateway— whether to auto-create a default Gatewayspec.paused— pause reconciliationstatus.conditions— condition types:Ready,Progressing,NewVersionDetectedstatus.service— Service type, ports, external IPs, load balancer statusstatus.entrypoints— exposed entrypoints with ports and protocolsstatus.gatewayClass.name— auto-created GatewayClass namestatus.helmRelease.name— Helm release name
GatewayClass(gateway.networking.k8s.io/v1) — standard Kubernetes Gateway API class, auto-created by the GatewayProxy controllerGateway(gateway.networking.k8s.io/v1) — standard Kubernetes Gateway API gateway, associated with a GatewayClassHTTPRoute/GRPCRoute/TLSRoute/TCPRoute/UDPRoute— standard Kubernetes Gateway API route resources
Multi-Tenant Scoping
GatewayProxy and Gateway are scoped via labels:
gatewayapi.kubesphere.io/scope-type—cluster,workspace, ornamespacegatewayapi.kubesphere.io/scope-workspace— workspace name (for workspace scope)gatewayapi.kubesphere.io/scope-namespace— namespace name (for namespace scope)
Monitoring Integration
GatewayProxy exposes Traefik metrics via Prometheus. Requires the whizard-monitoring extension (optional dependency). Log search requires the whizard-logging extension.
Before You Start
Check if Gateway API extension is already installed:
kubectl get insta
अक्सर पूछे जाने वाले सवाल
तीन gateway स्तर कौन-से हैं?
क्लस्टर, workspace और project। हर स्तर का अपना gateway proxy होता है।
यह स्किल कौन-सा proxy इस्तेमाल करती है?
यह Kubernetes Gateway API के पीछे Traefik को proxy के रूप में इस्तेमाल करती है।
यह पुरानी gateway स्किल से कैसे अलग है?
पुरानी स्किल ingress-nginx आधारित gateway इस्तेमाल करती है। यह नया Gateway API मानक इस्तेमाल करती है।
जानकारी
लेखक का मूल विवरण
KubeSphere Gateway API extension management Skill (Traefik based, uses Kubernetes Gateway API + GatewayProxy CRD gatewayapi.kubesphere.io/v1alpha1). This is the newer Kubernetes Gateway API standard. For the older Ingress API based gateway (ingress-nginx + Gateway CRD gateway.kubesphere.io/v2alpha2), see the kubesphere-gateway skill instead. Covers installation, uninstallation, status checks, GatewayProxy status inspection, and troubleshooting.
repo: kubesphere/kubesphere
लोकप्रियता
- GitHub स्टार
- 17k
- रैंकिंग में स्थान
- #10775
- लाइसेंस
- —
- अपडेट की गई
- 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यह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।