-
Notifications
You must be signed in to change notification settings - Fork 505
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
Upgrade redis chart version #483
Conversation
0fba113
to
a60a589
Compare
@cabrinha will this upgrade already existing sentry installation without any issues? |
I just deployed it to my cluster and it looks like the biggest change is that The @sagor999 please test on your end or allow anyone else to try it out. |
Ah, good to hear that it upgrades without any issues. |
As @sagor999 said, this PR is risky. I would like a few people to try this change to be more confident about it. |
Please, go ahead and try it out yourself, use kind or minikube, try it on your testing clusters, etc. It'd be great if there were a test environment for this chart to make risky but important PRs easier to test publicly. |
I just tested it, but for me upgrade failed (as I kind of thought it would because of statefulset use by redis):
Also if you are specifying storage class for your redis replica (used to be named slave in chart version 9 of redis) then you need to update your values.yaml to:
So to be able to actually upgrade the chart I had to delete statefulset for redis, both master and slave. Right now it seems to be running fine. I will let it soak for at least 24 hours to confirm I don't see any other issues with upgrade. |
Yeah, statefulsets need a force apply or delete/recreate. Let me know if there is anything else in the PR you'd like me to change. |
My suggestion would be to do a major version bump to the chart.yaml. Besides that I think it is looking good. My staging sentry is working well after upgrade as well (at least I did not notice any issues or errors after redis upgrade). Edit: Oh, and maybe add a note about if you are specifying storage class for redis slave, to update it to |
Can someone help with the README / notes stuff? I'm not sure where to put it or what to say. I've bumped the major chart version. |
@cabrinha in README.md you can add something like that I think:
@Mokto if you have suggestions ^ |
Done. |
when I try to install I got this error: Error: INSTALLATION FAILED: template: sentry/charts/redis/templates/redis-slave-svc.yaml:5:20: executing "sentry/charts/redis/templates/redis-slave-svc.yaml" at <{{template "redis.fullname" .}}>: template "redis.fullname" not defined |
it would help if you provide information on how you are performing install (helm commands) as well as your values.yaml file. |
@cleveritcz You need delete redis folder (not the archive) from charts directory |
The redis chart is pretty out of date and it seems it won't let me set tolerations or nodeSelector on the replicas.