Commit e0ada98c authored by Evan Read's avatar Evan Read

Merge branch 'docs/health_check' into 'master'

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62080

Closes #62080

See merge request gitlab-org/gitlab-ce!30148
parents 7d56df1b a0e818c9
...@@ -41,42 +41,51 @@ The readiness and liveness probes will provide a report of system health in JSON ...@@ -41,42 +41,51 @@ The readiness and liveness probes will provide a report of system health in JSON
```json ```json
{ {
"queues_check" : { "db_check":{
"status" : "ok" "status":"ok"
}, },
"redis_check" : { "redis_check":{
"status" : "ok" "status":"ok"
}, },
"shared_state_check" : { "cache_check":{
"status" : "ok" "status":"ok"
}, },
"db_check" : { "queues_check":{
"status" : "ok" "status":"ok"
}, },
"cache_check" : { "shared_state_check":{
"status" : "ok" "status":"ok"
},
"gitaly_check":{
"status":"ok",
"labels":{
"shard":"default"
}
}
} }
}
``` ```
`liveness` probe example output: `liveness` probe example output:
```json ```json
{ {
"cache_check" : { "db_check":{
"status" : "ok" "status":"ok"
},
"redis_check":{
"status":"ok"
}, },
"db_check" : { "cache_check":{
"status" : "ok" "status":"ok"
}, },
"redis_check" : { "queues_check":{
"status" : "ok" "status":"ok"
}, },
"queues_check" : { "shared_state_check":{
"status" : "ok" "status":"ok"
}, },
"shared_state_check" : { "gitaly_check":{
"status" : "ok" "status":"ok"
} }
} }
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment