Skip to content

Commit

Permalink
Merge pull request #9799 from dims/fix-for-k8s-nfs-related-tests
Browse files Browse the repository at this point in the history
Fix for k8s nfs related tests probably caused by `ulimit` changes
  • Loading branch information
dims committed Feb 10, 2024
2 parents 128f249 + 23ebfd0 commit bb45ce1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contrib/gce/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,12 @@ fi
echo "export PATH=${CONTAINERD_HOME}/usr/local/bin/:${CONTAINERD_HOME}/usr/local/sbin/:\$PATH" > \
/etc/profile.d/containerd_env.sh

mkdir -p /etc/systemd/system/containerd.service.d/
cat >> /etc/systemd/system/containerd.service.d/override.conf <<EOF
[Service]
LimitNOFILE=1048576
EOF

# Run extra init script for test.
if [ "${CONTAINERD_TEST:-"false"}" == "true" ]; then
# EXTRA_INIT_SCRIPT is the name of the extra init script after being downloaded.
Expand Down

0 comments on commit bb45ce1

Please sign in to comment.