mirror of
https://github.com/ceph/ceph
synced 2025-02-22 10:37:15 +00:00
Merge pull request #47529 from hookak/container-args
cephadm: Remove duplicated process args in promtail and loki Reviewed-by: Adam King <adking@redhat.com>
This commit is contained in:
commit
efcab49ea2
@ -2647,10 +2647,8 @@ def get_daemon_args(ctx, fsid, daemon_type, daemon_id):
|
||||
r += ['--cluster.peer={}'.format(peer)]
|
||||
# some alertmanager, by default, look elsewhere for a config
|
||||
r += ['--config.file=/etc/alertmanager/alertmanager.yml']
|
||||
if daemon_type == 'loki':
|
||||
r += ['--config.file=/etc/loki/loki.yml']
|
||||
if daemon_type == 'promtail':
|
||||
r += ['--config.file=/etc/promtail/promtail.yml']
|
||||
r += ['--config.expand-env']
|
||||
if daemon_type == 'node-exporter':
|
||||
r += ['--path.procfs=/host/proc',
|
||||
'--path.sysfs=/host/sys',
|
||||
|
Loading…
Reference in New Issue
Block a user