From d3f86d237e4138cfeab381e201b89bdad3cae377 Mon Sep 17 00:00:00 2001 From: Ismael Fernandez Molina Date: Mon, 27 Apr 2020 19:33:29 +0200 Subject: [PATCH] adding NRIA_EVENT_QUEUE_DEPTH to increase in-memory cache of the agent (#22149) Signed-off-by: ismael Fernandez Signed-off-by: ismael Fernandez Signed-off-by: ismael.fernandez --- stable/newrelic-infrastructure/Chart.yaml | 2 +- stable/newrelic-infrastructure/README.md | 1 + stable/newrelic-infrastructure/templates/daemonset.yaml | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/stable/newrelic-infrastructure/Chart.yaml b/stable/newrelic-infrastructure/Chart.yaml index 6a50c94ffb..c4f955fb4f 100644 --- a/stable/newrelic-infrastructure/Chart.yaml +++ b/stable/newrelic-infrastructure/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: A Helm chart to deploy the New Relic Infrastructure Agent as a DaemonSet name: newrelic-infrastructure -version: 0.13.31 +version: 0.13.32 appVersion: 1.20.0 home: https://hub.docker.com/r/newrelic/infrastructure-k8s/ source: diff --git a/stable/newrelic-infrastructure/README.md b/stable/newrelic-infrastructure/README.md index 44a8bb6613..392297f5e1 100644 --- a/stable/newrelic-infrastructure/README.md +++ b/stable/newrelic-infrastructure/README.md @@ -41,6 +41,7 @@ This chart will deploy the New Relic Infrastructure agent as a Daemonset. | `apiServerEndpointUrl` | Explicitly sets the api server componenturl. | | | `schedulerEndpointUrl` | Explicitly sets the scheduler component url. | | | `controllerManagerEndpointUrl` | Explicitly sets the controller manager component url. | | +| `eventQueueDepth` | Iincreases the in-memory cache of the agent to accommodate for more samples at a time. ## Example diff --git a/stable/newrelic-infrastructure/templates/daemonset.yaml b/stable/newrelic-infrastructure/templates/daemonset.yaml index 000c2c889f..3df44b304c 100644 --- a/stable/newrelic-infrastructure/templates/daemonset.yaml +++ b/stable/newrelic-infrastructure/templates/daemonset.yaml @@ -108,6 +108,10 @@ spec: - name: "CONTROLLER_MANAGER_ENDPOINT_URL" value: {{ .Values.controllerManagerEndpointUrl | quote }} {{- end }} + {{- if .Values.eventQueueDepth }} + - name: "NRIA_EVENT_QUEUE_DEPTH" + value: {{ .Values.eventQueueDepth | quote }} + {{- end }} - name: "NRIA_DISPLAY_NAME" valueFrom: fieldRef: