From 3c079bd9507a5253f451c24aa15a0600f9c9f54e Mon Sep 17 00:00:00 2001 From: Rajat Vig Date: Tue, 15 Dec 2020 01:11:06 +0000 Subject: [PATCH] Fix ingester PVC data declaration to use configured value --- production/ksonnet/loki/ingester.libsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production/ksonnet/loki/ingester.libsonnet b/production/ksonnet/loki/ingester.libsonnet index 02861a3856c80..1802e8a14d2f0 100644 --- a/production/ksonnet/loki/ingester.libsonnet +++ b/production/ksonnet/loki/ingester.libsonnet @@ -47,7 +47,7 @@ ingester_data_pvc:: if $._config.stateful_ingesters then pvc.new('ingester-data') + - pvc.mixin.spec.resources.withRequests({ storage: '10Gi' }) + + pvc.mixin.spec.resources.withRequests({ storage: $._config.ingester_pvc_size }) + pvc.mixin.spec.withAccessModes(['ReadWriteOnce']) + pvc.mixin.spec.withStorageClassName($._config.ingester_pvc_class) else {},