이 페이지는 기계 번역되었습니다. 영어 원문 읽기.

Component

core/gateway/traefik-hub

Traefik Hub, Traefik's paid gateway: the Traefik proxy run from Traefik Hub's own image, with an API gateway and an AI gateway a licence token unlocks. It serves each model wired to its models socket at /<alias>/v1/chat/completions through Traefik Hub's Chat Completion middleware. The operator supplies the image: Traefik distributes Traefik Hub under its own terms, so the Release names in infra.image one it is entitled to pull, and the catalog names none. Nothing renders until the Release sets `infra.image`. The licence token reaches the gateway by reference to a Secret in the required license slot. A Release may name its callers in infra.callers and their key hashes through the caller_keys slot; every model route then refuses a request with no declared key, and removes the key before forwarding. Through Traefik Hub's AI gateway it realizes core/period-budget, core/prompt-deny-patterns, core/semantic-caching and core/data-masking, each halting the build until infra.ai_gateway_entitled affirms the licence carries it; through Traefik's own failover and retry, core/fallback-chain and core/retry-policy. core/prompt-injection-shield, audit logging, target selection and reply validation halt, naming why. Traefik requires outbound HTTPS to api.traefik.io, where the gateway validates its token. A token lasts a year by default, and the gateway stops once it expires. The compiler validates no token and contacts no vendor, so a clean build cannot say whether the gateway starts, serves or enforces anything. With `values.metrics_enabled` true a ClusterIP Service carries the gateway's metrics port, which checks no caller, and the address is published as `metrics_endpoint`; false, that key is empty.

출처

공식이 카탈로그가 공식 게시자로 인정하는 서명 ID로 서명되었습니다.
콘텐츠 다이제스트
sha256:ccee49dd01d18080a3162e69f7b3ba53209da8d4adcd4a903ba976af0f793e69
게시일
2026-11-10T10:12:20Z
서명 ID
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

서명

  • 공식application/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:ec68a5d07aec08fcb69382bc4b089e25925c128b040218e8fb5dc9d9d2c673aa

이 버전의 참조

oci://hub.aggrega.ai/component/core/gateway/traefik-hub:1.0.0

개발자 매개변수

개발자가 Aggregate에서 설정하는 값입니다.

이름타입기본값필수설명
modelstring—아니요The alias of a connection on the models socket that this gateway publishes as its model, and whose route its published endpoint addresses. It must be an alias a models connection carries, and the build halts naming this value otherwise; it is required while the models socket holds a connection, and omitted while it holds none.
metrics_enabledbooleanfalse아니요Publishes the address of the gateway's own metrics, in the Prometheus format, as `metrics_endpoint`, putting their port on a ClusterIP Service of its own; while false that key is empty. The metrics port checks no caller, so anything that reaches it can read them.

운영자 사이징

운영자가 환경별로 조정하는 인프라 사이징입니다.

이름타입기본값필수설명
portinteger (min 1024, max 65535)8000아니요Port the gateway listens on for plain HTTP and its Service accepts client traffic on. Most operators should omit this and let the Recipe assign the default (8000).
imagestring—예Full reference of the Traefik Hub image the gateway runs, tag included, as in ghcr.io/traefik/traefik-hub:v3.21.2, optionally followed by a digest — the image the operator is entitled to pull. There is no default, because access to the image is governed by Traefik's terms rather than by the catalog, and the catalog therefore names none. A build that omits the image, or names one with no tag, halts. Traefik's chart reads the gateway's version from the tag and refuses an image whose repository path does not contain traefik-hub.
image_pull_secretstring—아니요Name of a pre-created image-pull Secret granting access to the registry the image is pulled from. Set this when that registry needs credentials; omit it when the cluster can pull the image without them.
callersarray (min 1)—아니요The callers the gateway serves models to, by name, each presenting its own key in the Authorization header as `Bearer <key>`, which is how an OpenAI client presents one. Every model route then refuses a request presenting no declared key, and removes the Authorization header from the request it forwards, so a caller's key never reaches a model. A name takes letters, digits, hyphens and underscores, and is also the data key holding the htpasswd hash of that caller's key in the Secret the caller_keys slot names. A model must be wired to the models socket; the build halts on callers otherwise. Omit it for open routes.
ai_gateway_entitledbooleanfalse아니요Affirms that the licence the license slot names carries Traefik Hub's AI gateway, through whose middlewares core/period-budget, core/prompt-deny-patterns, core/semantic-caching and core/data-masking are kept here. The compiler runs ahead of time and never reads the licence, so it asks rather than checks. With any of those four attached and this left unaffirmed, the build halts, because what Traefik Hub does with a valid token whose licence lacks the AI gateway is undocumented. With none attached it changes nothing rendered.
source_versionstring—아니요Version of the Helm chart the realization pulls. Changing it away from the Recipe's default does not guarantee value-mapping compatibility with the new chart.
computeobject—아니요—
overridesobject (open)—아니요Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

출력 계약

이 컴포넌트가 uses 토폴로지를 통해 소비자에게 게시하는 값입니다.

이름타입기본값필수설명
hoststring—예In-cluster DNS name of the Service fronting the gateway. A consumer sends its client traffic here rather than to the service behind the gateway.
portinteger—예TCP port that Service accepts client traffic on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default.
protocolstring—아니요How the published address is spoken to — `http`, so a consumer composes an address on that scheme.
endpointstring—아니요Full base URL of the OpenAI-compatible API the gateway serves for the model values.model names, with the host, the port and that alias's route already composed. A caller hands it to a client library as its base URL. Every other wired model is served at the same host and port under its own alias in the path. Empty while nothing is wired to the models socket.
modelstring—아니요The alias a consumer wired to the gateway sends as its model name: values.model. The route behind the endpoint asks for the model it was written for whatever name a request carries. Empty while nothing is wired to the models socket.
metrics_endpointstring—아니요The full address Prometheus scrapes this component's metrics at — scheme, host, port and path, `http://<host>:9100/metrics`, the host being the Service carrying the metrics port. Empty while values.metrics_enabled is false.

uses 소켓

이 컴포넌트가 연결에 사용하는 의존성 소켓입니다. 소켓을 통해 배선되는 모든 연결의 대상은 해당 소켓의 레이블 셀렉터를 충족해야 하며, 각 연결은 소켓이 선언한 슬롯에 첨부를 전달할 수 있습니다. 필수 슬롯은 Aggregate 또는 Release가 해당 소켓을 통해 배선하는 각 연결이 채워야 합니다.

models

셀렉터
component.aggrega.ai/category=ai-model
주입
—

이 소켓을 통한 각 연결이 채울 수 있는 슬롯

슬롯셀렉터필수주입민감설명
credentialfeature.aggrega.ai/kind=secret아니요—예Optional credential the gateway presents to the model this connection reaches, as a bearer token. When attached, the connection's Chat Completion middleware names the Secret the credential publishes and the data key inside it, and Traefik Hub reads the key from that Secret, so the key appears in no rendered file; a credential publishing no Secret name and data key halts the build. Unattached, the gateway adds no credential.

cache

셀렉터
datastore.aggrega.ai/engine=kv
주입
—

이 소켓을 통한 각 연결이 채울 수 있는 슬롯

슬롯셀렉터필수주입민감설명
credentialfeature.aggrega.ai/kind=secret아니요—예Optional password the gateway's quota middleware presents to the Redis-protocol store this connection reaches. When attached, the quota names the Secret the credential publishes and the data key inside it, and Traefik Hub reads the password from that Secret in the gateway's namespace, so the password appears in no rendered file; a credential publishing no Secret name and data key halts the build. Unattached, the quota connects with no password.
server_cafeature.aggrega.ai/kind=secret아니요file예Optional authority the gateway's quota middleware checks the store's certificate against while the store publishes protocol valkey-tls or redis-tls, where the gateway does not already trust the authority that signs it. Its Secret holds ca.crt and sits in the gateway's namespace. The Recipe mounts the whole Secret read-only into the gateway and names the file in the quota's store settings. The build halts on a server_ca publishing no Secret name, and on one wired to a store served without TLS. Fill it with core/referenced-secret.

cache_store

셀렉터
datastore.aggrega.ai/engine=kv
주입
—

이 소켓을 통한 각 연결이 채울 수 있는 슬롯

슬롯셀렉터필수주입민감설명
credentialfeature.aggrega.ai/kind=secret아니요—예Optional password the gateway's semantic cache presents to the store this connection reaches. When attached while core/semantic-caching is attached, the cache names the Secret the credential publishes and the data key inside it, and Traefik Hub reads the password from that Secret in the gateway's namespace, so the password appears in no rendered file; a credential publishing no Secret name and data key halts the build. Unattached, the cache connects without a password.
server_cafeature.aggrega.ai/kind=secret아니요file예Optional authority the gateway's semantic cache checks the store's certificate against while the store publishes protocol valkey-tls or redis-tls, where the gateway does not already trust the authority that signs it. Its Secret holds ca.crt and sits in the gateway's namespace. While core/semantic-caching is attached, the Recipe mounts the whole Secret read-only into the gateway and names the file in the cache's store settings. The build halts on a server_ca publishing no Secret name, and on one wired to a store served without TLS. Fill it with core/referenced-secret.

pii_analyzer

셀렉터
security.aggrega.ai/text-anonymization=analyzer
주입
—

이 소켓은 첨부 슬롯을 선언하지 않으므로 이 소켓을 통한 연결은 첨부를 전달하지 않습니다.

첨부 슬롯

Feature가 이 컴포넌트에 첨부되는 이름 있는 바인딩 지점입니다. 슬롯의 셀렉터는 어떤 Feature가 슬롯을 채울 수 있는지를 제한하고, 슬롯의 inject 목록은 Feature의 자료를 어떻게 전달할 수 있는지를 지정합니다. 필수 슬롯은 인스턴스의 첨부 또는 그 위 범위의 첨부를 통해 모든 인스턴스에서 바인딩되어야 하며, 민감 슬롯은 비밀 자료를 처리하도록 선언됩니다. Feature는 어떤 슬롯도 선언하지 않은 이름으로 첨부될 수도 있습니다.

슬롯셀렉터필수주입민감설명
licensefeature.aggrega.ai/kind=secret예—예The Traefik Hub licence token, held in a Kubernetes Secret this attachment names under the data key token: the gateway reads it by reference to that Secret, never as a value written into the Release or the rendered output. Required: the build halts when no attachment binds it, and when the attachment publishes a data key other than token.
caller_keysfeature.aggrega.ai/kind=secret아니요—예The Secret holding, for each caller infra.callers declares, the htpasswd hash of the key that caller presents — bcrypt, SHA-1 or MD5, as Traefik Hub's API Key middleware takes it — under a data key named for the caller. The attached credential must publish the Secret's name, as core/referenced-secret-set does, and a credential publishing none halts the build. Each model route's key check names every caller's entry by reference to this Secret, in the gateway's namespace, so no rendered file carries a hash. Required while infra.callers declares a caller, and refused while it declares none. What Traefik Hub does with an entry naming a Secret or a data key that does not exist is not stated in its reference, and the case is neither read nor run: Traefik Hub's source is not published, and the catalog holds no licence token to run it. So it is caught, if at all, only at run time, and in the worst case the routes are as open as with no callers declared.

자체 주입 허용 목록

선언된 자체 주입 파이프가 없습니다.

관계

게시된 다른 엔터티와 주고받는 타입 지정 에지입니다. 게시된 대상이 없는 참조는 링크가 아닌 끊어진 에지로 표시됩니다.

사용함

사용됨

Component 개념 레퍼런스 →

Aggrega 카탈로그 — 컴포넌트, 기능, 레시피, 그리고 이를 렌더링하는 플러그인의 공개 인덱스입니다.

공유 Aggrega 디자인 시스템으로 구축되었습니다.

개인정보 보호