diff --git a/operations/compare-helm-with-jsonnet/helm/00-base/values.yaml b/operations/compare-helm-with-jsonnet/helm/00-base/values.yaml index a38d5a7356..5d83f053b1 100644 --- a/operations/compare-helm-with-jsonnet/helm/00-base/values.yaml +++ b/operations/compare-helm-with-jsonnet/helm/00-base/values.yaml @@ -22,6 +22,11 @@ rollout_operator: ingester: zoneAwareReplication: enabled: false + resources: + requests: + # request the same as jsonnet, so that the derived GOMAXPROCS are the same + cpu: 4 + memory: 15Gi store_gateway: zoneAwareReplication: enabled: false diff --git a/operations/compare-helm-with-jsonnet/helm/06-pods/kustomization.yaml b/operations/compare-helm-with-jsonnet/helm/06-pods/kustomization.yaml index 4cdca1a951..6b59a490c2 100644 --- a/operations/compare-helm-with-jsonnet/helm/06-pods/kustomization.yaml +++ b/operations/compare-helm-with-jsonnet/helm/06-pods/kustomization.yaml @@ -83,11 +83,3 @@ patches: patch: |- - op: remove path: /spec/template/metadata/namespace - - # TODO dimitarvdimitrov: GOMAXPROCS isn't present in Helm for now - - target: - name: mimir-ingester - kind: StatefulSet - patch: |- - - op: remove - path: /spec/template/spec/containers/0/env diff --git a/operations/compare-helm-with-jsonnet/jsonnet/07-pods/kustomization.yaml b/operations/compare-helm-with-jsonnet/jsonnet/07-pods/kustomization.yaml index f50d340d23..6522051d8a 100644 --- a/operations/compare-helm-with-jsonnet/jsonnet/07-pods/kustomization.yaml +++ b/operations/compare-helm-with-jsonnet/jsonnet/07-pods/kustomization.yaml @@ -13,14 +13,6 @@ patches: - op: remove path: /spec/template/spec/containers/0/env - # TODO dimitarvdimitrov: GOMAXPROCS isn't present in Helm for now - - target: - name: mimir-ingester - kind: StatefulSet - patch: |- - - op: remove - path: /spec/template/spec/containers/0/env - # TODO(logiraptor): Jsonnet uses a deprecated PodDisruptionBudget api version - target: name: mimir-(ingester|store-gateway) diff --git a/operations/helm/charts/mimir-distributed/CHANGELOG.md b/operations/helm/charts/mimir-distributed/CHANGELOG.md index 8b91b59a9a..5d1254d5cf 100644 --- a/operations/helm/charts/mimir-distributed/CHANGELOG.md +++ b/operations/helm/charts/mimir-distributed/CHANGELOG.md @@ -47,6 +47,7 @@ Entries should include a reference to the Pull Request that introduced the chang * [ENHANCEMENT] Helm : allow setting a read and write urls to continous-test. #8741 * [ENHANCEMENT] Add support for running continuous-test with GEM #8837 * [ENHANCEMENT] Alerts: `RequestErrors` and `RulerRemoteEvaluationFailing` have been enriched with a native histogram version. #9004 +* [ENHANCEMENT] Ingester: set GOMAXPROCS to help with golang scheduling overhead when running on machines with a lot of cores. #9283 * [BUGFIX] Add missing container security context to run `continuous-test` under the restricted security policy. #8653 * [BUGFIX] Add `global.extraVolumeMounts` to the exporter container on memcached statefulsets #8787 * [BUGFIX] Fix helm releases failing when `querier.kedaAutoscaling.predictiveScalingEnabled=true`. #8731 diff --git a/operations/helm/charts/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/charts/mimir-distributed/templates/ingester/ingester-statefulset.yaml index f8a27bd745..1cc229efca 100644 --- a/operations/helm/charts/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/charts/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -186,6 +186,13 @@ spec: {{- $jaeger_queue_size := dig "jaegerReporterMaxQueueSize" nil .Values.ingester }} {{- if or .Values.global.extraEnv .Values.ingester.env $jaeger_queue_size }} env: + {{- $cpu_request := dig "requests" "cpu" nil .Values.ingester.resources }} + {{- if $cpu_request }} + {{- $cpu_request_between_3_and_6 := include "mimir.parseCPU" (dict "value" $cpu_request) | float64 | min 6 | max 3 }} + {{/* copy logic from operations/mimir/ingester.libsonnet */}} + - name: "GOMAXPROCS" + value: {{ addf $cpu_request $cpu_request_between_3_and_6 1 | ceil | toString | toYaml }} + {{- end }} {{- with .Values.global.extraEnv }} {{- toYaml . | nindent 12 }} {{- end }} diff --git a/operations/helm/tests/enterprise-https-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/enterprise-https-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index c43e39a98e..11de918d6d 100644 --- a/operations/helm/tests/enterprise-https-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/enterprise-https-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -143,6 +143,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -290,6 +293,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -437,5 +443,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/gateway-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/gateway-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 3c6ea49c21..d15f27737c 100644 --- a/operations/helm/tests/gateway-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/gateway-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -134,6 +134,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -272,6 +275,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -410,5 +416,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/gateway-nginx-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/gateway-nginx-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 3cec2112d5..6f6b117679 100644 --- a/operations/helm/tests/gateway-nginx-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/gateway-nginx-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -129,6 +129,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -262,6 +265,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -395,5 +401,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/graphite-enabled-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/graphite-enabled-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 7cb6c7a5e7..4ed97bd857 100644 --- a/operations/helm/tests/graphite-enabled-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/graphite-enabled-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -127,5 +127,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/keda-autoscaling-global-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/keda-autoscaling-global-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 90772c9d99..0ed6d19d69 100644 --- a/operations/helm/tests/keda-autoscaling-global-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/keda-autoscaling-global-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -129,6 +129,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -262,6 +265,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -395,5 +401,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/keda-autoscaling-metamonitoring-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/keda-autoscaling-metamonitoring-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 6afef08c88..c81c286708 100644 --- a/operations/helm/tests/keda-autoscaling-metamonitoring-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/keda-autoscaling-metamonitoring-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -129,6 +129,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -262,6 +265,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -395,5 +401,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/keda-autoscaling-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/keda-autoscaling-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 79371704cf..30173f32be 100644 --- a/operations/helm/tests/keda-autoscaling-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/keda-autoscaling-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -129,6 +129,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -262,6 +265,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -395,5 +401,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/large-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/large-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index d087792ab8..3a0d176d04 100644 --- a/operations/helm/tests/large-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/large-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -145,6 +145,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "8" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -294,6 +297,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "8" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -443,5 +449,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "8" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/metamonitoring-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/metamonitoring-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 432401fe8c..028fdd390c 100644 --- a/operations/helm/tests/metamonitoring-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/metamonitoring-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -122,5 +122,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/openshift-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/openshift-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index ee04c85044..c668bb37c4 100644 --- a/operations/helm/tests/openshift-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/openshift-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -131,6 +131,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -266,6 +269,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -401,5 +407,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/scheduler-name-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/scheduler-name-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 4b31b808f0..ee0ac31f33 100644 --- a/operations/helm/tests/scheduler-name-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/scheduler-name-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -130,6 +130,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -264,6 +267,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -398,5 +404,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/small-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/small-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 664a200c07..40c76ce2d5 100644 --- a/operations/helm/tests/small-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/small-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -145,6 +145,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "8" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -294,6 +297,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "8" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -443,5 +449,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "8" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/test-enterprise-k8s-1.25-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/test-enterprise-k8s-1.25-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 74f193505e..f13567e775 100644 --- a/operations/helm/tests/test-enterprise-k8s-1.25-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/test-enterprise-k8s-1.25-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -134,6 +134,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -272,6 +275,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -410,5 +416,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/test-enterprise-legacy-label-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/test-enterprise-legacy-label-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 377d40bb3b..cb66e80ff4 100644 --- a/operations/helm/tests/test-enterprise-legacy-label-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/test-enterprise-legacy-label-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -126,6 +126,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -256,6 +259,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -386,5 +392,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index dc243136cb..90371b56df 100644 --- a/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/test-enterprise-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -131,6 +131,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -266,6 +269,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -401,5 +407,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/test-ingress-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/test-ingress-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index ceb6e26581..eb52ddad3d 100644 --- a/operations/helm/tests/test-ingress-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/test-ingress-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -129,6 +129,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -262,6 +265,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -395,5 +401,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/test-oss-k8s-1.25-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/test-oss-k8s-1.25-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 018a50ad8a..37247aa56d 100644 --- a/operations/helm/tests/test-oss-k8s-1.25-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/test-oss-k8s-1.25-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -129,6 +129,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -262,6 +265,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -395,5 +401,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/test-oss-multizone-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/test-oss-multizone-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 8cd00f9946..497c1c691e 100644 --- a/operations/helm/tests/test-oss-multizone-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/test-oss-multizone-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -152,6 +152,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -308,6 +311,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -464,5 +470,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/test-oss-topology-spread-constraints-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/test-oss-topology-spread-constraints-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 0e6ca5eb01..0ff8ac3e9f 100644 --- a/operations/helm/tests/test-oss-topology-spread-constraints-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/test-oss-topology-spread-constraints-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -150,6 +150,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -304,6 +307,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -458,5 +464,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/test-requests-and-limits-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/test-requests-and-limits-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 62d16e3157..b1aaf2566d 100644 --- a/operations/helm/tests/test-requests-and-limits-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/test-requests-and-limits-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -129,6 +129,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -262,6 +265,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -395,5 +401,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/test-ruler-dedicated-query-path-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/test-ruler-dedicated-query-path-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 9f4638f4e1..1100f3e4b1 100644 --- a/operations/helm/tests/test-ruler-dedicated-query-path-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/test-ruler-dedicated-query-path-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -129,6 +129,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -262,6 +265,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -395,5 +401,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" diff --git a/operations/helm/tests/test-vault-agent-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml b/operations/helm/tests/test-vault-agent-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml index 3639ee6ee8..7670b93be5 100644 --- a/operations/helm/tests/test-vault-agent-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml +++ b/operations/helm/tests/test-vault-agent-values-generated/mimir-distributed/templates/ingester/ingester-statefulset.yaml @@ -136,6 +136,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -276,6 +279,9 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000" --- @@ -416,5 +422,8 @@ spec: - ALL readOnlyRootFilesystem: true env: + + - name: "GOMAXPROCS" + value: "4" - name: "JAEGER_REPORTER_MAX_QUEUE_SIZE" value: "1000"