diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 57d366f51984..e2afe6bf78aa 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -240,6 +240,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d *Auditbeat* +- Reference kubernetes manifests mount data directory from the host, so data persist between executions in the same node. {pull}17429[17429] - Log to stderr when running using reference kubernetes manifests. {pull}17443[174443] - Fix syscall kprobe arguments for 32-bit systems in socket module. {pull}17500[17500] - Fix memory leak on when we miss socket close kprobe events. {pull}17500[17500] @@ -379,6 +380,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Add test for documented fields check for metricsets without a http input. {issue}17315[17315] {pull}17334[17334] - Add final tests and move label to GA for the azure module in metricbeat. {pull}17319[17319] - Added documentation for running Metricbeat in Cloud Foundry. {pull}17275[17275] +- Reference kubernetes manifests mount data directory from the host when running metricbeat as daemonset, so data persist between executions in the same node. {pull}17429[17429] *Packetbeat* diff --git a/deploy/kubernetes/auditbeat-kubernetes.yaml b/deploy/kubernetes/auditbeat-kubernetes.yaml index 05b5fa23016d..2907d9b1a5b9 100644 --- a/deploy/kubernetes/auditbeat-kubernetes.yaml +++ b/deploy/kubernetes/auditbeat-kubernetes.yaml @@ -108,6 +108,8 @@ spec: - name: modules mountPath: /usr/share/auditbeat/modules.d readOnly: true + - name: data + mountPath: /usr/share/auditbeat/data - name: bin mountPath: /hostfs/bin readOnly: true diff --git a/deploy/kubernetes/auditbeat/auditbeat-daemonset.yaml b/deploy/kubernetes/auditbeat/auditbeat-daemonset.yaml index 783bf6efb6cc..c041f6b96ea5 100644 --- a/deploy/kubernetes/auditbeat/auditbeat-daemonset.yaml +++ b/deploy/kubernetes/auditbeat/auditbeat-daemonset.yaml @@ -55,6 +55,8 @@ spec: - name: modules mountPath: /usr/share/auditbeat/modules.d readOnly: true + - name: data + mountPath: /usr/share/auditbeat/data - name: bin mountPath: /hostfs/bin readOnly: true diff --git a/deploy/kubernetes/metricbeat-kubernetes.yaml b/deploy/kubernetes/metricbeat-kubernetes.yaml index 8c27c2aa6822..11435cfd21d9 100644 --- a/deploy/kubernetes/metricbeat-kubernetes.yaml +++ b/deploy/kubernetes/metricbeat-kubernetes.yaml @@ -149,6 +149,8 @@ spec: mountPath: /etc/metricbeat.yml readOnly: true subPath: metricbeat.yml + - name: data + mountPath: /usr/share/metricbeat/data - name: modules mountPath: /usr/share/metricbeat/modules.d readOnly: true diff --git a/deploy/kubernetes/metricbeat/metricbeat-daemonset.yaml b/deploy/kubernetes/metricbeat/metricbeat-daemonset.yaml index 2fe3a7a1b2b4..378ac2df1a1c 100644 --- a/deploy/kubernetes/metricbeat/metricbeat-daemonset.yaml +++ b/deploy/kubernetes/metricbeat/metricbeat-daemonset.yaml @@ -57,6 +57,8 @@ spec: mountPath: /etc/metricbeat.yml readOnly: true subPath: metricbeat.yml + - name: data + mountPath: /usr/share/metricbeat/data - name: modules mountPath: /usr/share/metricbeat/modules.d readOnly: true