@@ -111,6 +113,7 @@ func (s *CMServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -111,6 +113,7 @@ func (s *CMServer) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&s.CloudProvider,"cloud-provider",s.CloudProvider,"The provider for cloud services. Empty string for no provider.")
fs.StringVar(&s.CloudProvider,"cloud-provider",s.CloudProvider,"The provider for cloud services. Empty string for no provider.")
fs.StringVar(&s.CloudConfigFile,"cloud-config",s.CloudConfigFile,"The path to the cloud provider configuration file. Empty string for no configuration file.")
fs.StringVar(&s.CloudConfigFile,"cloud-config",s.CloudConfigFile,"The path to the cloud provider configuration file. Empty string for no configuration file.")
fs.IntVar(&s.ConcurrentEndpointSyncs,"concurrent-endpoint-syncs",s.ConcurrentEndpointSyncs,"The number of endpoint syncing operations that will be done concurrently. Larger number = faster endpoint updating, but more CPU (and network) load")
fs.IntVar(&s.ConcurrentEndpointSyncs,"concurrent-endpoint-syncs",s.ConcurrentEndpointSyncs,"The number of endpoint syncing operations that will be done concurrently. Larger number = faster endpoint updating, but more CPU (and network) load")
fs.IntVar(&s.ConcurrentRCSyncs,"concurrent_rc_syncs",s.ConcurrentRCSyncs,"The number of replication controllers that are allowed to sync concurrently. Larger number = more reponsive replica management, but more CPU (and network) load")
fs.StringVar(&s.MinionRegexp,"minion-regexp",s.MinionRegexp,"If non empty, and --cloud-provider is specified, a regular expression for matching minion VMs.")
fs.StringVar(&s.MinionRegexp,"minion-regexp",s.MinionRegexp,"If non empty, and --cloud-provider is specified, a regular expression for matching minion VMs.")
glog.Errorf("Couldn't get key for object %+v: %v",obj,err)
return
}
}
returnresult
// A periodic relist might not have a pod that the store has, in such cases we are sent a tombstone key.
// We don't know which controllers to sync, so just let the controller relist handle this.
glog.Infof("Pod %q was deleted but we don't have a record of its final state so it could take up to %v before a controller recreates a replica.",podKey,ExpectationsTimeout)
}
}
typeactivePods[]*api.Pod
// obj could be an *api.ReplicationController, or a DeletionFinalStateUnknown marker item.