mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 19:52:42 +00:00
Sync replication count with the api server on pod creation/deletion.
This commit is contained in:
@@ -203,9 +203,8 @@ func startComponents(manifestURL string) (apiServerURL string) {
|
||||
|
||||
controllerManager := replicationControllerPkg.NewReplicationManager(cl)
|
||||
|
||||
// Prove that controllerManager's watch works by making it not sync until after this
|
||||
// test is over. (Hopefully we don't take 10 minutes!)
|
||||
controllerManager.Run(10 * time.Minute)
|
||||
// TODO: Write an integration test for the replication controllers watch.
|
||||
controllerManager.Run(1 * time.Second)
|
||||
|
||||
nodeResources := &api.NodeResources{}
|
||||
|
||||
|
Reference in New Issue
Block a user