Skip to content

Commit

Permalink
Node-exporter text export fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ahma committed Sep 1, 2022
1 parent 126d46f commit 0ecad52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion node-exporter-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/fluentbit/daemonset.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, " "))
Expand Down
2 changes: 1 addition & 1 deletion pkg/sdk/logging/api/v1beta1/logging_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0ecad52

Please sign in to comment.