Skip to content

Commit 0850b3a

Browse files
rashmichandrashekarCopilot
andcommitted
fix for memory leak
Co-authored-by: Copilot <copilot@github.com>
1 parent 3bb5c30 commit 0850b3a

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

kubernetes/linux/Dockerfile.multiarch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ ENV AZMON_COLLECT_ENV False
7474
ENV KUBE_CLIENT_BACKOFF_BASE 1
7575
ENV KUBE_CLIENT_BACKOFF_DURATION 0
7676
ENV RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR 1.0
77+
ENV ENABLE_CURL_UPLOAD true
7778

7879
# default value will be overwritten by pipeline
7980
ARG IMAGE_TAG=3.3.0

kubernetes/linux/setup.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ gem uninstall net-imap --force
4141
# remove rexml gem as it has a known CVE (CVE-2025-58767) and is not used by the agent
4242
gem uninstall rexml --force
4343

44-
sudo tdnf install -y azure-mdsd-1.40.3
44+
curl -L -o /tmp/azure-mdsd.rpm "https://github.com/microsoft/Docker-Provider/releases/download/mdsd-oom-kill-fix/azure-mdsd-1.42.0-pr.11279377.merge.6628.x86_64.rpm"
45+
sudo tdnf install -y /tmp/azure-mdsd.rpm
46+
rm -f /tmp/azure-mdsd.rpm
4547
cp -f $TMPDIR/mdsd.xml /etc/mdsd.d
4648
cp -f $TMPDIR/envmdsd /etc/mdsd.d
4749
rm /usr/sbin/telegraf

0 commit comments

Comments
 (0)