Skip to content
Skillpedia
Deploy & cloud (DevOps)17k Β· #10775

kubesphere-gateway-api

What it does

This skill helps an AI agent set up and check gateways that let outside traffic reach services in KubeSphere. It is for operators who use the newer Gateway API standard.

When to use it

  • βœ“When you want to install or uninstall the Gateway API extension in KubeSphere.
  • βœ“When you need a gateway for a whole cluster, a workspace or a single project.
  • βœ“When a gateway is not working and you want its status and proxy checked.

Skill link

https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-gateway-api/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-gateway-api/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you set up a Gateway API gateway for our staging project and check that it is ready?”

5 new skills a week. 1 minute to read.

How it works

The agent checks the extension state, creates the gateway proxy at the level you choose and then checks the matching gateway class and gateway objects. It reports any status problems it finds.

Technical content (original SKILL.md)

Original text by the author, straight from 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
FAQ

What are the three gateway levels?

Cluster, workspace and project. Each level has its own gateway proxy.

Which proxy does this skill use?

It uses Traefik as the proxy behind the Kubernetes Gateway API.

How is this different from the older gateway skill?

The older one uses the ingress-nginx based gateway. This one uses the newer Gateway API standard.

Details

Original description by the author

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

Popularity

GitHub stars
17k
Ranking position
#10775
License
β€”
Updated
7/14/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills