Skip to content

Commit 8b6f8a7

Browse files
committed
10Gi to 2Gi loki and prometheus pvcs
1 parent 9929370 commit 8b6f8a7

11 files changed

Lines changed: 19 additions & 19 deletions

File tree

deployments/openshift/config/dev.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ GRAFANA_ADMIN_PASSWORD=admin
144144
# Loki log retention period in days.
145145
LOKI_RETENTION_DAYS=30
146146
# Loki PVC storage size.
147-
LOKI_PVC_SIZE=10Gi
147+
LOKI_PVC_SIZE=2Gi
148148
# Prometheus PVC storage size.
149-
PROMETHEUS_PVC_SIZE=10Gi
149+
PROMETHEUS_PVC_SIZE=2Gi
150150
# Prometheus scrape interval for all targets.
151151
METRICS_SCRAPE_INTERVAL=15s

deployments/openshift/config/prod.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ GRAFANA_ADMIN_PASSWORD=change-me-in-production
131131
# Loki log retention period in days.
132132
LOKI_RETENTION_DAYS=30
133133
# Loki PVC storage size.
134-
LOKI_PVC_SIZE=10Gi
134+
LOKI_PVC_SIZE=2Gi
135135
# Prometheus PVC storage size.
136-
PROMETHEUS_PVC_SIZE=10Gi
136+
PROMETHEUS_PVC_SIZE=2Gi
137137
# Prometheus scrape interval for all targets.
138138
METRICS_SCRAPE_INTERVAL=15s

deployments/openshift/helm/plg/values-openshift.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# PLG Stack - OpenShift Environment Overrides
22

33
loki:
4-
pvcSize: 10Gi
4+
pvcSize: 2Gi
55
retentionDays: 30
66

77
resources:
@@ -13,7 +13,7 @@ loki:
1313
cpu: "500m"
1414

1515
prometheus:
16-
pvcSize: 10Gi
16+
pvcSize: 2Gi
1717

1818
resources:
1919
requests:

deployments/openshift/helm/plg/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ loki:
1111
retentionDays: 30
1212

1313
# PVC size for Loki data storage.
14-
pvcSize: 10Gi
14+
pvcSize: 2Gi
1515

1616
# Storage class for the PVC. Empty string uses the cluster default.
1717
storageClassName: ""
@@ -52,7 +52,7 @@ prometheus:
5252
retentionDays: 15
5353

5454
# PVC size for Prometheus TSDB storage.
55-
pvcSize: 10Gi
55+
pvcSize: 2Gi
5656

5757
# Storage class for the PVC. Empty string uses the cluster default.
5858
storageClassName: ""

docs-md/monitoring/LOKI_HELM_CHART.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ deployments/openshift/helm/plg/
2626
| `loki.image.repository` | Loki container image | `grafana/loki` |
2727
| `loki.image.tag` | Loki image tag | `3.4.0` |
2828
| `loki.retentionDays` | Log retention period in days | `30` |
29-
| `loki.pvcSize` | PVC storage size | `10Gi` |
29+
| `loki.pvcSize` | PVC storage size | `2Gi` |
3030
| `loki.storageClassName` | Storage class (empty = cluster default) | `""` |
3131
| `loki.resources.requests.memory` | Memory request | `256Mi` (OpenShift override: `512Mi`) |
3232
| `loki.resources.requests.cpu` | CPU request | `500m` |

docs-md/monitoring/PLG_DEPLOYMENT_INTEGRATION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ PLG-specific variables are configured in the same environment profile files used
5252
|----------|---------|-------------|
5353
| `GRAFANA_ADMIN_PASSWORD` | `admin` | Grafana admin login password |
5454
| `LOKI_RETENTION_DAYS` | `30` | Log retention period in days |
55-
| `LOKI_PVC_SIZE` | `10Gi` | Persistent volume size for Loki data |
56-
| `PROMETHEUS_PVC_SIZE` | `10Gi` | Persistent volume size for Prometheus TSDB |
55+
| `LOKI_PVC_SIZE` | `2Gi` | Persistent volume size for Loki data |
56+
| `PROMETHEUS_PVC_SIZE` | `2Gi` | Persistent volume size for Prometheus TSDB |
5757
| `METRICS_SCRAPE_INTERVAL` | `15s` | How often Prometheus scrapes targets |
5858
| `ALERTMANAGER_NOTIFICATION_CHANNEL` | `ches` | Active notification channel: `ches` or `teams` |
5959
| `ALERTMANAGER_NOTIFICATIONS_ENABLED` | `false` | Whether Alertmanager routes alerts externally |

docs-md/monitoring/PROMETHEUS_HELM_CHART.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ deployments/openshift/helm/plg/
3131
| `prometheus.image.repository` | Prometheus container image | `prom/prometheus` |
3232
| `prometheus.image.tag` | Prometheus image tag | `v3.2.1` |
3333
| `prometheus.retentionDays` | TSDB data retention period in days | `15` |
34-
| `prometheus.pvcSize` | PVC storage size | `10Gi` |
34+
| `prometheus.pvcSize` | PVC storage size | `2Gi` |
3535
| `prometheus.storageClassName` | Storage class (empty = cluster default) | `""` |
3636
| `prometheus.scrapeInterval` | Scrape interval for all targets | `15s` |
3737
| `prometheus.resources.requests.memory` | Memory request | `512Mi` |

docs-md/operations/ENVIRONMENT_CONFIGURATION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ See [LOAD_TESTING.md](../benchmarking/LOAD_TESTING.md) for load-test usage of `m
200200
|----------|---------|-------------|
201201
| `GRAFANA_ADMIN_PASSWORD` | `admin` | Grafana admin login password |
202202
| `LOKI_RETENTION_DAYS` | `30` | Log retention period in days |
203-
| `LOKI_PVC_SIZE` | `10Gi` | Persistent volume size for Loki data |
204-
| `PROMETHEUS_PVC_SIZE` | `10Gi` | Persistent volume size for Prometheus TSDB |
203+
| `LOKI_PVC_SIZE` | `2Gi` | Persistent volume size for Loki data |
204+
| `PROMETHEUS_PVC_SIZE` | `2Gi` | Persistent volume size for Prometheus TSDB |
205205
| `METRICS_SCRAPE_INTERVAL` | `15s` | How often Prometheus scrapes targets |
206206

207207
## How Secrets Reach the Pods

feature-docs/20260315052727-plg-monitoring-stack/REQUIREMENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ New environment variables (configurable per environment):
204204
|----------|-------------|---------|
205205
| `GRAFANA_ADMIN_PASSWORD` | Grafana admin password | (secret) |
206206
| `LOKI_RETENTION_DAYS` | Log retention period in days | `30` |
207-
| `LOKI_PVC_SIZE` | Loki storage PVC size | `10Gi` |
208-
| `PROMETHEUS_PVC_SIZE` | Prometheus storage PVC size | `10Gi` |
207+
| `LOKI_PVC_SIZE` | Loki storage PVC size | `2Gi` |
208+
| `PROMETHEUS_PVC_SIZE` | Prometheus storage PVC size | `2Gi` |
209209
| `METRICS_SCRAPE_INTERVAL` | Prometheus scrape interval | `15s` |
210210

211211
---

feature-docs/20260315052727-plg-monitoring-stack/user_stories/US-006-helm-chart-prometheus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- [x] **Scenario 1**: Prometheus deployed via Helm chart
1010
- **Given** the PLG Helm chart includes Prometheus configuration
1111
- **When** the chart is deployed
12-
- **Then** Prometheus is running with a PVC for metrics storage (configurable via `PROMETHEUS_PVC_SIZE`, default `10Gi`) and resource limits (memory `512Mi`, CPU `500m`)
12+
- **Then** Prometheus is running with a PVC for metrics storage (configurable via `PROMETHEUS_PVC_SIZE`, default `2Gi`) and resource limits (memory `512Mi`, CPU `500m`)
1313

1414
- [x] **Scenario 2**: Backend-services scrape target configured
1515
- **Given** Prometheus scrape configs are defined in the Helm chart values

0 commit comments

Comments
 (0)