Skip to content

Commit

Permalink
fix couple of comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gargnitingoogle committed Oct 7, 2024
1 parent 16245b8 commit bde8a24
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions perfmetrics/scripts/testing_on_gke/examples/run-gke-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ function createCustomCsiDriverIfNeeded() {
printf "\nCreating a new custom CSI driver ...\n\n"
# Create a bucket for storing custom-csi driver.
# Create a bucket (if needed) for storing GCSFuse binaries.
if test -z "${package_bucket}"; then
package_bucket=${project_id}-${cluster_name}-gcsfuse-bin
package_bucket=${package_bucket/google/}
Expand All @@ -544,7 +544,7 @@ function createCustomCsiDriverIfNeeded() {
gcloud storage buckets create gs://${package_bucket} --project=${project_id} --location=${region}
fi
# Build a new gcsfuse binary
# Build new gcsfuse binaries.
printf "\nBuilding a new GCSFuse binary from ${gcsfuse_src_dir} ...\n\n"
cd "${gcsfuse_src_dir}"
rm -rfv ./bin ./sbin
Expand All @@ -567,11 +567,13 @@ function createCustomCsiDriverIfNeeded() {
printf "\nInstalling the new custom CSI driver built above ...\n\n"
make install PROJECT=${project_id} REGISTRY=${registry}
cd -
# Wait some time after csi driver installation before deploying pods
# to avoid failures caused by 'the webhook failed to inject the
# sidecar container into the Pod spec' error.
printf "\nSleeping 30 seconds after csi custom driver installation before deploying pods ...\n\n"
sleep 30
else
echo ""
echo "Enabling managed CSI driver ..."
Expand Down

0 comments on commit bde8a24

Please sign in to comment.