Skip to content

Commit

Permalink
Helm / Gateway: Allow to configure whether or not NGINX binds IPv6 (#…
Browse files Browse the repository at this point in the history
…7421)

* Helm / Gateway: Allow to configure whether or not NGINX binds IPv6

Signed-off-by: Wilfried Roset <wilfriedroset@users.noreply.github.com>

* Update operations/helm/charts/mimir-distributed/CHANGELOG.md

---------

Signed-off-by: Wilfried Roset <wilfriedroset@users.noreply.github.com>
Co-authored-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
  • Loading branch information
wilfriedroset and dimitarvdimitrov committed Feb 27, 2024
1 parent 7736272 commit b85cdae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions operations/helm/charts/mimir-distributed/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Entries should include a reference to the Pull Request that introduced the chang
* Autoscaling can be enabled via `distributor.kedaAutoscaling`, `ruler.kedaAutoscaling`, `query_frontend.kedaAutoscaling`, and `querier.kedaAutoscaling`.
* Global configuration of `promtheusAddress`, `pollingInterval` and `customHeaders` can be found in `kedaAutoscaling`section.
* Requires metamonitoring or custom installed Prometheus compatible solution, for more details on metamonitoring see [Monitor the health of your system](https://grafana.com/docs/helm-charts/mimir-distributed/latest/run-production-environment-with-helm/monitor-system-health/). See [grafana/mimir#7367](https://github.com/grafana/mimir/issues/7367) for a migration procedure.
* [FEATURE] Gateway: Allow to configure whether or not NGINX binds IPv6 via `gateway.nginx.config.enableIPv6`. #7421
* [CHANGE] Rollout-operator: remove default CPU limit. #7125
* [CHANGE] Ring: relaxed the hash ring heartbeat period and timeout for distributor, ingester, store-gateway and compactor: #6860
* `-distributor.ring.heartbeat-period` set to `1m`
Expand Down
4 changes: 4 additions & 0 deletions operations/helm/charts/mimir-distributed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2921,6 +2921,8 @@ gateway:
httpSnippet: ""
# -- Allows to set a custom resolver
resolver: null
# -- Configures whether or not NGINX bind IPv6
enableIPv6: true
# -- Config file contents for Nginx. Passed through the `tpl` function to allow templating.
file: |
worker_processes 5; ## Default: 1
Expand Down Expand Up @@ -2976,7 +2978,9 @@ gateway:
proxy_read_timeout 300;
server {
listen {{ include "mimir.serverHttpListenPort" . }};
{{- if .Values.gateway.nginx.config.enableIPv6 }}
listen [::]:{{ include "mimir.serverHttpListenPort" . }};
{{- end }}
{{- if .Values.gateway.nginx.basicAuth.enabled }}
auth_basic "Mimir";
Expand Down

0 comments on commit b85cdae

Please sign in to comment.