Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Kubernetes: install blobfuse during CSE #3401

Merged
merged 3 commits into from
Jul 6, 2018
Merged
Changes from 1 commit
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
8 changes: 8 additions & 0 deletions parts/k8s/kubernetescustomscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,13 @@ function installDocker() {
usermod -aG docker ${ADMINUSER}
}

function installBlobfuse() {
retrycmd_if_failure_no_stats 20 1 5 curl -fsSL https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb > /tmp/packages-microsoft-prod.deb
retrycmd_if_failure 10 5 10 dpkg -i /tmp/packages-microsoft-prod.deb
apt_get_update
apt_get_install 20 30 120 blobfuse fuse
}

function runAptDaily() {
/usr/lib/apt/apt.systemd.daily
}
Expand Down Expand Up @@ -512,6 +519,7 @@ if [ -f $CUSTOM_SEARCH_DOMAIN_SCRIPT ]; then
fi

installDeps
installBlobfuse

if [[ "$CONTAINER_RUNTIME" == "docker" ]]; then
installDocker
Expand Down