TLS handshake timeout

Rafiq Sulaiman 1 Reputation point
2022-11-16T10:10:47.663+00:00

hi. im not able to connect to my kubernetes cluster. im getting the following error when i try to connect .
Unable to connect to the server: net/http: TLS handshake timeout.
can you please help me out with this.

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,142 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 37,411 Reputation points Microsoft Employee
    2022-11-16T17:25:17.81+00:00

    @Rafiq Sulaiman
    I understand you are attempting to connect to a node in your AKS cluster and running into the above error. Please correct me if I am misunderstanding the issue.

    You can securely authenticate against AKS Linux and Windows nodes using SSH. For security reasons, the AKS nodes aren't exposed to the internet. To connect to the AKS nodes, you use kubectl debug or the private IP address. This article walks you through the necessary steps to enable your node for connection.

    Hope this helps. Please let me know if this works for you or if you are still facing issues.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.