Skip to content
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions kubernetes/linux/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ gem uninstall net-imap --force
# remove rexml gem as it has a known CVE (CVE-2025-58767) and is not used by the agent
gem uninstall rexml --force

# remove uri gem as it has a known CVE (CVE-2025-61594) and is not used by the agent
gem uninstall uri --force
rm /usr/lib/ruby/gems/3.3.0/specifications/default/uri-0.13.2.gemspec
rm -rf /usr/lib/ruby/gems/3.3.0/gems/uri-0.13.2
gem install uri -v "0.13.3" --no-document

sudo tdnf install -y azure-mdsd-1.37.0
cp -f $TMPDIR/mdsd.xml /etc/mdsd.d
cp -f $TMPDIR/envmdsd /etc/mdsd.d
Expand All @@ -62,7 +68,8 @@ sudo tdnf install jq-1.7.1-1.azl3 -y
#used to setcaps for ruby process to read /proc/env
sudo tdnf install libcap -y

sudo tdnf install telegraf-agent-1.36.4 -y
sudo curl -L -O https://kubernetesreleases.blob.core.windows.net/dalec-packages/telegraf-agent/1.37.0/azl3/x86_64/telegraf-agent-1.37.0-1.azl3.x86_64.rpm
sudo tdnf install -y --nogpgcheck telegraf-agent-1.37.0-1.azl3.x86_64.rpm
telegraf_version=$(sudo tdnf list installed | grep telegraf | awk '{print $2}')
echo "telegraf $telegraf_version" >> packages_version.txt
mv /usr/bin/telegraf-agent /opt/telegraf
Expand All @@ -73,7 +80,7 @@ docker_cimprov_version=$(sudo tdnf list installed | grep docker-cimprov | awk '{
echo "DOCKER_CIMPROV_VERSION=$docker_cimprov_version" >> packages_version.txt

#install fluent-bit
sudo tdnf install azcu-fluent-bit-4.0.9 -y
sudo tdnf install azcu-fluent-bit-4.1.1 -y
echo "$(fluent-bit --version)" >> packages_version.txt

# install fluentd
Expand Down
Loading