Pod Monitoring
To configure pod monitoring and failover thresholds in the inter-rack setup, use the following sample configuration. The geo pod monitors the configured pod name.
config
geomonitor
podmonitor pods pod_name
retryCount value
retryInterval interval_value
retryFailOverInterval failover_interval
failedReplicaPercent percent_value
exit
exit
NOTES:
-
pods pod_name
—Specify the name of the pod to be monitored. For example, Cache-pod, rest-ep, and so on. -
retryCount value
—Specify the retry counter value to retry if pod fails to ping after which pod is marked as down. It should be an integer in the range of 1-10. -
retryInterval interval_value
—Specify the retry interval in milliseconds if the pod successfully pings. It should be an integer in the range of 200-10000. -
retryFailOverInterval failover_interval
—Specify the retry interval in milliseconds if the pod fails to ping. It should be an integer in the range of 200-10000. -
failedReplicaPercent percent_value
—Specify the percent value of failed replica after which the inter-rack redundancy failover is triggered. It should be an integer in the range of 10-100.
Configuration Example
The following is an example configuration.
geomonitor podmonitor pods cache-pod
retryCount 3
retryInterval 5
retryFailOverInterval 1
failedReplicaPercent 40
exit