diff --git a/chart/values.yaml b/chart/values.yaml index cf9ece1d25b03b63aea5d85dd7414e8251043c3f..19865cc1b70ce8a3807e93c431376df89bf17399 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -671,11 +671,11 @@ loki: git: repo: https://repo1.dso.mil/big-bang/product/packages/loki.git path: "./chart" - tag: "5.5.0-bb.4" + tag: "5.8.9-bb.0" helmRepo: repoName: "registry1" chartName: "loki" - tag: "5.5.0-bb.4" + tag: "5.8.9-bb.0" # -- Flux reconciliation overrides specifically for the Loki Package flux: {} diff --git a/docs/understanding-bigbang/package-architecture/loki.md b/docs/understanding-bigbang/package-architecture/loki.md index 7d92d0d9e044c2da4ec2438011db5c8457d3b69a..aff81a41696fb5176118e5af13e0a011f15a1dfc 100644 --- a/docs/understanding-bigbang/package-architecture/loki.md +++ b/docs/understanding-bigbang/package-architecture/loki.md @@ -79,6 +79,40 @@ loki: replicas: 2 ``` +You can also optionally use HPA with Loki for each component. There are additional options for the target memory and scaling behavior that you can reference in the [package chart values](https://repo1.dso.mil/big-bang/product/packages/loki/-/blob/main/chart/values.yaml). + +```yaml +loki: + values: + write: + autoscaling: + enabled: true + # -- Minimum autoscaling replicas for the write. + minReplicas: 1 + # -- Maximum autoscaling replicas for the write. + maxReplicas: 3 + # -- Target CPU utilization percentage for the write. + targetCPUUtilizationPercentage: 80 + read: + autoscaling: + enabled: true + # -- Minimum autoscaling replicas for the write. + minReplicas: 1 + # -- Maximum autoscaling replicas for the write. + maxReplicas: 3 + # -- Target CPU utilization percentage for the write. + targetCPUUtilizationPercentage: 80 + backend: + autoscaling: + enabled: true + # -- Minimum autoscaling replicas for the write. + minReplicas: 1 + # -- Maximum autoscaling replicas for the write. + maxReplicas: 3 + # -- Target CPU utilization percentage for the write. + targetCPUUtilizationPercentage: 80 +``` + ### UI Loki has no UI packaged with it. Grafana is the frontend to view logs which are ingested by Loki.