mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 03:03:59 +00:00
run the gci containerized mounter to cache mounter container image
Signed-off-by: Vishnu kannan <vishnuk@google.com>
This commit is contained in:
parent
b47d862aea
commit
64c1fa3594
@ -1164,6 +1164,9 @@ For Kubernetes copyright and licensing information, see:
|
|||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function pre-warm-mounter {
|
||||||
|
${KUBE_HOME}/bin/mounter &> /dev/null
|
||||||
|
}
|
||||||
|
|
||||||
########### Main Function ###########
|
########### Main Function ###########
|
||||||
echo "Start to configure instance for kubernetes"
|
echo "Start to configure instance for kubernetes"
|
||||||
@ -1198,6 +1201,8 @@ else
|
|||||||
create-kubeproxy-kubeconfig
|
create-kubeproxy-kubeconfig
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Run the containerized mounter once to pre-cache the container image.
|
||||||
|
pre-warm-mounter
|
||||||
assemble-docker-flags
|
assemble-docker-flags
|
||||||
load-docker-images
|
load-docker-images
|
||||||
start-kubelet
|
start-kubelet
|
||||||
|
Loading…
Reference in New Issue
Block a user