-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feature/slt 134 postupgrade split #17
Conversation
@floretan where should I put the shared storage resource? Maybe I should take another approach to the shared dbdump storage? (see PR description above). I made a simple chart with just this resource and deployed it manually to cluster, but maybe there's some better way to check/create/update kubernetes resources when deployment is run. |
0c2c7ae
to
3175af5
Compare
@Jancis I think we will need some kind of project-level chart, and as you pointed out it could consist of only a single volume. This chart could be provisioned from CircleCI, but limited to the master branch. Since the volume doesn't need to be mounted multiple times, we should be able to use the "standard" volume provider. One possible alternative would be to use Cloud Storage (Google's S3) via a service broker. This type of block storage is perfect for storing backups, and it should be cheaper as well. |
@floretan there is stll a (very) slim chance it would be mounted simultaneously on two containers - the regular backup+sanitization from "production" branch and postinstall import when a new branch is deployed (share is mounted, sql dump is imported). |
I need to add private storage to container. |
Next steps: moving commands into |
…om jonathanjfshaw's PR.
390cd8c
to
59f26e9
Compare
Branch force-pushed with a clean branch because it has pretty deviated from master. |
@Jancis this looks good. I would move the configuration under |
Story:
https://wunder.atlassian.net/browse/SLT-134
Description:
splits post-install resource into two - one that gets triggered after new helm deployment install and another that is run after deployment update.
config_installer
profile and imports said configuration.imports database dump from (shared) mounted location/var/backups/db
. Shared NFS location must be deployed beforehand.Shared persistent volume resource for project