Skip to content
Closed
Changes from all 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
13 changes: 12 additions & 1 deletion kubernetes/linux/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,18 @@ echo "$(fluent-bit --version)" >> packages_version.txt

# install fluentd
fluentd_version="1.16.3"
gem install fluentd -v $fluentd_version --no-document

if [ "$ARCH" == "arm64" ]; then
# Pre-install a fixed version of cool.io to avoid ARM64 build issues. cool.io 1.9.1 has high failure rate.
# when upgrading fluentd in the future, check cool.io compatibility first.
# https://rubygems.org/gems/fluentd
# long-term solution: consider building arm version on arm host, currently qemu is used on amd64 host.
gem install cool.io -v "1.9.0" --no-document # use 1.9.0 which is used in 3.1.32, 3.1.31, etc.
gem install fluentd -v $fluentd_version --no-document
else
gem install fluentd -v $fluentd_version --no-document
fi


# remove the test directory from fluentd
rm -rf /usr/lib/ruby/gems/3.3.0/gems/fluentd-$fluentd_version/test/
Expand Down
Loading