You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of a possible issue with docker version 20.10, the userdata of the instances fail running the kubeadm command, because the environment variable HOME is not defined.
I have fixed the issue in the forked project by the following code snippet in the userdata of both master and worker nodes before kubeadm command:
# Fix for the issue with docker v20.10 and HOME env var
DOCKER_VER=`docker --version | awk '{print $3}'| awk -F'.''{print $1 $2}'`if [[ $${DOCKER_VER} ='2010' ]];thenecho'Docker Version 20.10'echo"Fixing issue with manual definition of HOME env var"export HOME=/root
fi
The text was updated successfully, but these errors were encountered:
Because of a possible issue with docker version 20.10, the userdata of the instances fail running the kubeadm command, because the environment variable
HOME
is not defined.I have fixed the issue in the forked project by the following code snippet in the userdata of both master and worker nodes before
kubeadm
command:The text was updated successfully, but these errors were encountered: