mirror of
https://github.com/mastodon/chart
synced 2025-05-18 04:53:21 +00:00
Make sure everything listens on the correct ports (localhost for web pods because of sidecar, 0.0.0.0 for sidekiq
This commit is contained in:
parent
529843ec09
commit
487c77958c
|
@ -212,7 +212,7 @@ spec:
|
||||||
- name: MASTODON_PROMETHEUS_EXPORTER_LOCAL
|
- name: MASTODON_PROMETHEUS_EXPORTER_LOCAL
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: MASTODON_PROMETHEUS_EXPORTER_HOST
|
- name: MASTODON_PROMETHEUS_EXPORTER_HOST
|
||||||
value: {{ $context.Values.mastodon.metrics.prometheus.host }}
|
value: "0.0.0.0"
|
||||||
- name: MASTODON_PROMETHEUS_EXPORTER_PORT
|
- name: MASTODON_PROMETHEUS_EXPORTER_PORT
|
||||||
value: "{{ $context.Values.mastodon.metrics.prometheus.port }}"
|
value: "{{ $context.Values.mastodon.metrics.prometheus.port }}"
|
||||||
{{- if $context.Values.mastodon.metrics.prometheus.sidekiq.detailed }}
|
{{- if $context.Values.mastodon.metrics.prometheus.sidekiq.detailed }}
|
||||||
|
|
|
@ -200,7 +200,7 @@ spec:
|
||||||
- name: MASTODON_PROMETHEUS_EXPORTER_ENABLED
|
- name: MASTODON_PROMETHEUS_EXPORTER_ENABLED
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: PROMETHEUS_EXPORTER_HOST
|
- name: PROMETHEUS_EXPORTER_HOST
|
||||||
value: {{ $.Values.mastodon.metrics.prometheus.host }}
|
value: "127.0.0.1"
|
||||||
- name: PROMETHEUS_EXPORTER_PORT
|
- name: PROMETHEUS_EXPORTER_PORT
|
||||||
value: "{{ .Values.mastodon.metrics.prometheus.port }}"
|
value: "{{ .Values.mastodon.metrics.prometheus.port }}"
|
||||||
{{- if .Values.mastodon.metrics.prometheus.web.detailed }}
|
{{- if .Values.mastodon.metrics.prometheus.web.detailed }}
|
||||||
|
|
|
@ -439,8 +439,7 @@ mastodon:
|
||||||
# https://docs.joinmastodon.org/admin/config/#prometheus
|
# https://docs.joinmastodon.org/admin/config/#prometheus
|
||||||
prometheus:
|
prometheus:
|
||||||
enabled: false
|
enabled: false
|
||||||
# Host & port for the exporter to listen on
|
# Port for the exporter to listen on
|
||||||
host: localhost
|
|
||||||
port: 9394
|
port: 9394
|
||||||
|
|
||||||
# Prometheus for web pods
|
# Prometheus for web pods
|
||||||
|
|
Loading…
Reference in New Issue
Block a user