const BurstReplicas …
const StatusUpdateRetries …
const BackoffGCInterval …
const SelectingAllReason …
const FailedPlacementReason …
const FailedDaemonPodReason …
const SucceededDaemonPodReason …
var controllerKind …
type DaemonSetsController …
func NewDaemonSetsController(
ctx context.Context,
daemonSetInformer appsinformers.DaemonSetInformer,
historyInformer appsinformers.ControllerRevisionInformer,
podInformer coreinformers.PodInformer,
nodeInformer coreinformers.NodeInformer,
kubeClient clientset.Interface,
failedPodsBackoff *flowcontrol.Backoff,
) (*DaemonSetsController, error) { … }
func (dsc *DaemonSetsController) addDaemonset(logger klog.Logger, obj interface{ … }
func (dsc *DaemonSetsController) updateDaemonset(logger klog.Logger, cur, old interface{ … }
func (dsc *DaemonSetsController) deleteDaemonset(logger klog.Logger, obj interface{ … }
func (dsc *DaemonSetsController) Run(ctx context.Context, workers int) { … }
func (dsc *DaemonSetsController) runWorker(ctx context.Context) { … }
func (dsc *DaemonSetsController) processNextWorkItem(ctx context.Context) bool { … }
func (dsc *DaemonSetsController) enqueue(ds *apps.DaemonSet) { … }
func (dsc *DaemonSetsController) enqueueDaemonSetAfter(obj interface{ … }
func (dsc *DaemonSetsController) getDaemonSetsForPod(pod *v1.Pod) []*apps.DaemonSet { … }
func (dsc *DaemonSetsController) getDaemonSetsForHistory(logger klog.Logger, history *apps.ControllerRevision) []*apps.DaemonSet { … }
func (dsc *DaemonSetsController) addHistory(logger klog.Logger, obj interface{ … }
func (dsc *DaemonSetsController) updateHistory(logger klog.Logger, old, cur interface{ … }
func (dsc *DaemonSetsController) deleteHistory(logger klog.Logger, obj interface{ … }
func (dsc *DaemonSetsController) addPod(logger klog.Logger, obj interface{ … }
func (dsc *DaemonSetsController) updatePod(logger klog.Logger, old, cur interface{ … }
func (dsc *DaemonSetsController) deletePod(logger klog.Logger, obj interface{ … }
func (dsc *DaemonSetsController) addNode(logger klog.Logger, obj interface{ … }
func shouldIgnoreNodeUpdate(oldNode, curNode v1.Node) bool { … }
func (dsc *DaemonSetsController) updateNode(logger klog.Logger, old, cur interface{ … }
func (dsc *DaemonSetsController) getDaemonPods(ctx context.Context, ds *apps.DaemonSet) ([]*v1.Pod, error) { … }
func (dsc *DaemonSetsController) getNodesToDaemonPods(ctx context.Context, ds *apps.DaemonSet, includeDeletedTerminal bool) (map[string][]*v1.Pod, error) { … }
func (dsc *DaemonSetsController) resolveControllerRef(namespace string, controllerRef *metav1.OwnerReference) *apps.DaemonSet { … }
func (dsc *DaemonSetsController) podsShouldBeOnNode(
logger klog.Logger,
node *v1.Node,
nodeToDaemonPods map[string][]*v1.Pod,
ds *apps.DaemonSet,
hash string,
) (nodesNeedingDaemonPods, podsToDelete []string) { … }
func (dsc *DaemonSetsController) updateDaemonSet(ctx context.Context, ds *apps.DaemonSet, nodeList []*v1.Node, hash, key string, old []*apps.ControllerRevision) error { … }
func (dsc *DaemonSetsController) manage(ctx context.Context, ds *apps.DaemonSet, nodeList []*v1.Node, hash string) error { … }
func (dsc *DaemonSetsController) syncNodes(ctx context.Context, ds *apps.DaemonSet, podsToDelete, nodesNeedingDaemonPods []string, hash string) error { … }
func storeDaemonSetStatus(
ctx context.Context,
dsClient unversionedapps.DaemonSetInterface,
ds *apps.DaemonSet, desiredNumberScheduled,
currentNumberScheduled,
numberMisscheduled,
numberReady,
updatedNumberScheduled,
numberAvailable,
numberUnavailable int,
updateObservedGen bool) error { … }
func (dsc *DaemonSetsController) updateDaemonSetStatus(ctx context.Context, ds *apps.DaemonSet, nodeList []*v1.Node, hash string, updateObservedGen bool) error { … }
func (dsc *DaemonSetsController) syncDaemonSet(ctx context.Context, key string) error { … }
func NodeShouldRunDaemonPod(node *v1.Node, ds *apps.DaemonSet) (bool, bool) { … }
func predicates(pod *v1.Pod, node *v1.Node, taints []v1.Taint) (fitsNodeName, fitsNodeAffinity, fitsTaints bool) { … }
func NewPod(ds *apps.DaemonSet, nodeName string) *v1.Pod { … }
type podByCreationTimestampAndPhase …
func (o podByCreationTimestampAndPhase) Len() int { … }
func (o podByCreationTimestampAndPhase) Swap(i, j int) { … }
func (o podByCreationTimestampAndPhase) Less(i, j int) bool { … }
func failedPodsBackoffKey(ds *apps.DaemonSet, nodeName string) string { … }
func getUnscheduledPodsWithoutNode(runningNodesList []*v1.Node, nodeToDaemonPods map[string][]*v1.Pod) []string { … }