Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GarbageCollect (0.23 sec)

  1. pkg/kubelet/container/runtime.go

    	// specifies whether the runtime returns all containers including those already
    	// exited and dead containers (used for garbage collection).
    	GetPods(ctx context.Context, all bool) ([]*Pod, error)
    	// GarbageCollect removes dead containers using the specified container gc policy
    	// If allSourcesReady is not true, it means that kubelet doesn't have the
    	// complete list of pods from all available sources (e.g., apiserver, http,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet.go

    func (kl *Kubelet) StartGarbageCollection() {
    	loggedContainerGCFailure := false
    	go wait.Until(func() {
    		ctx := context.Background()
    		if err := kl.containerGC.GarbageCollect(ctx); err != nil {
    			klog.ErrorS(err, "Container garbage collection failed")
    			kl.recorder.Eventf(kl.nodeRef, v1.EventTypeWarning, events.ContainerGCFailed, err.Error())
    			loggedContainerGCFailure = true
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top