kubesphere-gateway-api
O que ela faz
Esta skill ajuda um agente de IA a configurar e verificar gateways que permitem que o tráfego externo chegue aos serviços do KubeSphere. É para operadores que usam o padrão mais novo, a Gateway API.
Quando usar
- ✓Quando você quer instalar ou desinstalar a extensão Gateway API no KubeSphere.
- ✓Quando você precisa de um gateway para um cluster inteiro, um workspace ou um único projeto.
- ✓Quando um gateway não está funcionando e você quer verificar o status dele e o proxy.
Link da skill
https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-gateway-api/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Você pode configurar um gateway da Gateway API para nosso projeto de homologação e verificar se ele está pronto?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente verifica o estado da extensão, cria o proxy do gateway no nível que você escolher e depois verifica a classe de gateway e os objetos de gateway correspondentes. Ele informa os problemas de status que encontrar.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Quais são os três níveis de gateway?
Cluster, workspace e projeto. Cada nível tem seu próprio proxy de gateway.
Qual proxy esta skill usa?
Ela usa o Traefik como proxy por trás da Gateway API do Kubernetes.
Em que ela difere da skill de gateway mais antiga?
A mais antiga usa o gateway baseado em ingress-nginx. Esta usa o padrão mais novo, a Gateway API.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 17 mil
- Posição no ranking
- #10775
- Licença
- —
- Atualizada em
- 14/07/2026
Comentários
- …
Mais skills deste repositório
frontend-forge-fe-operations
17 milAjuda seu agente a gerenciar recursos FrontendExtension no KubeSphere, incluindo criar, publicar e depurar esses recursos.
frontend-forge-fi-operations
17 milAjuda seu agente a criar, atualizar, ativar, desativar e inspecionar recursos FrontendIntegration e a extensão frontend-forge no KubeSphere.
frontend-integration-yaml
17 milAjuda seu agente a criar um YAML de FrontendIntegration pronto para envio, com um menu e uma ou mais páginas.
kubeeye
17 milAjuda seu agente a instalar o KubeEye e configurar regras e planos de inspeção do cluster, depois ler os relatórios de inspeção.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.