Skip to content

Commit

Permalink
Fix custom extension script issue
Browse files Browse the repository at this point in the history
Pulled changes from Azure#3304. This should fix the issue of scale up of agent nodes that we see frequently.
  • Loading branch information
mdpradeep authored Dec 6, 2018
1 parent da8646d commit 2c79ef3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parts/k8s/kubernetescustomscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,6 @@ else
fi

installDocker
runAptDaily
configureK8s
ensureDocker
configNetworkPlugin
Expand Down Expand Up @@ -532,4 +531,6 @@ if $REBOOTREQUIRED; then
# wait 1 minute to restart node, so that the custom script extension can complete
echo 'reboot required, rebooting node in 1 minute'
/bin/bash -c "shutdown -r 1 &"
else
runAptDaily &
fi

0 comments on commit 2c79ef3

Please sign in to comment.