mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-07 13:53:12 +00:00
feat: add support for obs enpoint support in helm chart (#2160)
This commit is contained in:
@@ -2,8 +2,8 @@ apiVersion: v2
|
||||
name: rustfs
|
||||
description: RustFS helm chart to deploy RustFS on kubernetes cluster.
|
||||
type: application
|
||||
version: 0.0.83
|
||||
appVersion: "1.0.0-alpha.83"
|
||||
version: 0.0.86
|
||||
appVersion: "1.0.0-alpha.86"
|
||||
home: https://rustfs.com
|
||||
icon: https://media.sys.truenas.net/apps/rustfs/icons/icon.svg
|
||||
maintainers:
|
||||
|
||||
@@ -41,11 +41,35 @@ data:
|
||||
RUSTFS_TLS_KEYLOG: "1"
|
||||
RUSTFS_TLS_PATH: "/opt/tls"
|
||||
{{- end }}
|
||||
{{- if .Values.config.rustfs.metrics.enabled }}
|
||||
RUSTFS_OBS_METRIC_ENDPOINT: {{ .Values.config.rustfs.metrics.endpoint | quote }}
|
||||
{{- else }}
|
||||
{{- if .Values.config.rustfs.obs_endpoint.enabled }}
|
||||
RUSTFS_OBS_ENDPOINT: {{ .Values.config.rustfs.obs_endpoint.base_endpoint | quote }}
|
||||
RUSTFS_OBS_USE_STDOUT: {{ .Values.config.rustfs.obs_endpoint.use_stdout }}
|
||||
{{- with .Values.config.rustfs.obs_endpoint }}
|
||||
{{- if .metrics.enabled }}
|
||||
RUSTFS_OBS_METRIC_ENDPOINT: {{ .metrics.endpoint | quote }}
|
||||
{{- else }}
|
||||
RUSTFS_OBS_METRIC_ENDPOINT: ""
|
||||
RUSTFS_OBS_METRICS_EXPORT_ENABLED: "false"
|
||||
{{- end }}
|
||||
{{- if .trace.enabled }}
|
||||
RUSTFS_OBS_TRACE_ENDPOINT: {{ .trace.endpoint | quote }}
|
||||
{{- else }}
|
||||
RUSTFS_OBS_TRACE_ENDPOINT: ""
|
||||
RUSTFS_OBS_TRACES_EXPORT_ENABLED: "false"
|
||||
{{- end }}
|
||||
{{- if .logs.enabled }}
|
||||
RUSTFS_OBS_LOG_ENDPOINT: {{ .logs.endpoint | quote }}
|
||||
{{- else }}
|
||||
RUSTFS_OBS_LOG_ENDPOINT: ""
|
||||
RUSTFS_OBS_LOGS_EXPORT_ENABLED: "false"
|
||||
{{- end }}
|
||||
{{- if .profiling.enabled }}
|
||||
RUSTFS_OBS_PROFILING_ENDPOINT: {{ .profiling.endpoint | quote }}
|
||||
{{- else }}
|
||||
RUSTFS_OBS_PROFILING_ENDPOINT: ""
|
||||
RUSTFS_OBS_PROFILING_ENABLED: "false"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- with .Values.config.rustfs.scanner }}
|
||||
{{- if .speed }}
|
||||
|
||||
+16
-3
@@ -79,9 +79,22 @@ config:
|
||||
start_delay_secs: ""
|
||||
# Enable/disable scanner sleeps for throttling
|
||||
idle_mode: ""
|
||||
metrics:
|
||||
enabled: false
|
||||
endpoint: "" # If specified, rustfs will export metrics to this OTLP endpoint. e.g. "http://localhost:4318/v1/metrics"
|
||||
obs_endpoint:
|
||||
enabled: false # If true, rustfs will export metrics, traces, logs and profiling data to the specified OTLP endpoints. If false, the individual settings for metrics, traces, logs and profiling endpoints will be ignored and all data will not be exported.
|
||||
base_endpoint: "" #Root OTLP/HTTP endpoint, e.g. http://otel-collector:4318
|
||||
use_stdout: false # If true, rustfs will also export logs to stdout in addition to the OTLP logs endpoint.
|
||||
metrics:
|
||||
enabled: false
|
||||
endpoint: "" # If specified, rustfs will export metrics to this OTLP endpoint. e.g. "http://localhost:4318/v1/metrics"
|
||||
trace:
|
||||
enabled: false
|
||||
endpoint: "" # If specified, rustfs will export traces to this OTLP endpoint. e.g. "http://localhost:4318/v1/traces"
|
||||
logs:
|
||||
enabled: false
|
||||
endpoint: "" # If specified, rustfs will export logs to this OTLP endpoint. e.g. "http://localhost:4318/v1/logs"
|
||||
profiling:
|
||||
enabled: false
|
||||
endpoint: "" # If specified, rustfs will export profiling data to this endpoint. e.g. "http://localhost:6060/debug/pprof/profile"
|
||||
|
||||
# This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
|
||||
serviceAccount:
|
||||
|
||||
Reference in New Issue
Block a user