From e139226a1d763db15f0d8d5f7c3147b5a8ef1385 Mon Sep 17 00:00:00 2001 From: Owen Diehl Date: Fri, 15 Jan 2021 15:05:29 -0500 Subject: [PATCH] remaining sts use parallel mgmt policy --- production/ksonnet/loki/ingester.libsonnet | 1 + production/ksonnet/loki/querier.libsonnet | 1 + 2 files changed, 2 insertions(+) diff --git a/production/ksonnet/loki/ingester.libsonnet b/production/ksonnet/loki/ingester.libsonnet index 1802e8a14d2f0..71584cc291d4a 100644 --- a/production/ksonnet/loki/ingester.libsonnet +++ b/production/ksonnet/loki/ingester.libsonnet @@ -55,6 +55,7 @@ ingester_statefulset: if $._config.stateful_ingesters then statefulSet.new('ingester', 3, [$.ingester_container], $.ingester_data_pvc) + statefulSet.mixin.spec.withServiceName('ingester') + + statefulSet.mixin.spec.withPodManagementPolicy('Parallel') + $.config_hash_mixin + $.util.configVolumeMount('loki', '/etc/loki/config') + $.util.configVolumeMount('overrides', '/etc/loki/overrides') + diff --git a/production/ksonnet/loki/querier.libsonnet b/production/ksonnet/loki/querier.libsonnet index ccdb3f3fe1b5e..0e5098bdfe865 100644 --- a/production/ksonnet/loki/querier.libsonnet +++ b/production/ksonnet/loki/querier.libsonnet @@ -44,6 +44,7 @@ querier_statefulset: if $._config.stateful_queriers then statefulSet.new('querier', 3, [$.querier_container], $.querier_data_pvc) + statefulSet.mixin.spec.withServiceName('querier') + + statefulSet.mixin.spec.withPodManagementPolicy('Parallel') + $.config_hash_mixin + $.util.configVolumeMount('loki', '/etc/loki/config') + $.util.configVolumeMount('overrides', '/etc/loki/overrides') +