Skip to content

Commit eee4720

Browse files
authored
docs: example for image rendering service (#2220)
1 parent dec6a21 commit eee4720

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: "Image renderer via sidecar example"
3+
---
4+
5+
This example configures the [Grafana image rendering service](https://grafana.com/docs/grafana/latest/setup-grafana/image-rendering/) for use in alerting & reporting.
6+
7+
For production use, ensure that the image renderer has enough resources. Refer to the [recommendations in the official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/image-rendering/#memory-requirements) for more information.
8+
9+
{{< readfile file="resources.yaml" code="true" lang="yaml" >}}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
apiVersion: grafana.integreatly.org/v1beta1
3+
kind: Grafana
4+
metadata:
5+
labels:
6+
instance: image-renderer
7+
name: image-renderer
8+
namespace: default
9+
spec:
10+
# enterprise image if you need to enable the reporting functionality
11+
version: docker.io/grafana/grafana-enterprise:12.2.0
12+
config:
13+
rendering:
14+
server_url: http://localhost:8081/render
15+
deployment:
16+
spec:
17+
template:
18+
spec:
19+
containers:
20+
- name: image-renderer
21+
image: 'grafana/grafana-image-renderer:latest'
22+
resources:
23+
requests:
24+
memory: '16Gi'

0 commit comments

Comments
 (0)