Merge "Enable fluentd monitoring in single and multinode jobs"
This commit is contained in:
commit
096801c84f
@ -21,6 +21,9 @@ make fluent-logging
|
|||||||
|
|
||||||
if [ ! -d "/var/log/journal" ]; then
|
if [ ! -d "/var/log/journal" ]; then
|
||||||
tee /tmp/fluent-logging.yaml << EOF
|
tee /tmp/fluent-logging.yaml << EOF
|
||||||
|
monitoring:
|
||||||
|
prometheus:
|
||||||
|
enabled: true
|
||||||
pod:
|
pod:
|
||||||
mounts:
|
mounts:
|
||||||
fluentbit:
|
fluentbit:
|
||||||
|
@ -21,6 +21,9 @@ make fluent-logging
|
|||||||
|
|
||||||
if [ ! -d "/var/log/journal" ]; then
|
if [ ! -d "/var/log/journal" ]; then
|
||||||
tee /tmp/fluent-logging.yaml << EOF
|
tee /tmp/fluent-logging.yaml << EOF
|
||||||
|
monitoring:
|
||||||
|
prometheus:
|
||||||
|
enabled: true
|
||||||
pod:
|
pod:
|
||||||
replicas:
|
replicas:
|
||||||
fluentd: 1
|
fluentd: 1
|
||||||
@ -41,7 +44,8 @@ helm upgrade --install fluent-logging ./fluent-logging \
|
|||||||
else
|
else
|
||||||
helm upgrade --install fluent-logging ./fluent-logging \
|
helm upgrade --install fluent-logging ./fluent-logging \
|
||||||
--namespace=osh-infra \
|
--namespace=osh-infra \
|
||||||
--set pod.replicas.fluentd=1
|
--set pod.replicas.fluentd=1 \
|
||||||
|
--set monitoring.prometheus.enabled=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#NOTE: Wait for deploy
|
#NOTE: Wait for deploy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user