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

[staging] update prometheus, grafana charts #581

Merged
merged 2 commits into from
May 4, 2018

Conversation

minrk
Copy link
Member

@minrk minrk commented Apr 30, 2018

latest grafana chart has easier management of configuration via values.yaml, rather than requiring all grafana.ini in a single scalar field. This allows us to:

  1. setup prometheus data source, admin password via config, rather than after launch (removes a manual step from deploying on a new cluster)
  2. we could additionally pre-load some dashboards from this config, but I don't know the best way to do that while preserving editability, etc.

The question here is how to safely do this upgrade. I'm fairly confident that this will not lose any prometheus/grafana data, but I can't be quite certain. I could deploy yet another cluster with master and do a test deployment there. Alternatively, we could deploy this to staging and stop before deploying to production until we verify that it works.

latest grafana chart has easier management of configuration via yaml

rather than requiring all grafana.ini in a single scalar field
@choldgraf
Copy link
Member

choldgraf commented Apr 30, 2018 via email

@minrk
Copy link
Member Author

minrk commented May 4, 2018

@choldgraf great idea. I reset the password on staging and loaded the overview dashboard and will try deploying this to staging now.

@minrk minrk merged commit 92e4c46 into jupyterhub:master May 4, 2018
@minrk minrk changed the title [WIP] update prometheus, grafana charts update prometheus, grafana charts May 4, 2018
@minrk minrk changed the title update prometheus, grafana charts [staging] update prometheus, grafana charts May 4, 2018
@minrk minrk deleted the grafana-5 branch May 4, 2018 10:45
@minrk
Copy link
Member Author

minrk commented May 4, 2018

Deploy worked, prometheus volume survived, but grafana volume was deleted and admin access seems unavailable. Good thing we tested! Reverting now, will do more testing and try again later.

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.

2 participants