- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for AllReady (0.26 sec)
-
pkg/kubelet/cm/cpumanager/cpu_manager.go
pendingAdmissionPod *v1.Pod } var _ Manager = &manager{} type sourcesReadyStub struct{} func (s *sourcesReadyStub) AddSource(source string) {} func (s *sourcesReadyStub) AllReady() bool { return true } // NewManager creates new cpu manager based on provided policy
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 19.9K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/memory_manager.go
} type sourcesReadyStub struct{} func (s *sourcesReadyStub) AddSource(source string) {} func (s *sourcesReadyStub) AllReady() bool { return true } // Manager interface provides methods for Kubelet to manage pod memory. type Manager interface { // Start is called during Kubelet initialization.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 00:50:45 UTC 2023 - 17.1K bytes - Viewed (1) -
pkg/kubelet/cm/devicemanager/manager.go
// PodReusableDevices is a map by pod name of devices to reuse. type PodReusableDevices map[string]map[string]sets.Set[string] func (s *sourcesReadyStub) AddSource(source string) {} func (s *sourcesReadyStub) AllReady() bool { return true } // NewManagerImpl creates a new manager. func NewManagerImpl(topology []cadvisorapi.Node, topologyAffinityStore topologymanager.Store) (*ManagerImpl, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 12:01:56 UTC 2024 - 43K bytes - Viewed (0) -
pkg/kubelet/cm/dra/manager.go
// Only once all sources are ready do we attempt to reconcile. // This ensures that the call to m.activePods() below will succeed with // the actual active pods list. if m.sourcesReady == nil || !m.sourcesReady.AllReady() { return } // Get the full list of active pods. activePods := sets.New[string]() for _, p := range m.activePods() { activePods.Insert(string(p.UID)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:23:29 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go
klog.InfoS("Desired state populator starts to run") wait.PollUntil(dswp.loopSleepDuration, func() (bool, error) { done := sourcesReady.AllReady() dswp.populatorLoop() return done, nil }, stopCh) dswp.hasAddedPodsLock.Lock() if !dswp.hasAddedPods { klog.InfoS("Finished populating initial desired state of world") dswp.hasAddedPods = true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 23.8K bytes - Viewed (0)