Merge pull request #83989 from wojtek-t/remove_coordination_v1beta1

Swtich nodelifecyclecontroller to coordination/v1
This commit is contained in:
Kubernetes Prow Robot
2019-10-17 01:47:29 -07:00
committed by GitHub
6 changed files with 25 additions and 25 deletions

View File

@@ -163,7 +163,7 @@ func startNodeIpamController(ctx ControllerContext) (http.Handler, bool, error)
func startNodeLifecycleController(ctx ControllerContext) (http.Handler, bool, error) {
lifecycleController, err := lifecyclecontroller.NewNodeLifecycleController(
ctx.InformerFactory.Coordination().V1beta1().Leases(),
ctx.InformerFactory.Coordination().V1().Leases(),
ctx.InformerFactory.Core().V1().Pods(),
ctx.InformerFactory.Core().V1().Nodes(),
ctx.InformerFactory.Apps().V1().DaemonSets(),