SSLError: ('The read operation timed out',) when trying to deploy Kuberntes with Kubespray SSLError: ('The read operation timed out',) when trying to deploy Kuberntes with Kubespray kubernetes kubernetes

SSLError: ('The read operation timed out',) when trying to deploy Kuberntes with Kubespray


So , I "solved" the problem.

In fact , Ansbible has a timeout of 10 seconds for all ssh related command/read/write task.For unknown reasons , the write task on my nodes was a bit slow , so I got this error.Fortunately , you can change the time before a timeout.

You can either use the argument -T (or-tiemout ) 'time_wanted' or change the ansible.cfg.The 'basic' cfg file is located in etc/ansible/ansible.etc , but be careful , some custom ansible playbook will have a custom ansible.cfg so you will need to find it and change it to your needs.

I was lucky , the 4 time I ran the playbook , it installed K8s smoothly.

For testing reason , I am running my nodes on KVM , so maybe the write slowness come from here.

Hope that someone will find my answer useful !