run the gci containerized mounter to cache mounter container image

Signed-off-by: Vishnu kannan <vishnuk@google.com>
This commit is contained in:
Vishnu kannan 2016-10-21 17:56:12 -07:00
parent b47d862aea
commit 64c1fa3594

View File

@ -1164,6 +1164,9 @@ For Kubernetes copyright and licensing information, see:
EOF
}
function pre-warm-mounter {
${KUBE_HOME}/bin/mounter &> /dev/null
}
########### Main Function ###########
echo "Start to configure instance for kubernetes"
@ -1198,6 +1201,8 @@ else
create-kubeproxy-kubeconfig
fi
# Run the containerized mounter once to pre-cache the container image.
pre-warm-mounter
assemble-docker-flags
load-docker-images
start-kubelet