본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)17k · #10775

kubesphere-gateway-api

하는 일

이 스킬은 AI 에이전트가 외부 트래픽이 KubeSphere 서비스에 닿도록 하는 게이트웨이를 설정하고 점검하도록 돕습니다. 최신 Gateway API 표준을 쓰는 운영자를 위한 스킬입니다.

사용하는 경우

  • ✓KubeSphere에 Gateway API 확장 기능을 설치하거나 제거하고 싶을 때.
  • ✓전체 클러스터, 워크스페이스, 또는 단일 프로젝트를 위한 게이트웨이가 필요한 경우.
  • ✓게이트웨이가 작동하지 않아서 상태와 프록시를 확인해야 할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

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.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“스테이징 프로젝트를 위한 Gateway API 게이트웨이를 설정하고, 준비되었는지 확인해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 확장 기능 상태를 확인하고, 선택한 수준에 게이트웨이 프록시를 만든 뒤 그에 맞는 게이트웨이 클래스와 게이트웨이 객체를 확인합니다. 발견한 상태 문제는 보고합니다.

기술 내용 (원본 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
자주 묻는 질문

게이트웨이 수준은 세 가지인가요?

클러스터, 워크스페이스, 프로젝트입니다. 각 수준마다 자체 게이트웨이 프록시가 있습니다.

이 스킬은 어떤 프록시를 쓰나요?

Kubernetes Gateway API 뒤의 프록시로 Traefik을 사용합니다.

기존 게이트웨이 스킬과 무엇이 다른가요?

기존 스킬은 ingress-nginx 기반 게이트웨이를 사용하고, 이 스킬은 최신 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
라이선스
—
업데이트
2026. 7. 14.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬