~hloeung/ubuntu-repository-cache/only-reload-apache2-when-needed-3

Viewing all changes in revision 303.

  • Committer: mergebot at canonical
  • Author(s): "Haw Loeung"
  • Date: 2021-02-11 00:10:12 UTC
  • mfrom: (302.1.18 ubuntu-repository-cache-charm)
  • Revision ID: mergebot@juju-139df4-prod-is-toolbox-0.canonical.com-20210211001012-kqo689iwhp000de5
New health check endpoint for load balancers to use

Load balancers can either monitor metadata (e.g. ubuntu/dists/*) or
pool files, which are proxied to the real archive
servers. Unfortunately, most can only check one thing so if the other
is having issues, it is not taken offline and still being used.

The new health check endpoint checks a few things and reports back OK
if all are healthy and fine. This means load balancers can just hit
this one endpoint and will take it offline if any of the components
are experiencing issues.

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/health-check-endpoint/+merge/397547
Reviewed-by: Barry Price <barry.price@canonical.com>
Reviewed-by: Benjamin Allot <benjamin.allot@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: