Recipe
grafana
Grafana dashboards server on Kubernetes via the helm provider's Workload synthesis, running the official upstream grafana/grafana image directly (no external Helm chart). Grafana keeps its own state — users, saved dashboards, preferences — under /var/lib/grafana, so the workload mounts a persistent volume at that path; the process itself is a single stateless replica, so it renders a Deployment plus a ClusterIP Service. The admin username is a developer value. The admin password is wired through the optional `admin_password` credential slot: when a credential is attached it renders as an env secretKeyRef (GF_SECURITY_ADMIN_PASSWORD), so the plaintext never lands in the Deployment manifest; when none is attached the Recipe falls back to a deterministic development default so the render stays byte-identical across runs. With `infra.external_base_url` set, it reaches the server as its root URL (GF_SERVER_ROOT_URL); unset, that variable is not emitted and the server keeps its default. The server listens on `infra.port`, which also carries its own metrics in the Prometheus format at /metrics, published as provides.metrics_endpoint. The packaged Grafana server is AGPL-3.0. Reach for this realization where the build must complete with nothing fetched, or where no chart repository is reachable from it; reach for `grafana-chart`, which renders the community-maintained Grafana chart, where data sources or dashboards are to be provisioned with the server — that realization carries the provisioning surface this one has nowhere to declare.
出處
- 內容摘要
- sha256:7cd7889625c0145d3c64f677485aa0f82b979cecaf9a052aa838dd778470a5d3
- 發布時間
- 2026-11-10T10:24:02Z
- 簽署身分
- 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:97968ebdeffbee853004eac5a131a369815a05936a41ae67d93d70e2bef6a427
此版本的參照
oci://hub.aggrega.ai/recipe/helm/grafana:1.0.0- 目標
- —
- 實作
- core/observability/grafana:1.0.0
提供
此配方為使用端連接的確定性指標範本。
| 名稱 | 範本 |
|---|---|
| host | {{ .context.rendered_name }}-default |
| port | {{ .infra.port }} |
| protocol | http |
| metrics_endpoint | http://{{ .context.rendered_name }}-default:{{ .infra.port }}/metrics |
Workload
Workload · replicas: 1 · containers: main
Locals
未宣告任何 locals。
值對應
未宣告任何值對應。
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 實作實作契約相容
core/observability/grafana:1.0.0
所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。
被使用於
目錄中沒有任何項目相依於此實體。