Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dashboard definitions md5 to deployment annotations #107

Merged
merged 1 commit into from
Dec 2, 2020

Conversation

shouichi
Copy link
Contributor

@shouichi shouichi commented Dec 2, 2020

By annotation dashboard definitions md5, changing dashboard definitions triggers redeployment.

Close #106.

@brancz
Copy link
Owner

brancz commented Dec 2, 2020

Nice! I wonder whether this will have a performance impact, but let's try and see! :)

@brancz brancz merged commit 7176a6d into brancz:master Dec 2, 2020
@shouichi shouichi deleted the dashboard-md5 branch December 2, 2020 08:53
@adinhodovic
Copy link
Contributor

adinhodovic commented Dec 8, 2020

Nice! I wonder whether this will have a performance impact, but let's try and see! :)

Hey @brancz,

The behavior introduced in this PR is a bit annoying, I see that you've said that Grafana has built-in functionality for reloading on underlying dashboard configmap changes: #55 (comment). Is this really necessary then(to generate a hash for dashboards and force a redeploy)? I find the sidecar more smooth in that case. Just switched from the helm chart. Am I missing something?

@brancz
Copy link
Owner

brancz commented Dec 9, 2020

@adinhodovic I haven't tried the hot-reloading in a while. Could you confirm that that does indeed work? If so then I agree we should make this opt-in rather than opt-out.

@adinhodovic
Copy link
Contributor

adinhodovic commented Dec 9, 2020

@adinhodovic I haven't tried the hot-reloading in a while. Could you confirm that that does indeed work? If so then I agree we should make this opt-in rather than opt-out.

Works fine for me. Takes a minute but works. Would be great to have it configurable.

@brancz
Copy link
Owner

brancz commented Dec 9, 2020

I would agree that this should be opt-in rather than opt-out then. Would you like to submit a PR to do that?

@adinhodovic
Copy link
Contributor

Something along these lines #108?

@brancz
Copy link
Owner

brancz commented Dec 10, 2020

Yes perfect! Merged! Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding md5 hash to config map name
3 participants