Skip to content

Commit 94dafa5

Browse files
Add grace period config for kube-controllers IPAM GC
1 parent 3e8dd17 commit 94dafa5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/apis/projectcalico/v3/kubecontrollersconfig.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ type NodeControllerConfig struct {
9393

9494
// HostEndpoint controls syncing nodes to host endpoints. Disabled by default, set to nil to disable.
9595
HostEndpoint *AutoHostEndpointConfig `json:"hostEndpoint,omitempty"`
96+
97+
// LeakGracePeriod is the period used by the controller to determine if an IP address has been leaked.
98+
// Set to 0 to disable IP garbage collection. [Default: 15m]
99+
// +optional
100+
LeakGracePeriod *metav1.Duration `json:"leakGracePeriod,omitempty"`
96101
}
97102

98103
type AutoHostEndpointConfig struct {

0 commit comments

Comments
 (0)