Score:0

kubernetes rediness probe failing

us flag

I have set up and installed kubernetes 1.23.0 on Ubuntu 20 I have noticed the following problem

Readiness probe failed: Get "https://192.167.230.20:8443/healthz": dial tcp 192.167.230.20:8443: connect: connection refused

I can curl this insecurly

curl https://192.167.230.20:8443/healthz -k
OK

How can i make the pods to behave same way or how do i fix this problem?

Abhijith Chitrapu avatar
tr flag
If you issue is resolved based on the below answer; pls upvote/accept so, that it will be useful other community members.
Score:0
tf flag

The error message you provided indicates that the Kubernetes readiness probe is failing because it is unable to establish a connection to the specified address (https://192.167.230.20:8443/healthz) over TCP. This could be caused by a number of issues, such as:

The specified IP address is incorrect or does not match the actual IP address of your Kubernetes cluster.

The specified port (8443) is blocked by a firewall or not configured correctly.

The Kubernetes API server is not running or is not configured correctly.

The kubelet service on the node is not running or not configured correctly.

The network communication between the node and the api-server is not working properly.

To troubleshoot this issue, you may want to check the following:

Verify that the IP address and port specified in the readiness probe are correct and match the actual IP address and port of your Kubernetes cluster.

Check the firewall and make sure that port 8443 is open and not blocked.

Verify that the Kubernetes API server is running and configured correctly.

Check the kubelet service on the node and make sure that it is running and configured correctly.

Check the network communication between the node and the API server.

It is also a good idea to check the logs of the Kubernetes components and the nodes for more information about the issue.

shorif2000 avatar
us flag
i can do a `curl` with `-k` which works fine
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.