docs: cleanup docstrings

This commit is contained in:
lukasmetzner
2025-10-22 13:30:15 +02:00
committed by lukasmetzner
parent abf60333ad
commit b68fd5e533
2 changed files with 5 additions and 12 deletions

View File

@@ -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
)

View File

@@ -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"