-
-
Notifications
You must be signed in to change notification settings - Fork 353
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 high availability using redis for locking #322
Comments
Would it be possible to add some more docs for Atlantis on how to properly use Redis for high availability? That would help adding support for the functionality in this repo. |
This issue has been automatically marked as stale because it has been open 30 days |
unstale |
This issue has been automatically marked as stale because it has been open 30 days |
Unstale |
This issue has been automatically marked as stale because it has been open 30 days |
Unstale |
Do we have a design spec for this yet? |
Unsure about a design spec. Basically
At least, that's how I understand it. |
What do the Redis hosts do right now if they do not do locking? I'd love to scale Atlantis a bit as it can be slow with many projects and when multiple repos plan / apply at the same time. The docs are unclear if it is for running multiple instances or something else. |
The redis hosts do locking https://www.runatlantis.io/docs/server-configuration.html#locking-db-type |
The locking seems like the least of the concerns, where do the planned outputs live? |
Hmm that's a good point. I'll reach out to the developers on this to see. Perhaps all of the instances need to share the same volume mount for this to work. cc @lilincmu @SudoSpartanDan @jamengual The PR that implemented this feature runatlantis/atlantis#2491 |
maybe its just a naming misnomer - but it looks like the |
Cool - I think it looks straightforward, thanks for sharing that PR @nitrocode We'll need a few bits before we can add this but most are already in progress:
This is great - I know this has been a long sought after feature so I'm excited to see this get added! |
To save time, could we skip step 2 and use https://registry.terraform.io/modules/cloudposse/elasticache-redis/aws/latest module? |
Possibly - the philosophy across the modules between the two groups is quite a bit different. Specifically the use of several nested sub-modules and the use of labels and context objects. We'll see |
hmm on second thought, I do not think that redis holds the plans and the feature seems to be a bit wonky. I'm hesitant to push this forward until some of the bugs are fixed with it. runatlantis/atlantis#1571 (comment) Thank you for considering. |
It would also be helpful to have more documentation in the Atlantis codebase around this feature, so folks know when and why they would enable it vs just running it by default. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Is your request related to a new offering from AWS?
It is not
Is your request related to a problem? Please describe.
Id like an HA setup so atlantis can run plans across different projects simultaneously instead of linearly
Describe the solution you'd like.
Add option to create redis for locking, configure iam policy, add options to atlantis
Describe alternatives you've considered.
N/A
Additional context
Related runatlantis/atlantis#1571
https://www.runatlantis.io/docs/server-configuration.html#redis-host
The text was updated successfully, but these errors were encountered: