We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Original issue kubernetes/client-go#374 (comment) This could cause no update for 30 minutes... Recent comments suggest that we can fix it and use http2 Transport for connecting to kube-apiserver and set ReadIdleTimeout: https://github.com/golang/net/blob/release-branch.go1.15/http2/transport.go#L117
we would need to switch all controllers that rely on WATCH to Go1.15 in order to fix this
import "golang.org/x/net/http2" func configureKubeConfig(apiServerURL *url.URL, timeout time.Duration, stopCh <-chan struct{}) (*rest.Config, error) { tr := &http2.Transport{ .... ReadIdleTimeout: 10 * time.Second, // <-- } ... }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Original issue kubernetes/client-go#374 (comment)
This could cause no update for 30 minutes...
Recent comments suggest that we can fix it and use http2 Transport for connecting to kube-apiserver and set ReadIdleTimeout: https://github.com/golang/net/blob/release-branch.go1.15/http2/transport.go#L117
we would need to switch all controllers that rely on WATCH to Go1.15 in order to fix this
The text was updated successfully, but these errors were encountered: