Merge pull request #101604 from pacoxu/tuning-grpc

use PermitWithoutStream=true for etcd: send pings even without active stream
This commit is contained in:
Kubernetes Prow Robot 2021-07-07 17:04:53 -07:00 committed by GitHub
commit e3234f3d6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,6 +154,7 @@ func newETCD3Client(c storagebackend.TransportConfig) (*clientv3.Client, error)
DialTimeout: dialTimeout,
DialKeepAliveTime: keepaliveTime,
DialKeepAliveTimeout: keepaliveTimeout,
PermitWithoutStream: true,
DialOptions: dialOptions,
Endpoints: c.ServerList,
TLS: tlsConfig,