Fix resync of the clusters

This commit is contained in:
Murat Kabilov
2017-06-08 11:51:48 +02:00
committed by GitHub
parent bdc2db97ac
commit e104a67260
5 changed files with 32 additions and 4 deletions
-1
View File
@@ -15,7 +15,6 @@ type TPR struct {
}
type Resources struct {
ResyncPeriodPod time.Duration `name:"resync_period_pod" default:"5m"`
ResourceCheckInterval time.Duration `name:"resource_check_interval" default:"3s"`
ResourceCheckTimeout time.Duration `name:"resource_check_timeout" default:"10m"`
PodLabelWaitTimeout time.Duration `name:"pod_label_wait_timeout" default:"10m"`
+3
View File
@@ -10,4 +10,7 @@ const (
K8sAPIPath = "/api"
StatefulsetDeletionInterval = 1 * time.Second
StatefulsetDeletionTimeout = 30 * time.Second
QueueResyncPeriodPod = 5 * time.Minute
QueueResyncPeriodTPR = 5 * time.Minute
)