Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for isActive (0.45 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    		}
    	}
    
    	// Assume we removed the containers so that we're not too aggressive.
    	return containers[:numToKeep]
    }
    
    // removeOldestNSandboxes removes the oldest inactive toRemove sandboxes and
    // returns the resulting slice.
    func (cgc *containerGC) removeOldestNSandboxes(ctx context.Context, sandboxes []sandboxGCInfo, toRemove int) {
    	numToKeep := len(sandboxes) - toRemove
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/memorymanager/memory_manager.go

    	// for all containers a pod
    	containerMap containermap.ContainerMap
    
    	// sourcesReady provides the readiness of kubelet configuration sources such as apiserver update readiness.
    	// We use it to determine when we can purge inactive pods from checkpointed state.
    	sourcesReady config.SourcesReady
    
    	// stateFileDirectory holds the directory where the state file for checkpoints is held.
    	stateFileDirectory string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 00:50:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/dra/plugin/noderesources.go

    //
    // If a kubeClient is provided, then it synchronizes ResourceSlices
    // with the resource information provided by plugins. Without it,
    // the controller is inactive. This can happen when kubelet is run stand-alone
    // without an apiserver. In that case we can't and don't need to publish
    // ResourceSlices.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/cpu_manager.go

    	nodeAllocatableReservation v1.ResourceList
    
    	// sourcesReady provides the readiness of kubelet configuration sources such as apiserver update readiness.
    	// We use it to determine when we can purge inactive pods from checkpointed state.
    	sourcesReady config.SourcesReady
    
    	// stateFileDirectory holds the directory where the state file for checkpoints is held.
    	stateFileDirectory string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 19.9K bytes
    - Viewed (0)
  5. pkg/kubelet/pleg/generic.go

    func (g *GenericPLEG) updateCache(ctx context.Context, pod *kubecontainer.Pod, pid types.UID) (error, bool) {
    	if pod == nil {
    		// The pod is missing in the current relist. This means that
    		// the pod has no visible (active or inactive) containers.
    		klog.V(4).InfoS("PLEG: Delete status for pod", "podUID", string(pid))
    		g.cache.Delete(pid)
    		return nil, true
    	}
    
    	g.podCacheMutex.Lock()
    	defer g.podCacheMutex.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/devicemanager/manager.go

    	activePods ActivePodsFunc
    
    	// sourcesReady provides the readiness of kubelet configuration sources such as apiserver update readiness.
    	// We use it to determine when we can purge inactive pods from checkpointed state.
    	sourcesReady config.SourcesReady
    
    	// allDevices holds all the devices currently registered to the device manager
    	allDevices ResourceDeviceInstances
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testNativeMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("nativeMethod");
        assertTrue(invokable.isNative());
        assertTrue(invokable.isPackagePrivate());
      }
    
      public void testSynchronizedMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("synchronizedMethod");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testNativeMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("nativeMethod");
        assertTrue(invokable.isNative());
        assertTrue(invokable.isPackagePrivate());
      }
    
      public void testSynchronizedMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("synchronizedMethod");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. src/runtime/time.go

    // stopTimer stops a timer.
    // It reports whether t was stopped before being run.
    //
    //go:linkname stopTimer time.stopTimer
    func stopTimer(t *timeTimer) bool {
    	return t.stop()
    }
    
    // resetTimer resets an inactive timer, adding it to the timer heap.
    //
    // Reports whether the timer was modified before it was run.
    //
    //go:linkname resetTimer time.resetTimer
    func resetTimer(t *timeTimer, when, period int64) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  10. pkg/controller/deployment/deployment_controller.go

    	podMap := make(map[types.UID][]*v1.Pod, len(rsList))
    	for _, rs := range rsList {
    		podMap[rs.UID] = []*v1.Pod{}
    	}
    	for _, pod := range pods {
    		// Do not ignore inactive Pods because Recreate Deployments need to verify that no
    		// Pods from older versions are running before spinning up new Pods.
    		controllerRef := metav1.GetControllerOf(pod)
    		if controllerRef == nil {
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top