From cea4c98508df1855c8ad97222689ba9e5a1fd6ab Mon Sep 17 00:00:00 2001 From: Filipe Brandenburger Date: Fri, 9 Feb 2018 14:41:32 -0800 Subject: [PATCH] Remove mapping to /host/lib from fluentd-gcp container. This mapping is no longer needed since fluentd-gcp v2.0.16, in which it started using a container image based on Debian Stretch, in which the systemd libraries already include support for all the supported compression algorithms. The /run.sh in the image no longer accesses /host/lib anyways, so let's stop mapping it here. Related changes: - fluentd-gcp on GoogleCloudPlatform/k8s-stackdriver#101 - fluentd-es on GoogleCloudPlatform/google-fluentd#80 --- cluster/addons/fluentd-elasticsearch/fluentd-es-ds.yaml | 7 ------- cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml | 6 ------ 2 files changed, 13 deletions(-) diff --git a/cluster/addons/fluentd-elasticsearch/fluentd-es-ds.yaml b/cluster/addons/fluentd-elasticsearch/fluentd-es-ds.yaml index d27256edfdb..eecd6b4801b 100644 --- a/cluster/addons/fluentd-elasticsearch/fluentd-es-ds.yaml +++ b/cluster/addons/fluentd-elasticsearch/fluentd-es-ds.yaml @@ -92,9 +92,6 @@ spec: - name: varlibdockercontainers mountPath: /var/lib/docker/containers readOnly: true - - name: libsystemddir - mountPath: /host/lib - readOnly: true - name: config-volume mountPath: /etc/fluent/config.d nodeSelector: @@ -107,10 +104,6 @@ spec: - name: varlibdockercontainers hostPath: path: /var/lib/docker/containers - # It is needed to copy systemd library to decompress journals - - name: libsystemddir - hostPath: - path: /usr/lib64 - name: config-volume configMap: name: fluentd-es-config-v0.1.4 diff --git a/cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml b/cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml index fce4eb58fc8..44dec3d0216 100644 --- a/cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml +++ b/cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml @@ -35,9 +35,6 @@ spec: - name: varlibdockercontainers mountPath: /var/lib/docker/containers readOnly: true - - name: libsystemddir - mountPath: /host/lib - readOnly: true - name: config-volume mountPath: /etc/google-fluentd/config.d # Liveness probe is aimed to help in situarions where fluentd @@ -109,9 +106,6 @@ spec: - name: varlibdockercontainers hostPath: path: /var/lib/docker/containers - - name: libsystemddir - hostPath: - path: /usr/lib64 - name: config-volume configMap: name: fluentd-gcp-config-v1.2.4