From 7dfa9e810061b4edd253d07a39bd19a3adf16297 Mon Sep 17 00:00:00 2001 From: YuleZ Date: Wed, 26 Jul 2023 11:40:54 +0200 Subject: [PATCH 1/5] add hostAliases Signed-off-by: YuleZ --- .../templates/compactor/deployment-compactor.yaml | 4 ++++ .../templates/distributor/deployment-distributor.yaml | 4 ++++ .../templates/gateway/deployment-gateway.yaml | 4 ++++ .../templates/index-gateway/statefulset-index-gateway.yaml | 4 ++++ .../templates/ingester/deployment-ingester.yaml | 4 ++++ .../templates/ingester/statefulset-ingester.yaml | 4 ++++ .../memcached-chunks/statefulset-memcached-chunks.yaml | 4 ++++ .../memcached-frontend/statefulset-memcached-frontend.yaml | 4 ++++ .../statefulset-memcached-index-queries.yaml | 4 ++++ .../statefulset-memcached-index-writes.yaml | 4 ++++ .../templates/querier/deployment-querier.yaml | 4 ++++ .../templates/querier/statefulset-querier.yaml | 4 ++++ .../templates/query-frontend/deployment-query-frontend.yaml | 4 ++++ .../query-scheduler/deployment-query-scheduler.yaml | 4 ++++ .../loki-distributed/templates/ruler/deployment-ruler.yaml | 4 ++++ .../loki-distributed/templates/ruler/statefulset-ruler.yaml | 4 ++++ .../templates/table-manager/deployment-table-manager.yaml | 4 ++++ charts/loki-distributed/values.yaml | 6 ++++++ 18 files changed, 74 insertions(+) diff --git a/charts/loki-distributed/templates/compactor/deployment-compactor.yaml b/charts/loki-distributed/templates/compactor/deployment-compactor.yaml index c09c93bd8d..1bf2b6c208 100644 --- a/charts/loki-distributed/templates/compactor/deployment-compactor.yaml +++ b/charts/loki-distributed/templates/compactor/deployment-compactor.yaml @@ -43,6 +43,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.compactorPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.loki.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/distributor/deployment-distributor.yaml b/charts/loki-distributed/templates/distributor/deployment-distributor.yaml index 10265184f8..4cc4d8a930 100644 --- a/charts/loki-distributed/templates/distributor/deployment-distributor.yaml +++ b/charts/loki-distributed/templates/distributor/deployment-distributor.yaml @@ -47,6 +47,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.distributorPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.loki.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/gateway/deployment-gateway.yaml b/charts/loki-distributed/templates/gateway/deployment-gateway.yaml index b59980c5db..15e28e4c3a 100644 --- a/charts/loki-distributed/templates/gateway/deployment-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/deployment-gateway.yaml @@ -45,6 +45,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.gatewayPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.gateway.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml b/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml index 484b6de1b8..1be4182422 100644 --- a/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml +++ b/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml @@ -43,6 +43,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.indexGatewayPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.loki.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/ingester/deployment-ingester.yaml b/charts/loki-distributed/templates/ingester/deployment-ingester.yaml index b5a1a82c7f..27af808593 100644 --- a/charts/loki-distributed/templates/ingester/deployment-ingester.yaml +++ b/charts/loki-distributed/templates/ingester/deployment-ingester.yaml @@ -44,6 +44,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.ingesterPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.loki.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml b/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml index 8b0722c6c2..1909338d43 100644 --- a/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml +++ b/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml @@ -55,6 +55,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.ingesterPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.loki.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml b/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml index 095421015e..ecc8c3351a 100644 --- a/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml +++ b/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml @@ -45,6 +45,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.memcachedChunksPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.memcached.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml b/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml index c12c9a3d05..1351949441 100644 --- a/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml +++ b/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml @@ -45,6 +45,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.memcachedFrontendPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.memcached.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml b/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml index fd0f78b7b8..92b79c1461 100644 --- a/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml +++ b/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml @@ -45,6 +45,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.memcachedIndexQueriesPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.memcached.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml b/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml index 0956076687..fe59699487 100644 --- a/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml +++ b/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml @@ -45,6 +45,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.memcachedIndexWritesPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.memcached.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/querier/deployment-querier.yaml b/charts/loki-distributed/templates/querier/deployment-querier.yaml index bb00b9801a..a67b15938c 100644 --- a/charts/loki-distributed/templates/querier/deployment-querier.yaml +++ b/charts/loki-distributed/templates/querier/deployment-querier.yaml @@ -54,6 +54,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.querierPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.loki.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/querier/statefulset-querier.yaml b/charts/loki-distributed/templates/querier/statefulset-querier.yaml index 35d09a90f4..195d186f50 100644 --- a/charts/loki-distributed/templates/querier/statefulset-querier.yaml +++ b/charts/loki-distributed/templates/querier/statefulset-querier.yaml @@ -53,6 +53,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.querierPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.loki.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml b/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml index f8a467f912..b968adb422 100644 --- a/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml +++ b/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml @@ -45,6 +45,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.queryFrontendPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.loki.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/query-scheduler/deployment-query-scheduler.yaml b/charts/loki-distributed/templates/query-scheduler/deployment-query-scheduler.yaml index 15d54220d4..888f60aa24 100644 --- a/charts/loki-distributed/templates/query-scheduler/deployment-query-scheduler.yaml +++ b/charts/loki-distributed/templates/query-scheduler/deployment-query-scheduler.yaml @@ -44,6 +44,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.querySchedulerPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.loki.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/ruler/deployment-ruler.yaml b/charts/loki-distributed/templates/ruler/deployment-ruler.yaml index 2e390b3143..65e0464f4f 100644 --- a/charts/loki-distributed/templates/ruler/deployment-ruler.yaml +++ b/charts/loki-distributed/templates/ruler/deployment-ruler.yaml @@ -45,6 +45,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.rulerPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.loki.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/ruler/statefulset-ruler.yaml b/charts/loki-distributed/templates/ruler/statefulset-ruler.yaml index 82432a6be7..2b53aa29a3 100644 --- a/charts/loki-distributed/templates/ruler/statefulset-ruler.yaml +++ b/charts/loki-distributed/templates/ruler/statefulset-ruler.yaml @@ -42,6 +42,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.rulerPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.loki.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml b/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml index 81ed81ed40..65cc441cb6 100644 --- a/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml +++ b/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml @@ -39,6 +39,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} {{- include "loki.tableManagerPriorityClassName" . | nindent 6 }} securityContext: {{- toYaml .Values.loki.podSecurityContext | nindent 8 }} diff --git a/charts/loki-distributed/values.yaml b/charts/loki-distributed/values.yaml index a10724d430..61eff0000d 100644 --- a/charts/loki-distributed/values.yaml +++ b/charts/loki-distributed/values.yaml @@ -20,6 +20,12 @@ fullnameOverride: null # -- Image pull secrets for Docker images imagePullSecrets: [] +# -- hostAliases to add +hostAliases: [] +# - ip: 1.2.3.4 +# hostnames: +# - domain.tld + loki: # -- If set, these annotations are added to all of the Kubernetes controllers # (Deployments, StatefulSets, etc) that this chart launches. Use this to From 22164faea3ee81ea7117f47a124ad2d828809e4f Mon Sep 17 00:00:00 2001 From: YuleZ Date: Wed, 26 Jul 2023 11:41:12 +0200 Subject: [PATCH 2/5] bump version Signed-off-by: YuleZ --- charts/loki-distributed/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/loki-distributed/Chart.yaml b/charts/loki-distributed/Chart.yaml index f94948bc0b..495b5d5112 100644 --- a/charts/loki-distributed/Chart.yaml +++ b/charts/loki-distributed/Chart.yaml @@ -3,7 +3,7 @@ name: loki-distributed description: Helm chart for Grafana Loki in microservices mode type: application appVersion: 2.8.3 -version: 0.70.5 +version: 0.71.0 home: https://grafana.github.io/helm-charts sources: - https://github.com/grafana/loki From 593b66563a8878a66739871b552aa1523283a163 Mon Sep 17 00:00:00 2001 From: YuleZ Date: Wed, 26 Jul 2023 12:02:00 +0200 Subject: [PATCH 3/5] set hostAliases for each component instead of global Signed-off-by: YuleZ --- .../compactor/deployment-compactor.yaml | 2 +- .../distributor/deployment-distributor.yaml | 2 +- .../templates/gateway/deployment-gateway.yaml | 2 +- .../statefulset-index-gateway.yaml | 2 +- .../ingester/deployment-ingester.yaml | 2 +- .../ingester/statefulset-ingester.yaml | 2 +- .../statefulset-memcached-chunks.yaml | 2 +- .../statefulset-memcached-frontend.yaml | 2 +- .../statefulset-memcached-index-queries.yaml | 2 +- .../statefulset-memcached-index-writes.yaml | 2 +- .../templates/querier/deployment-querier.yaml | 2 +- .../querier/statefulset-querier.yaml | 2 +- .../deployment-query-frontend.yaml | 2 +- .../deployment-query-scheduler.yaml | 2 +- .../templates/ruler/deployment-ruler.yaml | 2 +- .../templates/ruler/statefulset-ruler.yaml | 2 +- .../deployment-table-manager.yaml | 2 +- charts/loki-distributed/values.yaml | 70 +++++++++++++++++++ 18 files changed, 87 insertions(+), 17 deletions(-) diff --git a/charts/loki-distributed/templates/compactor/deployment-compactor.yaml b/charts/loki-distributed/templates/compactor/deployment-compactor.yaml index 1bf2b6c208..925155c789 100644 --- a/charts/loki-distributed/templates/compactor/deployment-compactor.yaml +++ b/charts/loki-distributed/templates/compactor/deployment-compactor.yaml @@ -43,7 +43,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.compactor.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/distributor/deployment-distributor.yaml b/charts/loki-distributed/templates/distributor/deployment-distributor.yaml index 4cc4d8a930..367fce1e07 100644 --- a/charts/loki-distributed/templates/distributor/deployment-distributor.yaml +++ b/charts/loki-distributed/templates/distributor/deployment-distributor.yaml @@ -47,7 +47,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.distributor.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/gateway/deployment-gateway.yaml b/charts/loki-distributed/templates/gateway/deployment-gateway.yaml index 15e28e4c3a..c3c2d61e97 100644 --- a/charts/loki-distributed/templates/gateway/deployment-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/deployment-gateway.yaml @@ -45,7 +45,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.gateway.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml b/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml index 1be4182422..78cc270533 100644 --- a/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml +++ b/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml @@ -43,7 +43,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.indexGateway.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/ingester/deployment-ingester.yaml b/charts/loki-distributed/templates/ingester/deployment-ingester.yaml index 27af808593..08297e1d69 100644 --- a/charts/loki-distributed/templates/ingester/deployment-ingester.yaml +++ b/charts/loki-distributed/templates/ingester/deployment-ingester.yaml @@ -44,7 +44,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.ingester.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml b/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml index 1909338d43..7bee7681c1 100644 --- a/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml +++ b/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml @@ -55,7 +55,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.ingester.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml b/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml index ecc8c3351a..d4556e6996 100644 --- a/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml +++ b/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml @@ -45,7 +45,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.memcachedChunks.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml b/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml index 1351949441..24a3a9e4b0 100644 --- a/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml +++ b/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml @@ -45,7 +45,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.memcachedFrontend.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml b/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml index 92b79c1461..d09d69bd5f 100644 --- a/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml +++ b/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml @@ -45,7 +45,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.memcachedIndexQueries.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml b/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml index fe59699487..bbff176115 100644 --- a/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml +++ b/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml @@ -45,7 +45,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.memcachedIndexWrites.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/querier/deployment-querier.yaml b/charts/loki-distributed/templates/querier/deployment-querier.yaml index a67b15938c..9b905c60e4 100644 --- a/charts/loki-distributed/templates/querier/deployment-querier.yaml +++ b/charts/loki-distributed/templates/querier/deployment-querier.yaml @@ -54,7 +54,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.querier.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/querier/statefulset-querier.yaml b/charts/loki-distributed/templates/querier/statefulset-querier.yaml index 195d186f50..df02af99b3 100644 --- a/charts/loki-distributed/templates/querier/statefulset-querier.yaml +++ b/charts/loki-distributed/templates/querier/statefulset-querier.yaml @@ -53,7 +53,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.querier.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml b/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml index b968adb422..c996d69234 100644 --- a/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml +++ b/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml @@ -45,7 +45,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.queryFrontend.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/query-scheduler/deployment-query-scheduler.yaml b/charts/loki-distributed/templates/query-scheduler/deployment-query-scheduler.yaml index 888f60aa24..cb1475a7fa 100644 --- a/charts/loki-distributed/templates/query-scheduler/deployment-query-scheduler.yaml +++ b/charts/loki-distributed/templates/query-scheduler/deployment-query-scheduler.yaml @@ -44,7 +44,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.queryScheduler.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/ruler/deployment-ruler.yaml b/charts/loki-distributed/templates/ruler/deployment-ruler.yaml index 65e0464f4f..2a777ecf45 100644 --- a/charts/loki-distributed/templates/ruler/deployment-ruler.yaml +++ b/charts/loki-distributed/templates/ruler/deployment-ruler.yaml @@ -45,7 +45,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.ruler.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/ruler/statefulset-ruler.yaml b/charts/loki-distributed/templates/ruler/statefulset-ruler.yaml index 2b53aa29a3..e473c9d816 100644 --- a/charts/loki-distributed/templates/ruler/statefulset-ruler.yaml +++ b/charts/loki-distributed/templates/ruler/statefulset-ruler.yaml @@ -42,7 +42,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.ruler.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml b/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml index 65cc441cb6..b1543acaeb 100644 --- a/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml +++ b/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml @@ -39,7 +39,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.hostAliases }} + {{- with .Values.tableManager.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/loki-distributed/values.yaml b/charts/loki-distributed/values.yaml index 61eff0000d..933b3395a3 100644 --- a/charts/loki-distributed/values.yaml +++ b/charts/loki-distributed/values.yaml @@ -370,6 +370,11 @@ ingester: kind: StatefulSet # -- Number of replicas for the ingester replicas: 1 + # -- hostAliases to add + hostAliases: [ ] + # - ip: 1.2.3.4 + # hostnames: + # - domain.tld autoscaling: # -- Enable autoscaling for the ingester enabled: false @@ -488,6 +493,11 @@ ingester: distributor: # -- Number of replicas for the distributor replicas: 1 + # -- hostAliases to add + hostAliases: [ ] + # - ip: 1.2.3.4 + # hostnames: + # - domain.tld autoscaling: # -- Enable autoscaling for the distributor enabled: false @@ -570,6 +580,11 @@ distributor: querier: # -- Number of replicas for the querier replicas: 1 + # -- hostAliases to add + hostAliases: [ ] + # - ip: 1.2.3.4 + # hostnames: + # - domain.tld autoscaling: # -- Enable autoscaling for the querier, this is only used if `indexGateway.enabled: true` enabled: false @@ -678,6 +693,11 @@ querier: queryFrontend: # -- Number of replicas for the query-frontend replicas: 1 + # -- hostAliases to add + hostAliases: [ ] + # - ip: 1.2.3.4 + # hostnames: + # - domain.tld autoscaling: # -- Enable autoscaling for the query-frontend enabled: false @@ -764,6 +784,11 @@ queryScheduler: # It should be lower than `-querier.max-concurrent` to avoid generating back-pressure in queriers; # it's also recommended that this value evenly divides the latter replicas: 2 + # -- hostAliases to add + hostAliases: [ ] + # - ip: 1.2.3.4 + # hostnames: + # - domain.tld image: # -- The Docker registry for the query-scheduler image. Overrides `loki.image.registry` registry: null @@ -822,6 +847,11 @@ queryScheduler: tableManager: # -- Specifies whether the table-manager should be enabled enabled: false + # -- hostAliases to add + hostAliases: [ ] + # - ip: 1.2.3.4 + # hostnames: + # - domain.tld image: # -- The Docker registry for the table-manager image. Overrides `loki.image.registry` registry: null @@ -913,6 +943,11 @@ ingress: gateway: # -- Specifies whether the gateway should be enabled enabled: true + # -- hostAliases to add + hostAliases: [ ] + # - ip: 1.2.3.4 + # hostnames: + # - domain.tld # -- Number of replicas for the gateway replicas: 1 # -- Enable logging of 2xx and 3xx HTTP requests @@ -1217,6 +1252,11 @@ gateway: compactor: # -- Specifies whether compactor should be enabled enabled: false + # -- hostAliases to add + hostAliases: [ ] + # - ip: 1.2.3.4 + # hostnames: + # - domain.tld image: # -- The Docker registry for the compactor image. Overrides `loki.image.registry` registry: null @@ -1306,6 +1346,11 @@ ruler: kind: Deployment # -- Number of replicas for the ruler replicas: 1 + # -- hostAliases to add + hostAliases: [ ] + # - ip: 1.2.3.4 + # hostnames: + # - domain.tld image: # -- The Docker registry for the ruler image. Overrides `loki.image.registry` registry: null @@ -1451,6 +1496,11 @@ indexGateway: enabled: false # -- Number of replicas for the index-gateway replicas: 1 + # -- hostAliases to add + hostAliases: [ ] + # - ip: 1.2.3.4 + # hostnames: + # - domain.tld image: # -- The Docker registry for the index-gateway image. Overrides `loki.image.registry` registry: null @@ -1588,6 +1638,11 @@ memcachedExporter: memcachedChunks: # -- Specifies whether the Memcached chunks cache should be enabled enabled: false + # -- hostAliases to add + hostAliases: [ ] + # - ip: 1.2.3.4 + # hostnames: + # - domain.tld # -- Number of replicas for memcached-chunks replicas: 1 # -- The name of the PriorityClass for memcached-chunks pods @@ -1648,6 +1703,11 @@ memcachedChunks: memcachedFrontend: # -- Specifies whether the Memcached frontend cache should be enabled enabled: false + # -- hostAliases to add + hostAliases: [ ] + # - ip: 1.2.3.4 + # hostnames: + # - domain.tld # -- Number of replicas for memcached-frontend replicas: 1 # -- The name of the PriorityClass for memcached-frontend pods @@ -1710,6 +1770,11 @@ memcachedIndexQueries: enabled: false # -- Number of replicas for memcached-index-queries replicas: 1 + # -- hostAliases to add + hostAliases: [ ] + # - ip: 1.2.3.4 + # hostnames: + # - domain.tld # -- The name of the PriorityClass for memcached-index-queries pods priorityClassName: null # -- Labels for memcached-index-queries pods @@ -1770,6 +1835,11 @@ memcachedIndexWrites: enabled: false # -- Number of replicas for memcached-index-writes replicas: 1 + # -- hostAliases to add + hostAliases: [ ] + # - ip: 1.2.3.4 + # hostnames: + # - domain.tld # -- The name of the PriorityClass for memcached-index-writes pods priorityClassName: null # -- Labels for memcached-index-writes pods From 6a79f36d2fc21af42a5cc3d4e7045b2db8169818 Mon Sep 17 00:00:00 2001 From: YuleZ Date: Thu, 27 Jul 2023 10:53:26 +0200 Subject: [PATCH 4/5] apply suggestions Signed-off-by: YuleZ --- charts/loki-distributed/values.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/charts/loki-distributed/values.yaml b/charts/loki-distributed/values.yaml index 933b3395a3..283acabc28 100644 --- a/charts/loki-distributed/values.yaml +++ b/charts/loki-distributed/values.yaml @@ -371,7 +371,7 @@ ingester: # -- Number of replicas for the ingester replicas: 1 # -- hostAliases to add - hostAliases: [ ] + hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld @@ -494,7 +494,7 @@ distributor: # -- Number of replicas for the distributor replicas: 1 # -- hostAliases to add - hostAliases: [ ] + hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld @@ -581,7 +581,7 @@ querier: # -- Number of replicas for the querier replicas: 1 # -- hostAliases to add - hostAliases: [ ] + hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld @@ -694,7 +694,7 @@ queryFrontend: # -- Number of replicas for the query-frontend replicas: 1 # -- hostAliases to add - hostAliases: [ ] + hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld @@ -785,7 +785,7 @@ queryScheduler: # it's also recommended that this value evenly divides the latter replicas: 2 # -- hostAliases to add - hostAliases: [ ] + hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld @@ -848,7 +848,7 @@ tableManager: # -- Specifies whether the table-manager should be enabled enabled: false # -- hostAliases to add - hostAliases: [ ] + hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld @@ -944,7 +944,7 @@ gateway: # -- Specifies whether the gateway should be enabled enabled: true # -- hostAliases to add - hostAliases: [ ] + hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld @@ -1253,7 +1253,7 @@ compactor: # -- Specifies whether compactor should be enabled enabled: false # -- hostAliases to add - hostAliases: [ ] + hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld @@ -1347,7 +1347,7 @@ ruler: # -- Number of replicas for the ruler replicas: 1 # -- hostAliases to add - hostAliases: [ ] + hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld @@ -1497,7 +1497,7 @@ indexGateway: # -- Number of replicas for the index-gateway replicas: 1 # -- hostAliases to add - hostAliases: [ ] + hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld @@ -1639,7 +1639,7 @@ memcachedChunks: # -- Specifies whether the Memcached chunks cache should be enabled enabled: false # -- hostAliases to add - hostAliases: [ ] + hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld @@ -1704,7 +1704,7 @@ memcachedFrontend: # -- Specifies whether the Memcached frontend cache should be enabled enabled: false # -- hostAliases to add - hostAliases: [ ] + hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld @@ -1771,7 +1771,7 @@ memcachedIndexQueries: # -- Number of replicas for memcached-index-queries replicas: 1 # -- hostAliases to add - hostAliases: [ ] + hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld @@ -1836,7 +1836,7 @@ memcachedIndexWrites: # -- Number of replicas for memcached-index-writes replicas: 1 # -- hostAliases to add - hostAliases: [ ] + hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld From c7423c4cc199ea8d2c83c37cc22358551b04d79b Mon Sep 17 00:00:00 2001 From: YuleZ Date: Thu, 27 Jul 2023 11:04:28 +0200 Subject: [PATCH 5/5] regenerate docs Signed-off-by: YuleZ --- charts/loki-distributed/README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/charts/loki-distributed/README.md b/charts/loki-distributed/README.md index 87ee4d539c..048731eb3d 100644 --- a/charts/loki-distributed/README.md +++ b/charts/loki-distributed/README.md @@ -1,6 +1,6 @@ # loki-distributed -![Version: 0.70.5](https://img.shields.io/badge/Version-0.70.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.8.3](https://img.shields.io/badge/AppVersion-2.8.3-informational?style=flat-square) +![Version: 0.71.0](https://img.shields.io/badge/Version-0.71.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.8.3](https://img.shields.io/badge/AppVersion-2.8.3-informational?style=flat-square) Helm chart for Grafana Loki in microservices mode @@ -85,6 +85,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | compactor.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the compactor pods | | compactor.extraVolumeMounts | list | `[]` | Volume mounts to add to the compactor pods | | compactor.extraVolumes | list | `[]` | Volumes to add to the compactor pods | +| compactor.hostAliases | list | `[]` | hostAliases to add | | compactor.image.registry | string | `nil` | The Docker registry for the compactor image. Overrides `loki.image.registry` | | compactor.image.repository | string | `nil` | Docker image repository for the compactor image. Overrides `loki.image.repository` | | compactor.image.tag | string | `nil` | Docker image tag for the compactor image. Overrides `loki.image.tag` | @@ -124,6 +125,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | distributor.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the distributor pods | | distributor.extraVolumeMounts | list | `[]` | Volume mounts to add to the distributor pods | | distributor.extraVolumes | list | `[]` | Volumes to add to the distributor pods | +| distributor.hostAliases | list | `[]` | hostAliases to add | | distributor.image.registry | string | `nil` | The Docker registry for the distributor image. Overrides `loki.image.registry` | | distributor.image.repository | string | `nil` | Docker image repository for the distributor image. Overrides `loki.image.repository` | | distributor.image.tag | string | `nil` | Docker image tag for the distributor image. Overrides `loki.image.tag` | @@ -162,6 +164,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | gateway.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the gateway pods | | gateway.extraVolumeMounts | list | `[]` | Volume mounts to add to the gateway pods | | gateway.extraVolumes | list | `[]` | Volumes to add to the gateway pods | +| gateway.hostAliases | list | `[]` | hostAliases to add | | gateway.image.pullPolicy | string | `"IfNotPresent"` | The gateway image pull policy | | gateway.image.registry | string | `"docker.io"` | The Docker registry for the gateway image | | gateway.image.repository | string | `"nginxinc/nginx-unprivileged"` | The gateway image repository | @@ -208,6 +211,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | global.dnsService | string | `"kube-dns"` | configures DNS service name | | global.image.registry | string | `nil` | Overrides the Docker registry globally for all images | | global.priorityClassName | string | `nil` | Overrides the priorityClassName for all pods | +| hostAliases | list | `[]` | hostAliases to add | | imagePullSecrets | list | `[]` | Image pull secrets for Docker images | | indexGateway.affinity | string | Hard node and soft zone anti-affinity | Affinity for index-gateway pods. Passed through `tpl` and, thus, to be configured as string | | indexGateway.enabled | bool | `false` | Specifies whether the index-gateway should be enabled | @@ -217,6 +221,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | indexGateway.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the index-gateway pods | | indexGateway.extraVolumeMounts | list | `[]` | Volume mounts to add to the index-gateway pods | | indexGateway.extraVolumes | list | `[]` | Volumes to add to the index-gateway pods | +| indexGateway.hostAliases | list | `[]` | hostAliases to add | | indexGateway.image.registry | string | `nil` | The Docker registry for the index-gateway image. Overrides `loki.image.registry` | | indexGateway.image.repository | string | `nil` | Docker image repository for the index-gateway image. Overrides `loki.image.repository` | | indexGateway.image.tag | string | `nil` | Docker image tag for the index-gateway image. Overrides `loki.image.tag` | @@ -254,6 +259,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | ingester.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the ingester pods | | ingester.extraVolumeMounts | list | `[]` | Volume mounts to add to the ingester pods | | ingester.extraVolumes | list | `[]` | Volumes to add to the ingester pods | +| ingester.hostAliases | list | `[]` | hostAliases to add | | ingester.image.registry | string | `nil` | The Docker registry for the ingester image. Overrides `loki.image.registry` | | ingester.image.repository | string | `nil` | Docker image repository for the ingester image. Overrides `loki.image.repository` | | ingester.image.tag | string | `nil` | Docker image tag for the ingester image. Overrides `loki.image.tag` | @@ -333,6 +339,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | memcachedChunks.extraContainers | list | `[]` | Containers to add to the memcached-chunks pods | | memcachedChunks.extraEnv | list | `[]` | Environment variables to add to memcached-chunks pods | | memcachedChunks.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to memcached-chunks pods | +| memcachedChunks.hostAliases | list | `[]` | hostAliases to add | | memcachedChunks.maxUnavailable | string | `nil` | Pod Disruption Budget maxUnavailable | | memcachedChunks.nodeSelector | object | `{}` | Node selector for memcached-chunks pods | | memcachedChunks.persistence.enabled | bool | `false` | Enable creating PVCs which will persist cached data through restarts | @@ -360,6 +367,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | memcachedFrontend.extraContainers | list | `[]` | Containers to add to the memcached-frontend pods | | memcachedFrontend.extraEnv | list | `[]` | Environment variables to add to memcached-frontend pods | | memcachedFrontend.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to memcached-frontend pods | +| memcachedFrontend.hostAliases | list | `[]` | hostAliases to add | | memcachedFrontend.maxUnavailable | int | `1` | Pod Disruption Budget maxUnavailable | | memcachedFrontend.nodeSelector | object | `{}` | Node selector for memcached-frontend pods | | memcachedFrontend.persistence.enabled | bool | `false` | Enable creating PVCs which will persist cached data through restarts | @@ -379,6 +387,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | memcachedIndexQueries.extraContainers | list | `[]` | Containers to add to the memcached-index-queries pods | | memcachedIndexQueries.extraEnv | list | `[]` | Environment variables to add to memcached-index-queries pods | | memcachedIndexQueries.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to memcached-index-queries pods | +| memcachedIndexQueries.hostAliases | list | `[]` | hostAliases to add | | memcachedIndexQueries.maxUnavailable | string | `nil` | Pod Disruption Budget maxUnavailable | | memcachedIndexQueries.nodeSelector | object | `{}` | Node selector for memcached-index-queries pods | | memcachedIndexQueries.persistence.enabled | bool | `false` | Enable creating PVCs which will persist cached data through restarts | @@ -398,6 +407,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | memcachedIndexWrites.extraContainers | list | `[]` | Containers to add to the memcached-index-writes pods | | memcachedIndexWrites.extraEnv | list | `[]` | Environment variables to add to memcached-index-writes pods | | memcachedIndexWrites.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to memcached-index-writes pods | +| memcachedIndexWrites.hostAliases | list | `[]` | hostAliases to add | | memcachedIndexWrites.maxUnavailable | string | `nil` | Pod Disruption Budget maxUnavailable | | memcachedIndexWrites.nodeSelector | object | `{}` | Node selector for memcached-index-writes pods | | memcachedIndexWrites.persistence.enabled | bool | `false` | Enable creating PVCs which will persist cached data through restarts | @@ -450,6 +460,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | querier.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the querier pods | | querier.extraVolumeMounts | list | `[]` | Volume mounts to add to the querier pods | | querier.extraVolumes | list | `[]` | Volumes to add to the querier pods | +| querier.hostAliases | list | `[]` | hostAliases to add | | querier.image.registry | string | `nil` | The Docker registry for the querier image. Overrides `loki.image.registry` | | querier.image.repository | string | `nil` | Docker image repository for the querier image. Overrides `loki.image.repository` | | querier.image.tag | string | `nil` | Docker image tag for the querier image. Overrides `loki.image.tag` | @@ -487,6 +498,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | queryFrontend.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the query-frontend pods | | queryFrontend.extraVolumeMounts | list | `[]` | Volume mounts to add to the query-frontend pods | | queryFrontend.extraVolumes | list | `[]` | Volumes to add to the query-frontend pods | +| queryFrontend.hostAliases | list | `[]` | hostAliases to add | | queryFrontend.image.registry | string | `nil` | The Docker registry for the query-frontend image. Overrides `loki.image.registry` | | queryFrontend.image.repository | string | `nil` | Docker image repository for the query-frontend image. Overrides `loki.image.repository` | | queryFrontend.image.tag | string | `nil` | Docker image tag for the query-frontend image. Overrides `loki.image.tag` | @@ -508,6 +520,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | queryScheduler.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the query-scheduler pods | | queryScheduler.extraVolumeMounts | list | `[]` | Volume mounts to add to the query-scheduler pods | | queryScheduler.extraVolumes | list | `[]` | Volumes to add to the query-scheduler pods | +| queryScheduler.hostAliases | list | `[]` | hostAliases to add | | queryScheduler.image.registry | string | `nil` | The Docker registry for the query-scheduler image. Overrides `loki.image.registry` | | queryScheduler.image.repository | string | `nil` | Docker image repository for the query-scheduler image. Overrides `loki.image.repository` | | queryScheduler.image.tag | string | `nil` | Docker image tag for the query-scheduler image. Overrides `loki.image.tag` | @@ -534,6 +547,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | ruler.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the ruler pods | | ruler.extraVolumeMounts | list | `[]` | Volume mounts to add to the ruler pods | | ruler.extraVolumes | list | `[]` | Volumes to add to the ruler pods | +| ruler.hostAliases | list | `[]` | hostAliases to add | | ruler.image.registry | string | `nil` | The Docker registry for the ruler image. Overrides `loki.image.registry` | | ruler.image.repository | string | `nil` | Docker image repository for the ruler image. Overrides `loki.image.repository` | | ruler.image.tag | string | `nil` | Docker image tag for the ruler image. Overrides `loki.image.tag` | @@ -581,6 +595,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | tableManager.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the table-manager pods | | tableManager.extraVolumeMounts | list | `[]` | Volume mounts to add to the table-manager pods | | tableManager.extraVolumes | list | `[]` | Volumes to add to the table-manager pods | +| tableManager.hostAliases | list | `[]` | hostAliases to add | | tableManager.image.registry | string | `nil` | The Docker registry for the table-manager image. Overrides `loki.image.registry` | | tableManager.image.repository | string | `nil` | Docker image repository for the table-manager image. Overrides `loki.image.repository` | | tableManager.image.tag | string | `nil` | Docker image tag for the table-manager image. Overrides `loki.image.tag` |