File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
scheme/testdata/KubeProxyConfiguration Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ hostnameOverride: ""
21
21
iptables :
22
22
masqueradeAll : false
23
23
masqueradeBit : 14
24
- minSyncPeriod : 0s
24
+ minSyncPeriod : 1s
25
25
syncPeriod : 30s
26
26
ipvs :
27
27
excludeCIDRs : null
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ hostnameOverride: ""
21
21
iptables :
22
22
masqueradeAll : false
23
23
masqueradeBit : 14
24
- minSyncPeriod : 0s
24
+ minSyncPeriod : 1s
25
25
syncPeriod : 30s
26
26
ipvs :
27
27
excludeCIDRs : null
Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ func SetDefaults_KubeProxyConfiguration(obj *kubeproxyconfigv1alpha1.KubeProxyCo
61
61
if obj .IPTables .SyncPeriod .Duration == 0 {
62
62
obj .IPTables .SyncPeriod = metav1.Duration {Duration : 30 * time .Second }
63
63
}
64
+ if obj .IPTables .MinSyncPeriod .Duration == 0 {
65
+ obj .IPTables .MinSyncPeriod = metav1.Duration {Duration : 1 * time .Second }
66
+ }
64
67
if obj .IPVS .SyncPeriod .Duration == 0 {
65
68
obj .IPVS .SyncPeriod = metav1.Duration {Duration : 30 * time .Second }
66
69
}
You can’t perform that action at this time.
0 commit comments