kube-fetcher/cmd/fetcher/config.go
Erik Brakkee e8d4adaf53 periodically checking now for pods.
Now also dealing with deleted resources in the time interval.
Making sure that new pods are not immediately synced on other nodes to avoid pull rate limits caused by this code.
2025-03-02 19:47:44 +01:00

15 lines
319 B
Go

package main
import "time"
type Config struct {
PollInterval time.Duration
KubernetesNamespace string
SocketPath string
ContainerdNamespace string
Nodename string
ReadyDuration time.Duration
includeControllerNodes bool
monitoringWindowSize time.Duration
}