-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
on kube-thanos-rule.libsonnet
...
containers: [c] +
(
if std.length(tr.config.rulesConfig) > 0 || std.length(tr.config.extraVolumeMounts) > 0 || tr.config.alertmanagerConfigFile != {} || tr.config.remoteWriteConfigFile != {} then [
reloadContainer,
] else []
),
...
serviceMonitor:
endpoints: [
...
{ port: 'reloader' },
...
when I don't include any of the fields: rulesConfig, extraVolumeMounts, alertmanagerConfigFile or remoteWriteConfigFile, the 'reloader' port is still included on ServiceMonitor, but I don't go to anywhere because the reloadContainer is not included.
Metadata
Metadata
Assignees
Labels
No labels