health endpoint for gitlab-shell
We currently do not have a proper way to healthcheck the git fleet. It seems like it might be the right place to implement a health check endpoint that verifies everything required to handle ssh sessions for GitLab. This, despite that there is no gitlab-shell service. Another option might be to run something alongside ssh and gitlab-shell that does this.
The problems we encounter for GitLab SSH HA health checking are:
- If we use the ssh port then if rails endpoint isn't running for auth requests will fail. We could use another endpoint for auth but if that starts failing we have the same problem.
- If we use the rails health check (like we do now) we might fail ssh connections if ssh is not running or misconfigured.
Should we write a service that gives us a better health of everything necessary for git ssh?