Merge pull request #98346 from mortent/checkForScalePDBs

Check if resources implement scale in disruption controller
This commit is contained in:
Kubernetes Prow Robot
2021-02-22 13:58:03 -08:00
committed by GitHub
8 changed files with 119 additions and 3 deletions

View File

@@ -69,7 +69,8 @@ func initDisruptionController(t *testing.T, testCtx *testutils.TestContext) *dis
informers.Apps().V1().StatefulSets(),
testCtx.ClientSet,
mapper,
scaleClient)
scaleClient,
testCtx.ClientSet.Discovery())
informers.Start(testCtx.Scheduler.StopEverything)
informers.WaitForCacheSync(testCtx.Scheduler.StopEverything)