Merge pull request #98257 from lingsamuel/etcd-lease-max-count

lease manager limit max objects attached to a lease
This commit is contained in:
Kubernetes Prow Robot
2021-02-01 14:52:27 -08:00
committed by GitHub
3 changed files with 64 additions and 14 deletions

View File

@@ -164,6 +164,7 @@ func TestAddFlags(t *testing.T) {
HealthcheckTimeout: storagebackend.DefaultHealthcheckTimeout,
LeaseManagerConfig: etcd3.LeaseManagerConfig{
ReuseDurationSeconds: 100,
MaxObjectCount: 1000,
},
},
DefaultStorageMediaType: "application/vnd.kubernetes.protobuf",