mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-24 03:40:56 +00:00
docs: cleanup docstrings
This commit is contained in:
committed by
lukasmetzner
parent
abf60333ad
commit
b68fd5e533
@@ -55,8 +55,10 @@ const (
|
||||
// Maximal number of concurrent route operation API calls.
|
||||
// TODO: This should be per-provider.
|
||||
maxConcurrentRouteOperations int = 200
|
||||
// In the scenarios with a burst of node events,
|
||||
// we don't want to be worse than a 10s interval (current default reconcile interval).
|
||||
// In the scenarios with a burst of node events, we don't want to be worse
|
||||
// than a 10s interval.
|
||||
// The 10s interval was defined in KEP 5237, it is equivalent to the default
|
||||
// sync period of the route controller.
|
||||
minRouteResyncInterval time.Duration = 10 * time.Second
|
||||
)
|
||||
|
||||
|
||||
@@ -31,17 +31,8 @@ import (
|
||||
// of code conflicts because changes are more likely to be scattered
|
||||
// across the file.
|
||||
const (
|
||||
// Every feature gate should add method here following this template:
|
||||
//
|
||||
// // owner: @username
|
||||
// MyFeature featuregate.Feature = "MyFeature"
|
||||
//
|
||||
// Feature gates should be listed in alphabetical, case-sensitive
|
||||
// (upper before any lower case character) order. This reduces the risk
|
||||
// of code conflicts because changes are more likely to be scattered
|
||||
// across the file.
|
||||
|
||||
// owner: @lukasmetzner
|
||||
// kep: http://kep.k8s.io/5237
|
||||
// Use watch based route controller reconciliation instead of frequent periodic reconciliation.
|
||||
CloudControllerManagerWatchBasedRoutesReconciliation featuregate.Feature = "CloudControllerManagerWatchBasedRoutesReconciliation"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user