Documentation ¶
Overview ¶
Package daemon contains logic for watching and synchronizing daemons.
Index ¶
Constants ¶
View Source
const ( // Daemon sets will periodically check that their daemon pods are running as expected. FullDaemonSetResyncPeriod = 30 * time.Second // TODO: Figure out if this time seems reasonable. // The value of 250 is chosen b/c values that are too high can cause registry DoS issues BurstReplicas = 250 // If sending a status upate to API server fails, we retry a finite number of times. StatusUpdateRetries = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaemonSetsController ¶
type DaemonSetsController struct {
// contains filtered or unexported fields
}
DaemonSetsController is responsible for synchronizing DaemonSet objects stored in the system with actual running pods.
func NewDaemonSetsController ¶
func NewDaemonSetsController(daemonSetInformer informers.DaemonSetInformer, podInformer informers.PodInformer, nodeInformer informers.NodeInformer, kubeClient clientset.Interface, lookupCacheSize int) *DaemonSetsController
func (*DaemonSetsController) Run ¶
func (dsc *DaemonSetsController) Run(workers int, stopCh <-chan struct{})
Run begins watching and syncing daemon sets.
Click to show internal directories.
Click to hide internal directories.