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 Capistrano task to remove application from the load balancer #218

Open
2 tasks
kayiwa opened this issue Nov 9, 2024 · 0 comments · May be fixed by #219
Open
2 tasks

Add Capistrano task to remove application from the load balancer #218

kayiwa opened this issue Nov 9, 2024 · 0 comments · May be fixed by #219
Assignees

Comments

@kayiwa
Copy link
Member

kayiwa commented Nov 9, 2024

Acceptance Criteria

  • Running cap --hosts=<hosthere> staging application:remove_from_nginx will prevent a node from serving traffic on the load balancer
  • Running cap --hosts=<hosthere> staging application:serve_from_nginx will allow a node to serve traffic

Technical Implementation

Add a health monitor that looks at a file on disk and reports a failure if it exists, so that nginx will fail its health check and pull it out.

Example PR: https://github.com/pulibrary/pdc_describe/pull/1985/files

We're really hoping https://github.com/lbeder/health-monitor-rails/pull/127 will get merged.

First Step

Update the health-monitor-rails gem so it has the new check.

@tpendragon tpendragon moved this to Blocked in Easy Deploy Cycle Nov 11, 2024
@kayiwa kayiwa self-assigned this Nov 11, 2024
@kayiwa kayiwa linked a pull request Nov 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Review
Development

Successfully merging a pull request may close this issue.

1 participant