Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for Pods (0.07 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    				expectedRequests := map[string]string{}
    				if requireObject {
    					pods, _ := testData()
    					expectedRequests = map[string]string{
    						"/namespaces/test/pods/foo":        runtime.EncodeOrDie(corev1Codec, &pods.Items[0]),
    						"/namespaces/test/pods/bar":        runtime.EncodeOrDie(corev1Codec, &pods.Items[0]),
    						"/namespaces/test/pods/foo/status": runtime.EncodeOrDie(corev1Codec, subresourceTestData("foo")),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/apps/v1/types.go

    	// can have their pods stopped for an update at any given time. The update
    	// starts by stopping at most 30% of those DaemonSet pods and then brings
    	// up new DaemonSet pods in their place. Once the new pods are available,
    	// it then proceeds onto other DaemonSet pods, thus ensuring that at least
    	// 70% of original number of DaemonSet pods are available at all times during
    	// the update.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller.go

    	// When adopting Pods, this operation adds an ownerRef and finalizers.
    	pods, err = cm.ClaimPods(ctx, pods)
    	if err != nil {
    		return pods, err
    	}
    	// Set finalizer on adopted pods for the remaining calculations.
    	for i, p := range pods {
    		adopted := true
    		for _, r := range p.OwnerReferences {
    			if r.UID == j.UID {
    				adopted = false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  4. pkg/controller/replicaset/replica_set_test.go

    	pods := newPodList(nil, 2, v1.PodPending, labelMap, rsSpec, "pod")
    	informers.Core().V1().Pods().Informer().GetIndexer().Add(&pods.Items[0])
    	postExpectationsPod := pods.Items[1]
    
    	manager.expectations = controller.NewUIDTrackingControllerExpectations(FakeRSExpectations{
    		controller.NewControllerExpectations(), true, func() {
    			// If we check active pods before checking expectataions, the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apps/v1beta2/types.go

    	// can have their pods stopped for an update at any given time. The update
    	// starts by stopping at most 30% of those DaemonSet pods and then brings
    	// up new DaemonSet pods in their place. Once the new pods are available,
    	// it then proceeds onto other DaemonSet pods, thus ensuring that at least
    	// 70% of original number of DaemonSet pods are available at all times during
    	// the update.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    			podInformer := informerFactory.Core().V1().Pods().Informer()
    			podInformer.GetStore().Add(test.pod)
    			for i := range test.pods {
    				podInformer.GetStore().Add(test.pods[i])
    			}
    
    			deletedPodNames := sets.New[string]()
    			patchedPodNames := sets.New[string]()
    			client.PrependReactor("patch", "pods", func(action clienttesting.Action) (bool, runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/queue/scheduling_queue.go

    }
    
    // NominatedPodsForNode returns a copy of pods that are nominated to run on the given node,
    // but they are waiting for other pods to be removed from the node.
    func (npm *nominator) NominatedPodsForNode(nodeName string) []*framework.PodInfo {
    	npm.lock.RLock()
    	defer npm.lock.RUnlock()
    	// Make a copy of the nominated Pods so the caller can mutate safely.
    	pods := make([]*framework.PodInfo, len(npm.nominatedPods[nodeName]))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  8. pkg/controller/disruption/disruption_test.go

    	pods := []*v1.Pod{}
    	for i := int32(0); i < 4; i++ {
    		ps.VerifyPdbStatus(t, pdbName, 0, i, 3, i, map[string]metav1.Time{})
    		pod, _ := newPod(t, fmt.Sprintf("yo-yo-yo %d", i))
    		pods = append(pods, pod)
    		add(t, dc.podStore, pod)
    		dc.sync(ctx, pdbName)
    	}
    	ps.VerifyPdbStatus(t, pdbName, 1, 4, 3, 4, map[string]metav1.Time{})
    
    	// Now set one pod as unavailable
    	pods[0].Status.Conditions = []v1.PodCondition{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  9. pkg/controller/daemon/daemon_controller.go

    		return nil, err
    	}
    
    	// List all pods to include those that don't match the selector anymore but
    	// have a ControllerRef pointing to this controller.
    	pods, err := dsc.podLister.Pods(ds.Namespace).List(labels.Everything())
    	if err != nil {
    		return nil, err
    	}
    	// If any adoptions are attempted, we should first recheck for deletion with
    	// an uncached quorum read sometime after listing Pods (see #42639).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/extensions/v1beta1/types.go

    	// can have their pods stopped for an update at any given time. The update
    	// starts by stopping at most 30% of those DaemonSet pods and then brings
    	// up new DaemonSet pods in their place. Once the new pods are available,
    	// it then proceeds onto other DaemonSet pods, thus ensuring that at least
    	// 70% of original number of DaemonSet pods are available at all times during
    	// the update.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:29 UTC 2023
    - 61.3K bytes
    - Viewed (0)
Back to top