update ROOK_MON_HEALTHCHECK_INTERVAL

Signed-off-by: Louis <gofaceme@gmail.com>
This commit is contained in:
Louis committed 2019-04-23 11:25:55 +08:00
1 parent f88beafc56
commit 355b652ed4
1 file changed
+1 -1
+1 -1
View File
@@ -48,7 +48,7 @@ to be re-created. Without this host path, the mon cannot start again.
If the mitigating steps for mon failure don't bring a mon back up, the operator will make the decision to terminate the old monitor pod
and bring up a new monitor with a new identity. This is an operation that must be done while there is mon quorum.
The operator checks for mon health every 20 seconds. If a monitor is down, the operator will wait 5 minutes before failing over the bad mon.
The operator checks for mon health every 45 seconds. If a monitor is down, the operator will wait 5 minutes before failing over the bad mon.
These two intervals can be configured as parameters to the rook [operator pod](/cluster/examples/kubernetes/ceph/operator.yaml). If the intervals are too short, it could be unhealthy if the mons are failed over too aggressively. If the intervals are too long, the cluster could be at risk of losing quorum if a new monitor is not brought up before another mon fails.
```
- name: ROOK_MON_HEALTHCHECK_INTERVAL