Recipe
ollama
Ollama as a self-hosted inference server on Kubernetes via the helm provider's Workload synthesis, running the official upstream image directly (no external Helm chart). Renders a StatefulSet: a weights-pull initContainer resolves the model pointer into a per-replica model-cache volume, and the serving container mounts the same volume and serves the OpenAI-compatible API behind a ClusterIP Service. The model value is a deterministic pointer the initContainer resolves at pod start; the compiler never fetches weights. When the optional model_pull_token credential slot is attached the token reaches the initContainer 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. provides.host is the bare, self-contained in-cluster service name of the synthesized ClusterIP Service — it carries no namespace, so the recipe is independent of where it is deployed. A consumer in another namespace qualifies the host with the target namespace on its own side (caller-side routing). Readiness and liveness probes ask the server's root path, which answers once the server listens. Reach for this realization where the build must complete with nothing fetched, or where more than one serving replica is wanted — each replica here gets its own model cache; reach for `ollama-chart`, which renders the community-maintained Ollama chart, where the replica bounds should render a horizontal autoscaler, which this realization does not emit.
Herkunft
- Inhalts-Digest
- sha256:39bafae1425f706166639529c36f643ecb111edb4a250ccd87fad2a7a03e9257
- Veröffentlicht
- 2026-11-10T10:26:05Z
- Signaturidentität
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signatur
- Offiziellapplication/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:c1d117e15dc96c090dff08f63e0fc65009863ffc50f0fa24e5d6b82be610e64c
Referenz zu dieser Version
oci://hub.aggrega.ai/recipe/helm/ollama:1.0.0- Ziel
- —
- Implementiert
- core/ai-model/ollama:1.0.0
Stellt bereit
Deterministische Zeigervorlagen, die dieses Rezept für Konsumenten verdrahtet.
| Name | Vorlage |
|---|---|
| host | {{ .context.rendered_name }}-default |
| port | {{ .infra.port }} |
| endpoint | http://{{ .context.rendered_name }}-default:{{ .infra.port }}/v1 |
| model | {{ .values.model }} |
| protocol | http |
Workload
Workload · form: stateful · replicas: {{ · containers: main
Lokale Variablen
Keine lokalen Variablen deklariert.
Wertezuordnung
Keine Wertezuordnung deklariert.
Beziehungen
Typisierte Kanten zu und von anderen veröffentlichten Entitäten. Eine Referenz ohne veröffentlichtes Ziel wird als unterbrochene Kante statt als Link dargestellt.
Verwendet
- implementiertimplementiertVertrag kompatibel
core/ai-model/ollama:1.0.0
Alle erforderlichen Ausgaben sind erfüllt, und jede bereitgestellte Ausgabe ist im Vertrag genannt.
Verwendet von
Nichts im Katalog hängt von dieser Entität ab.