Recipe
nats
NATS on Kubernetes via the helm provider's Workload synthesis, running the official upstream nats image (no external Helm chart). Used as an in-memory messaging server with JetStream file storage disabled, so it renders a stateless Deployment plus a ClusterIP Service and declares no storage. Authentication is off by default; when the optional password credential slot is attached the value is delivered as an env secretKeyRef and the server is started with user/password authentication flags referencing it, so the plaintext password never appears in the rendered manifest. provides.host is the bare, self-contained in-cluster service name of the synthesized 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). Its readiness and liveness probes open a connection to the client port. Reach for this realization where the build must complete with nothing fetched, or where no chart repository is reachable from it; reach for `nats-chart`, which renders the product's own chart, where in-place configuration reload, probes against the monitoring endpoint, a graceful client drain on shutdown or the monitoring endpoint itself are wanted — this realization carries none of them.
出處
- 內容摘要
- sha256:975e7919a58ad567c9a443dcbcc4bf2c609f7b5340d9d989e534d3b7ac2c1dbc
- 發布時間
- 2026-11-10T10:25:51Z
- 簽署身分
- 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:eeda2656762b28f9132c9dc247edd1bae246a199f6608e1007212e670d9b7e6c
此版本的參照
oci://hub.aggrega.ai/recipe/helm/nats:1.0.0- 目標
- —
- 實作
- core/messaging/nats:1.0.0
提供
此配方為使用端連接的確定性指標範本。
| 名稱 | 範本 |
|---|---|
| host | {{ .context.rendered_name }}-default |
| port | {{ .infra.port }} |
| protocol | nats |
Workload
Workload · replicas: 1 · containers: main
Locals
未宣告任何 locals。
值對應
未宣告任何值對應。
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 實作實作契約相容
core/messaging/nats:1.0.0
所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。
被使用於
目錄中沒有任何項目相依於此實體。