Charts: [stable/grafana] use grafana-image-render

Created on 16 Apr 2020  路  9Comments  路  Source: helm/charts

By default, does not use grafana-image-renderer

We need a solution for this. https://github.com/grafana/grafana-image-renderer/blob/master/docs/remote_rendering_using_docker.md

is a way for this.

But this docker needs a helm chart, and there is another question:

How can this pod (grafana-image-render pod) communicate with grafana pod?

lifecyclstale

Most helpful comment

In case someone else is stumbling across this and needs a quickfix with the current chart:

    extraContainers: |
      - name: renderer
        image: grafana/grafana-image-renderer:latest

    env:
      GF_RENDERING_SERVER_URL: http://localhost:8081/render
      GF_RENDERING_CALLBACK_URL: http://localhost:3000/

All 9 comments

I created my own helm chart for this. It would be great if the operator could be updated to allow us to deploy the image through the chart. For example:

renderImage:
  enabled: true
  repository: grafana/grafana-image-renderer
  tag: 1.0.7

Setting environment variables works for now:

grafana:
  env:
    GF_EXPLORE_ENABLED: true
    GF_RENDERING_SERVER_URL: http://grafana-image-renderer:8081/render
    GF_RENDERING_CALLBACK_URL: http://prometheus-operator-grafana/
    GF_LOG_FILTERS: rendering:debug

@rust84 Can you give the link?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

Now that Grafana 7.0 removed built-in image rendering, this seems even more important to move forward, so we can do it within our existing helm-based deployments.

In case someone else is stumbling across this and needs a quickfix with the current chart:

    extraContainers: |
      - name: renderer
        image: grafana/grafana-image-renderer:latest

    env:
      GF_RENDERING_SERVER_URL: http://localhost:8081/render
      GF_RENDERING_CALLBACK_URL: http://localhost:3000/

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

This issue is being automatically closed due to inactivity.

I think this is still a valid request and needed.

Let's move the issue to the grafana helm2-chart repo itself? Is it possible?

Was this page helpful?
0 / 5 - 0 ratings