зеркало из https://github.com/Azure/aks-engine.git
install gpu drivers before extracting hyperkube (#4276)
This commit is contained in:
Родитель
53ec5aa892
Коммит
dab5943279
|
@ -73,6 +73,12 @@ fi
|
||||||
installContainerRuntime
|
installContainerRuntime
|
||||||
installNetworkPlugin
|
installNetworkPlugin
|
||||||
installContainerd
|
installContainerd
|
||||||
|
if [[ "${GPU_NODE}" = true ]]; then
|
||||||
|
if $FULL_INSTALL_REQUIRED; then
|
||||||
|
installGPUDrivers
|
||||||
|
fi
|
||||||
|
ensureGPUDrivers
|
||||||
|
fi
|
||||||
installKubeletAndKubectl
|
installKubeletAndKubectl
|
||||||
ensureRPC
|
ensureRPC
|
||||||
createKubeManifestDir
|
createKubeManifestDir
|
||||||
|
@ -122,13 +128,6 @@ if [[ ! -z "${MASTER_NODE}" ]]; then
|
||||||
ensurePodSecurityPolicy
|
ensurePodSecurityPolicy
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${GPU_NODE}" = true ]]; then
|
|
||||||
if $FULL_INSTALL_REQUIRED; then
|
|
||||||
installGPUDrivers
|
|
||||||
fi
|
|
||||||
ensureGPUDrivers
|
|
||||||
fi
|
|
||||||
|
|
||||||
if $FULL_INSTALL_REQUIRED; then
|
if $FULL_INSTALL_REQUIRED; then
|
||||||
if [[ $OS == $UBUNTU_OS_NAME ]]; then
|
if [[ $OS == $UBUNTU_OS_NAME ]]; then
|
||||||
# mitigation for bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1676635
|
# mitigation for bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1676635
|
||||||
|
|
Загрузка…
Ссылка в новой задаче