Recipe
trustyai-huggingface-detector
TrustyAI's Hugging Face detector on Kubernetes via the helm provider's Workload synthesis, running the image in infra.image directly: a stateless Deployment plus a ClusterIP Service on the port the service answers on. Synthesized rather than wrapping a chart because the project publishes none. A weights-pull init container, running the same image and the Hugging Face command-line tool it carries, fetches the model named in values.model at values.model_revision into a pod-local volume before the server starts, and the server loads it from there through the MODEL_DIR variable it reads; the compiler never fetches weights. The volume lasts as long as the pod, so each new pod fetches the weights again. When the optional model_pull_token slot is attached the token reaches the pull step alone as an env secretKeyRef, so it never appears in the rendered manifest; unattached, weights are pulled anonymously, byte-identically to a Recipe with no slot. The server loads the model before it answers anything, and its health route answers only then, so readiness is asked there. The listen port is handed to the server on its command line, from the same infra.port the Service and the published address read. The service's own metrics, in the Prometheus format at /metrics on that port, are published as provides.metrics_endpoint. provides.host is the bare, self-contained in-cluster service name of the synthesized Service; a consumer in another namespace qualifies it on its own side.
Походження
- Дайджест вмісту
- sha256:414265ddd04de3c4f209244f401a357b2b8256a9af45e27c9d2b4f8d01e32439
- Опубліковано
- 2026-11-10T10:27:43Z
- Ідентичність підписувача
- 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:3fed5d32b9343b92ceaaa71e41cf11558135b82067d20f8a0587f15e70de2228
Посилання на цю версію
oci://hub.aggrega.ai/recipe/helm/trustyai-huggingface-detector:1.0.0- Ціль
- —
- Реалізує
- core/security/trustyai-huggingface-detector:1.0.0
Надає
Детерміновані шаблони вказівників, які цей рецепт під’єднує для споживачів.
| Назва | Шаблон |
|---|---|
| host | {{ .context.rendered_name }}-default |
| port | {{ .infra.port }} |
| endpoint | http://{{ .context.rendered_name }}-default:{{ .infra.port }} |
| model | {{ .values.model }} |
| protocol | http |
| metrics_endpoint | http://{{ .context.rendered_name }}-default:{{ .infra.port }}/metrics |
Workload
Workload · form: stateless · replicas: 1 · containers: main
Локальні значення
Локальних значень не оголошено.
Відображення значень
Відображення значень не оголошено.
Зв’язки
Типізовані ребра до інших опублікованих сутностей і від них. Відсилання без опублікованої цілі відображається як розірване ребро, а не як посилання.
Використовує
- реалізуєреалізуєконтракт сумісний
core/security/trustyai-huggingface-detector:1.0.0
Усі обов’язкові виходи задоволено, і кожен наданий вихід названо в контракті.
Використовується в
Ніщо в каталозі не залежить від цієї сутності.