Commit cea4c985 authored by Filipe Brandenburger's avatar Filipe Brandenburger

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
parent ae1fc13a
...@@ -92,9 +92,6 @@ spec: ...@@ -92,9 +92,6 @@ spec:
- name: varlibdockercontainers - name: varlibdockercontainers
mountPath: /var/lib/docker/containers mountPath: /var/lib/docker/containers
readOnly: true readOnly: true
- name: libsystemddir
mountPath: /host/lib
readOnly: true
- name: config-volume - name: config-volume
mountPath: /etc/fluent/config.d mountPath: /etc/fluent/config.d
nodeSelector: nodeSelector:
...@@ -107,10 +104,6 @@ spec: ...@@ -107,10 +104,6 @@ spec:
- name: varlibdockercontainers - name: varlibdockercontainers
hostPath: hostPath:
path: /var/lib/docker/containers path: /var/lib/docker/containers
# It is needed to copy systemd library to decompress journals
- name: libsystemddir
hostPath:
path: /usr/lib64
- name: config-volume - name: config-volume
configMap: configMap:
name: fluentd-es-config-v0.1.4 name: fluentd-es-config-v0.1.4
...@@ -35,9 +35,6 @@ spec: ...@@ -35,9 +35,6 @@ spec:
- name: varlibdockercontainers - name: varlibdockercontainers
mountPath: /var/lib/docker/containers mountPath: /var/lib/docker/containers
readOnly: true readOnly: true
- name: libsystemddir
mountPath: /host/lib
readOnly: true
- name: config-volume - name: config-volume
mountPath: /etc/google-fluentd/config.d mountPath: /etc/google-fluentd/config.d
# Liveness probe is aimed to help in situarions where fluentd # Liveness probe is aimed to help in situarions where fluentd
...@@ -109,9 +106,6 @@ spec: ...@@ -109,9 +106,6 @@ spec:
- name: varlibdockercontainers - name: varlibdockercontainers
hostPath: hostPath:
path: /var/lib/docker/containers path: /var/lib/docker/containers
- name: libsystemddir
hostPath:
path: /usr/lib64
- name: config-volume - name: config-volume
configMap: configMap:
name: fluentd-gcp-config-v1.2.4 name: fluentd-gcp-config-v1.2.4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment