-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Startup probe failed: HTTP probe failed with statuscode: 500 #291
Comments
I don't have any immediate solutions to your problem, but it looks like the root cause is that kube-apiserver cannot communicate with the container running on the cluster. To verify the problem is not with the webhook, you can validate the webhook configuration was created successfully Your other solution, which is available on Rancher:v2.7-head but has not been released yet would be to have the webhook run on port 443 |
@KevinJoiner Thanks! I will check this and get back to you. |
@KevinJoiner - So I ran the suggested command and YAML was returned successfully. I can't see anything problematic in the output. Is there anything specific I should be looking for? |
@robcharlwood No, if the resource exists and the webhook is not logging any errors we can have higher confidence that the problem is with the connection between the kube-apiserver and the rancher-webhook pod.
|
@KevinJoiner Thanks! I will investigate and report back! |
We are experiencing the same issue.
Firewall rules allow any communication between nodes (trusted) |
Adding some extra info:
For the moment being we will try and remove the |
I have very same issue:
kubectl describe pod -n cattle-system rancher-webhook-7879bb6c5-vb7ss
Problem started after upgrading from previous version. |
I have same issue
When try to hit the
I'm struggle with |
Hi
We are seeing a problem with the latest version of the rancher-webhook (0.3.5) when running alongside the latest rancher (2.7.6). In both the Rancher HA cluster and imported K3S and GKE downstream clusters, the webhook pod has a warning about startup probe checks failing with status code 500.
If left for long enough, it eventually starts failing with a liveness probe error:
This is only ever generated as a warning and the pod itself never becomes unhealthy. The pod itself also does not give any useful logs:
This rancher is deployed in the following manner:
Any help or advice on this issue would be appreciated.
Many thanks!
The text was updated successfully, but these errors were encountered: