Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 925 for Pods (0.04 sec)

  1. pkg/scheduler/internal/cache/snapshot.go

    	s.usedPVCSet = createUsedPVCSet(pods)
    
    	return s
    }
    
    // createNodeInfoMap obtains a list of pods and pivots that list into a map
    // where the keys are node names and the values are the aggregated information
    // for that node.
    func createNodeInfoMap(pods []*v1.Pod, nodes []*v1.Node) map[string]*framework.NodeInfo {
    	nodeNameToInfo := make(map[string]*framework.NodeInfo)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. plugin/pkg/admission/serviceaccount/admission_test.go

    	}
    }
    
    func TestIgnoresNilObject(t *testing.T) {
    	attrs := admission.NewAttributesRecord(nil, nil, api.Kind("Pod").WithVersion("version"), "myns", "myname", api.Resource("pods").WithVersion("version"), "", admission.Create, &metav1.CreateOptions{}, false, nil)
    	handler := admissiontesting.WithReinvocationTesting(t, NewServiceAccount())
    	err := handler.Admit(context.TODO(), attrs, nil)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. pkg/controller/tainteviction/taint_eviction_test.go

    		pods, err := c.CoreV1().Pods(corev1.NamespaceAll).List(ctx, metav1.ListOptions{
    			FieldSelector: selector.String(),
    			LabelSelector: labels.Everything().String(),
    		})
    		if err != nil {
    			return []*corev1.Pod{}, fmt.Errorf("failed to get Pods assigned to node %v", nodeName)
    		}
    		rPods := make([]*corev1.Pod, len(pods.Items))
    		for i := range pods.Items {
    			rPods[i] = &pods.Items[i]
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  4. 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)
  5. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy.go

    				rbacv1helpers.NewRule("list", "delete").Groups(legacyGroup).Resources("pods").RuleOrDie(),
    				eventsRule(),
    			},
    		}
    		if utilfeature.DefaultFeatureGate.Enabled(features.PodDisruptionConditions) {
    			role.Rules = append(role.Rules, rbacv1helpers.NewRule("get").Groups(legacyGroup).Resources("pods").RuleOrDie())
    		}
    		return role
    	}())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  6. pkg/scheduler/metrics/metrics.go

    			Name:           "pending_pods",
    			Help:           "Number of pending pods, by the queue type. 'active' means number of pods in activeQ; 'backoff' means number of pods in backoffQ; 'unschedulable' means number of pods in unschedulablePods that the scheduler attempted to schedule and failed; 'gated' is the number of unschedulable pods that the scheduler never attempted to schedule because they are gated.",
    			StabilityLevel: metrics.STABLE,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 08:22:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/pod.go

    	// just in case the proxy ID is bad formatted
    	pods := pc.getPodsByIP(proxyIP)
    	switch len(pods) {
    	case 0:
    		return nil
    	case 1:
    		return pods[0]
    	default:
    		// This should only happen with hostNetwork pods, which cannot be proxy clients...
    		log.Errorf("unexpected: found multiple pods for proxy %v (%v)", proxy.ID, proxyIP)
    		// Try to handle it gracefully
    		for _, p := range pods {
    			// At least filter out wrong namespaces...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	}{
    		{
    			name:      "create, update, delete subset of pods",
    			podsToAdd: []*v1.Pod{pods[0], pods[1], pods[2], pods[3]},
    			expectedMapAfterAdd: map[string]*framework.QueuedPodInfo{
    				util.GetPodFullName(pods[0]): {PodInfo: mustNewTestPodInfo(t, pods[0]), UnschedulablePlugins: sets.New[string]()},
    				util.GetPodFullName(pods[1]): {PodInfo: mustNewTestPodInfo(t, pods[1]), UnschedulablePlugins: sets.New[string]()},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  9. 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)
  10. pkg/kube/krt/bench_test.go

    	}
    	c.pods = kclient.New[*v1.Pod](cl)
    	c.services = kclient.New[*v1.Service](cl)
    	c.queue = controllers.NewQueue("pods", controllers.WithReconciler(c.Reconcile))
    	c.pods.AddEventHandler(controllers.ObjectHandler(c.queue.AddObject))
    	c.services.AddEventHandler(controllers.FromEventHandler(func(e controllers.Event) {
    		o := e.Latest()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top