package daemon
import "k8s.io/kubernetes/pkg/controller/daemon"
Package daemon contains logic for watching and synchronizing daemons.
Index ¶
- Constants
- type DaemonSetsController
- func NewDaemonSetsController(daemonSetInformer extensionsinformers.DaemonSetInformer, podInformer coreinformers.PodInformer, nodeInformer coreinformers.NodeInformer, kubeClient clientset.Interface, lookupCacheSize int) *DaemonSetsController
- func (dsc *DaemonSetsController) Run(workers int, stopCh <-chan struct{})
Constants ¶
const ( // 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 // Reasons for DaemonSet events // SelectingAllReason is added to an event when a DaemonSet selects all Pods. SelectingAllReason = "SelectingAll" // FailedPlacementReason is added to an event when a DaemonSet can't schedule a Pod to a specified node. FailedPlacementReason = "FailedPlacement" // FailedDaemonPodReason is added to an event when the status of a Pod of a DaemonSet is 'Failed'. FailedDaemonPodReason = "FailedDaemonPod" )
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 extensionsinformers.DaemonSetInformer, podInformer coreinformers.PodInformer, nodeInformer coreinformers.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.7.0-alpha.0
- Published
- Feb 21, 2017
- Platform
- js/wasm
- Imports
- 31 packages
- Last checked
- 2 minutes ago –
Tools for package owners.