Check if resources implement scale in disruption controller

This commit is contained in:
Morten Torkildsen
2021-01-24 16:26:47 -08:00
parent 3433f099fb
commit 96ea28aa77
8 changed files with 119 additions and 3 deletions

View File

@@ -67,6 +67,7 @@ func startDisruptionController(ctx ControllerContext) (http.Handler, bool, error
client,
ctx.RESTMapper,
scaleClient,
client.Discovery(),
).Run(ctx.Stop)
return nil, true, nil
}