-
Notifications
You must be signed in to change notification settings - Fork 106
Urgent Bug: webhook timeouts occur whenever node is rebooted #12
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
Comments
It looks like it should be possible to update the Knative webhook pods to set that environment variable, which is part of the Go HTTP libray: https://golang.org/pkg/net/http/
|
We can fix this at HEAD and cherry-pick to 0.13 as well. |
@evankanderson I'm going to assign this to myself, unless you are already working on it? Feel free to reassign! /assign |
It looks like the environment variable has been supported for a while, probably all you need to do is to change the webhook deployment to set that environment variable. |
@AceHack can you please try adding the following to your webhook deployment to fix your urgent issue with node restart? - name: METRICS_DOMAIN
value: knative.dev/serving
# PATCH to disable http2 on webhook
- name: GO_DEBUG
value: http2server=0
|
I'm not sure how to get the operator to set these environment variables. I don't see anywhere to set this in the CRDs. |
I was able to fix it with the following commands:
The operator does not overwrite these values |
Hi @tcnghia sorry for bother you, but will you fix this at HEAD and cherry-pick to 0.13, 0.14? |
Describe the bug
Any webhook that uses http2 causes issues in EKS (and other Kubernetes distributions) when a node is rebooted. This is because of a known issue. See references:
kubernetes/kubernetes#80313
istio/istio#13840 (comment)
golang/go#31643
Here is a short rundown of the problem:
Expected behavior
Node reboots not to affect webhook behavior.
To Reproduce
Install any http2 webhook like the ones from knative.
Reboot the node the webhook pod is running on.
Knative release version
0.13.x
Additional context
This issue is extremely urgent as it's causing us constant issues.
Please provide a way to disable http2 and only use http1 in the webhooks. Istio does this with the following:
The text was updated successfully, but these errors were encountered: