I followed the Quickstart docs (here) to deploy a k8s cluster in the Western Europe region. The cluster boots up fine, but I cannot connect to it using kubectl - kubectl times out while trying to perform a TLS handshake:
Unable to connect to the server: net/http: TLS handshake timeout
There is currently a github issue where others are reporting the same problem.
Following some advice on the thread, I attempted to perform an upgrade from 1.8.1 to 1.8.2, which failed:
bash-4.3# az aks upgrade --resource-group=k8s --name=phlo -k 1.8.2
Kubernetes may be unavailable during cluster upgrades.
Are you sure you want to perform this operation? (y/n): y
/ Running ..
Deployment failed. Correlation ID: <redacted>. Operation failed with status: 200. Details: Resource state Failed
According to others on the github thread, it seems to be a region-specific issue.
The solution to this one for me was to scale the nodes in my Cluster from the Azure Kubernetes service blade web console.
An interesting solution (worked for me!) to test...
Total time it took me ~2 mins.
Added this to the full ticket description write up that I posted over here (if you want more info have a read):
'Unable to connect Net/http: TLS handshake timeout' — Why can't Kubectl connect to Azure AKS server?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With