Skip to content

Commit a945b18

Browse files
authored
Merge pull request #64839 from abrennan89/loki-hardening
OBSDOCS-214: Documenting Loki restart behavior
2 parents 991478f + 195fbe6 commit a945b18

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

logging/cluster-logging-loki.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ Loki is a horizontally scalable, highly available, multi-tenant log aggregation
1313
include::modules/loki-deployment-sizing.adoc[leveloffset=+1]
1414

1515
include::modules/cluster-logging-loki-deploy.adoc[leveloffset=+1]
16+
////
17+
include::modules/logging-loki-restart-hardening.adoc[leveloffset=+1]
1618

19+
[role="_additional-resources"]
20+
.Additional resources
21+
* link:https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets[Pod disruption budgets Kubernetes documentation]
22+
////
1723
include::modules/logging-loki-retention.adoc[leveloffset=+1]
1824
1925
include::modules/cluster-logging-forwarding-lokistack.adoc[leveloffset=+1]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * logging/cluster-logging-loki.adoc
4+
5+
:_content-type: CONCEPT
6+
[id="logging-loki-restart-hardening_{context}"]
7+
= LokiStack behavior during cluster restarts
8+
9+
In logging version 5.8 and newer versions, when an {product-title} cluster is restarted, LokiStack ingestion and the query path continue to operate within the available CPU and memory resources available for the node. This means that there is no downtime for the LokiStack during {product-title} cluster updates. This behavior is achieved by using `PodDisruptionBudget` resources. The Loki Operator provisions `PodDisruptionBudget` resources for Loki, which determine the minimum number of pods that must be available per component to ensure normal operations under certain conditions.

0 commit comments

Comments
 (0)