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.
来歴
- コンテンツダイジェスト
- sha256:39bafae1425f706166639529c36f643ecb111edb4a250ccd87fad2a7a03e9257
- 公開日
- 2026-11-10T10:26:05Z
- 署名 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:c1d117e15dc96c090dff08f63e0fc65009863ffc50f0fa24e5d6b82be610e64c
このバージョンの参照
oci://hub.aggrega.ai/recipe/helm/ollama:1.0.0- ターゲット
- —
- 実装対象
- core/ai-model/ollama:1.0.0
提供
このレシピが利用側のために配線する決定論的なポインターテンプレートです。
| 名前 | テンプレート |
|---|---|
| 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
ローカル変数
ローカル変数は宣言されていません。
値のマッピング
値のマッピングは宣言されていません。
関係
他の公開エンティティとの間の型付きエッジです。公開されたターゲットがない参照は、リンクではなく切れたエッジとして表示されます。
使用先
- 実装実装コントラクト互換
core/ai-model/ollama:1.0.0
必須の出力はすべて満たされており、提供されるすべての出力がコントラクトに記載されています。
使用元
カタログ内にこのエンティティに依存しているものはありません。