मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)17k · #10775

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 पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-gateway-api/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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 a GatewayClass. Key fields:

    • spec.type — proxy type (currently only Traefik)
    • spec.traefik.rawValues — raw Helm values passed to the Traefik chart
    • spec.traefik.deployment.replicas — replica count
    • spec.traefik.service.type — Service type (ClusterIP, NodePort, LoadBalancer)
    • spec.traefik.createDefaultGateway — whether to auto-create a default Gateway
    • spec.paused — pause reconciliation
    • status.conditions — condition types: Ready, Progressing, NewVersionDetected
    • status.service — Service type, ports, external IPs, load balancer status
    • status.entrypoints — exposed entrypoints with ports and protocols
    • status.gatewayClass.name — auto-created GatewayClass name
    • status.helmRelease.name — Helm release name
  • GatewayClass (gateway.networking.k8s.io/v1) — standard Kubernetes Gateway API class, auto-created by the GatewayProxy controller

  • Gateway (gateway.networking.k8s.io/v1) — standard Kubernetes Gateway API gateway, associated with a GatewayClass

  • HTTPRoute / 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, or namespace
  • gatewayapi.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

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills