Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for orphaned (0.19 sec)

  1. pkg/kubelet/kubelet_volumes.go

    			}
    		}
    
    		// Rmdir the pod dir, which should be empty if everything above was successful
    		klog.V(3).InfoS("Orphaned pod found, removing", "podUID", uid)
    		if err := syscall.Rmdir(podDir); err != nil {
    			cleanupFailed = true
    			klog.ErrorS(err, "Failed to remove orphaned pod dir", "podUID", uid)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. pkg/controller/podgc/gc_controller.go

    		}(terminatedPods[i])
    	}
    	wait.Wait()
    }
    
    // gcOrphaned deletes pods that are bound to nodes that don't exist.
    func (gcc *PodGCController) gcOrphaned(ctx context.Context, pods []*v1.Pod, nodes []*v1.Node) {
    	logger := klog.FromContext(ctx)
    	logger.V(4).Info("GC'ing orphaned")
    	existingNodeNames := sets.NewString()
    	for _, node := range nodes {
    		existingNodeNames.Insert(node.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. pkg/kubelet/userns/userns_manager.go

    			continue
    		}
    
    		klog.V(5).InfoS("Clean up orphaned pod user namespace possible allocation", "podUID", podUID)
    		m.releaseWithLock(podUID)
    	}
    
    	// Lets remove any existing allocation for a pod that is not "found".
    	for podUID := range m.usedBy {
    		if allFound.Has(string(podUID)) {
    			continue
    		}
    
    		klog.V(5).InfoS("Clean up orphaned pod user namespace possible allocation", "podUID", podUID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultWorkerLeaseService.java

            if (!allLockedByCurrentThread(locks)) {
                throw new IllegalStateException("Not all of the locks specified are currently held by the current thread.  This could lead to orphaned locks.");
            }
        }
    
        @Override
        public <T> T withReplacedLocks(Collection<? extends ResourceLock> currentLocks, ResourceLock newLock, Factory<T> factory) {
            if (currentLocks.contains(newLock)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 04:43:28 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_test.go

    		_, ctx := ktesting.NewTestContext(t)
    		ssc, _, om, _ := newFakeStatefulSetController(ctx, set)
    		om.setsIndexer.Add(set)
    
    		pods := []*v1.Pod{}
    		pods = append(pods, newStatefulSetPod(set, 0))
    		// pod1 is orphaned
    		pods = append(pods, newStatefulSetPod(set, 1))
    		pods[1].OwnerReferences = nil
    		// pod2 is owned but has wrong name.
    		pods = append(pods, newStatefulSetPod(set, 2))
    		pods[2].Name = "x" + pods[2].Name
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. pkg/controller/podgc/gc_controller_test.go

    			gcc.nodeQueue.ShutDown()
    			gcc.nodeQueue = workqueue.NewTypedDelayingQueueWithConfig(workqueue.TypedDelayingQueueConfig[string]{Clock: fakeClock, Name: "podgc_test_queue"})
    
    			// First GC of orphaned pods
    			gcc.gc(ctx)
    			deletedPodNames := getDeletedPodNames(client)
    
    			if len(deletedPodNames) > 0 {
    				t.Errorf("no pods should be deleted at this point.\n\tactual: %v", deletedPodNames)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set.go

    		ssc.enqueueStatefulSet(set)
    		return
    	}
    
    	// Otherwise, it's an orphan. Get a list of all matching controllers and sync
    	// them to see if anyone wants to adopt it.
    	sets := ssc.getStatefulSetsForPod(pod)
    	if len(sets) == 0 {
    		return
    	}
    	logger.V(4).Info("Orphan Pod created with labels", "pod", klog.KObj(pod), "labels", pod.Labels)
    	for _, set := range sets {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/plugin/noderesources.go

    			return fmt.Errorf("create node resource slice: %w", err)
    		}
    	}
    
    	// All remaining slices are truly orphaned.
    	for i := 0; i < numObsoleteSlices; i++ {
    		slice := obsoleteSlices[i]
    		logger.V(5).Info("Deleting obsolete node resource slice", "slice", klog.KObj(slice))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. pkg/controller/deployment/deployment_controller.go

    		dc.enqueueDeployment(d)
    		return
    	}
    
    	// Otherwise, it's an orphan. Get a list of all matching Deployments and sync
    	// them to see if anyone wants to adopt it.
    	ds := dc.getDeploymentsForReplicaSet(logger, rs)
    	if len(ds) == 0 {
    		return
    	}
    	logger.V(4).Info("Orphan ReplicaSet added", "replicaSet", klog.KObj(rs))
    	for _, d := range ds {
    		dc.enqueueDeployment(d)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/compile.go

    	{name: "zero arg cse", fn: zcse, required: true},     // required to merge OpSB values
    	{name: "opt deadcode", fn: deadcode, required: true}, // remove any blocks orphaned during opt
    	{name: "generic cse", fn: cse},
    	{name: "phiopt", fn: phiopt},
    	{name: "gcse deadcode", fn: deadcode, required: true}, // clean out after cse and phiopt
    	{name: "nilcheckelim", fn: nilcheckelim},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top