diff --git a/node-exporter-image/Dockerfile b/node-exporter-image/Dockerfile index 9b14f723d..11ed709f8 100644 --- a/node-exporter-image/Dockerfile +++ b/node-exporter-image/Dockerfile @@ -1,5 +1,5 @@ FROM ghcr.io/banzaicloud/custom-runner:0.1.4 as custom-runner -FROM quay.io/prometheus/node-exporter:latest +FROM quay.io/prometheus/node-exporter:master WORKDIR / COPY --from=custom-runner /runner . USER root diff --git a/pkg/resources/fluentbit/daemonset.go b/pkg/resources/fluentbit/daemonset.go index 4626dbfab..8bfc33527 100644 --- a/pkg/resources/fluentbit/daemonset.go +++ b/pkg/resources/fluentbit/daemonset.go @@ -295,7 +295,7 @@ func (r *Reconciler) bufferMetricsSidecarContainer() *corev1.Container { if len(r.Logging.Spec.FluentbitSpec.BufferVolumeArgs) != 0 { args = append(args, r.Logging.Spec.FluentbitSpec.BufferVolumeArgs...) } else { - args = append(args, "--collector.disable-defaults", "--collector.filesystem") + args = append(args, "--collector.disable-defaults", "--collector.filesystem", "--collector.textfile", "--collector.textfile.directory=/prometheus/node_exporter/textfile_collector/") } nodeExporterCmd := fmt.Sprintf("nodeexporter -> ./bin/node_exporter %v", strings.Join(args, " ")) diff --git a/pkg/sdk/logging/api/v1beta1/logging_types.go b/pkg/sdk/logging/api/v1beta1/logging_types.go index fb6009245..90cddfd3e 100644 --- a/pkg/sdk/logging/api/v1beta1/logging_types.go +++ b/pkg/sdk/logging/api/v1beta1/logging_types.go @@ -118,7 +118,7 @@ const ( DefaultFluentbitImageRepository = "fluent/fluent-bit" DefaultFluentbitImageTag = "1.9.5" DefaultFluentbitBufferVolumeImageRepository = "ghcr.io/banzaicloud/node-exporter" - DefaultFluentbitBufferVolumeImageTag = "v0.1.0" + DefaultFluentbitBufferVolumeImageTag = "v0.2.0" DefaultFluentbitBufferStorageVolumeName = "fluentbit-buffer" DefaultFluentdImageRepository = "ghcr.io/banzaicloud/fluentd" DefaultFluentdImageTag = "v1.14.6-alpine-5"