• Jan Chaloupka's avatar
    Jittering periods of some kubelet's sync loops: · 392fc666
    Jan Chaloupka authored
    - pod_workers: pod syncing
    - prober workers: container syncing
    
    In order to synchronize the current state of Kubernetes's objects (e.g. pods, containers, etc.),
    periodic synch loops are run. When there is a lot of objects to synchronize with,
    loops increase communication traffic. At some point when all the traffic interfere cpu usage curve
    hits the roof causing 100% cpu utilization.
    
    To distribute the traffic in time, some sync loops can jitter their period in each loop
    and help to flatten the curve.
    392fc666
pod_workers.go 7.65 KB