Skip to content

Control Plane latency recommendations for reliable clusters #78769

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
20 changes: 20 additions & 0 deletions modules/control-plane-latency.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Module included in the following assemblies:
//
// * scalability_and_performance/control-plane-latency-recommendations-for-reliable-clusters.adoc

:_mod-docs-content-type: CONCEPT
[id="control-plane-latency_{context}"]
= Recommended control plane latency for cluster reliability

Latency between each of the control plane nodes must be less than 15ms to ensure a well performing and reliable cluster. Some of the metrics to keep track of include etcd gRPC requests latency, fysnc latency and any critical alerts.

The following PromQL queries can help monitor latency requirements:
[source,terminal]
----
histogram_quantile(0.99, sum(rate(grpc_server_handling_seconds_bucket{job=~".*etcd.*", grpc_method!="Defragment", grpc_type="unary"}[5m])) without(grpc_type)) < 0.15

avg_over_time(histogram_quantile(0.99, rate(etcd_disk_wal_fsync_duration_seconds_bucket[2m]))[10m:]) < 1

ALERTS{severity="critical", alertstate="firing"} > 0

----
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:_mod-docs-content-type: ASSEMBLY
[id="control-plane-latency-recommendations-for-reliable-clusters"]
= Control plane latency recommendations for reliable clusters
include::_attributes/common-attributes.adoc[]
:context: control-plane-latency-recommendations-for-reliable-clusters

toc::[]

This topic provides recommended Control Plane latency for reliable clusters.

include::modules/control-plane-latency.adoc[leveloffset=+1]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:_mod-docs-content-type: ASSEMBLY
[id="recommended-control-plane-latency-recommendations-for-reliable-clusters"]
= Recommended control plane latency recommendations for reliable clusters
include::_attributes/common-attributes.adoc[]
:context: recommended-control-plane-latency-recommendations-for-reliable-clusters

toc::[]

This topic provides the recommended control plane latency to ensure cluster reliability in {product-title}.

include::modules/control-plane-latency.adoc[leveloffset=+1]