package daemon
import "k8s.io/kubernetes/pkg/controller/daemon"
Package daemon contains logic for watching and synchronizing daemons.
Index ¶
Constants ¶
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. // Realistic value of the burstReplica field for the replication manager based off // performance requirements for kubernetes 1.0. BurstReplicas = 500 // If sending a status upate to API server fails, we retry a finite number of times. StatusUpdateRetries = 1 )
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.
Source Files ¶
daemoncontroller.go doc.go
- Version
- v1.5.0-alpha.2
- Published
- Oct 27, 2016
- Platform
- js/wasm
- Imports
- 24 packages
- Last checked
- 20 seconds ago –
Tools for package owners.