diff options
author | Ash McKenzie <amckenzie@gitlab.com> | 2022-03-24 23:40:24 +0000 |
---|---|---|
committer | Ash McKenzie <amckenzie@gitlab.com> | 2022-03-24 23:40:24 +0000 |
commit | 0b343fd1232c90aee74cacee82be7471c9e798e9 (patch) | |
tree | 77c05be0400b859bb4e9df5078185d0c263697a7 | |
parent | aea150ae70408c9ac8c3965a366624a9d5af7d2e (diff) | |
parent | f89a27b4ad430a2ee756bbe199adc64d614f4008 (diff) | |
download | gitlab-shell-0b343fd1232c90aee74cacee82be7471c9e798e9.tar.gz |
Merge branch 'id-config-fields-docs' into 'main'
Add docs for grace-period and probes config options
See merge request gitlab-org/gitlab-shell!581
-rw-r--r-- | config.yml.example | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.yml.example b/config.yml.example index 4db258b..3714d73 100644 --- a/config.yml.example +++ b/config.yml.example @@ -78,6 +78,12 @@ sshd: web_listen: "localhost:9122" # Maximum number of concurrent sessions allowed on a single SSH connection. Defaults to 10. concurrent_sessions_limit: 10 + # The server waits for this time (in seconds) for the ongoing connections to complete before shutting down. Defaults to 10. + grace_period: 10 + # The endpoint that returns 200 OK if the server is ready to receive incoming connections; otherwise, it returns 503 Service Unavailable. Defaults to "/start". + readiness_probe: "/start" + # The endpoint that returns 200 OK if the server is alive. Defaults to "/health". + liveness_probe: "/health" # SSH host key files. host_key_files: - /run/secrets/ssh-hostkeys/ssh_host_rsa_key |