Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 123 for orphaned (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/PlatformResolveIntegrationTest.groovy

            expect:
            succeeds 'checkDeps'
            //Shape of the graph is not checked as bug was failing resolution altogether
        }
    
        def 'platform upgrade does not leave orphaned edges'() {
            given:
            def depA = mavenHttpRepo.module('org.test', 'depA', '1.0').withModuleMetadata()
                .withVariant('runtime') {
                    dependsOn('org.test', 'platform', '1.0') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. operator/pkg/object/objects.go

    			return 2
    
    			// validatingwebhookconfiguration is configured to FAIL-OPEN in the default install. For the
    			// re-install case we want to apply the validatingwebhookconfiguration first to reset any
    			// orphaned validatingwebhookconfiguration that is FAIL-CLOSE.
    		case gk == "admissionregistration.k8s.io/ValidatingWebhookConfiguration":
    			return 3
    
    			// Pods might need configmap or secrets - avoid backoff by creating them first
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  6. 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)
  7. pkg/controller/controller_ref_manager.go

    		if errors.IsNotFound(err) {
    			return false, nil
    		}
    		// Either someone else claimed it first, or there was a transient error.
    		// The controller should requeue and try again if it's still orphaned.
    		return false, err
    	}
    	// Successfully adopted.
    	return true, nil
    }
    
    type PodControllerRefManager struct {
    	BaseControllerRefManager
    	controllerKind schema.GroupVersionKind
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  8. pkg/volume/csi/csi_block.go

    		klog.V(4).Infof("Failed to clean up block volume directory %s", err)
    	}
    
    	return nil
    }
    
    // Clean up any orphan files / directories when a block volume is being unstaged.
    // At this point we can be sure that there is no pod using the volume and all
    // files are indeed orphaned.
    func (m *csiBlockMapper) cleanupOrphanDeviceFiles() error {
    	// Remove artifacts of NodePublish.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 20.1K 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. pkg/kubelet/kubelet.go

    	// unmounting, and detaching as those pods move through their lifecycle. It periodically
    	// synchronizes the set of known volumes to the set of actually desired volumes and cleans up
    	// any orphaned volumes. The volume manager considers the podWorker to be authoritative for
    	// which pods are running.
    	volumeManager volumemanager.VolumeManager
    
    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