Local API for retrieving bibliographic and other useful data from Alma (Ruby 3.2.0, Rails 7.1.3.4)
BSD 2-Clause "Simplified" License
16
stars
7
forks
source link
Add Capistrano task to remove application from the load balancer #2546
Closed
maxkadel closed 2 weeks ago
Acceptance Criteria
cap --hosts=<hosthere> staging application:remove_from_nginx
will prevent a node from serving traffic on the load balancercap --hosts=<hosthere> staging application:serve_from_nginx
will allow a node to serve trafficTechnical 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.