Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 550 for pfds (0.03 sec)

  1. istioctl/pkg/util/handlers/handlers.go

    	}
    
    	options := metav1.ListOptions{LabelSelector: selector}
    	podList, err := client.Pods(namespace).List(context.TODO(), options)
    	if err != nil {
    		return []string{}, "", err
    	}
    	pods := []string{}
    	for i := range podList.Items {
    		pods = append(pods, podList.Items[i].Name)
    	}
    
    	return pods, namespace, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 06 15:01:41 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/cache/debugger/dumper.go

    	nodeData.WriteString(fmt.Sprintf("Node name: %s\nDeleted: %t\nRequested Resources: %+v\nAllocatable Resources:%+v\nScheduled Pods(number: %v):\n",
    		name, n.Node() == nil, n.Requested, n.Allocatable, len(n.Pods)))
    	// Dumping Pod Info
    	for _, p := range n.Pods {
    		nodeData.WriteString(printPod(p.Pod))
    	}
    	// Dumping nominated pods info on the node
    	nominatedPodInfos := d.podQueue.NominatedPodsForNode(name)
    	if len(nominatedPodInfos) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 05:26:32 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/internal/coverage/pods/pods_test.go

    	// sent to separate directories.
    	mkmeta(o2, "m1")
    	mkcounter(o2, "m1", 11, 35)
    
    	// Collect pods.
    	podlist, err := pods.CollectPods([]string{o1, o2}, true)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Verify pods
    	if len(podlist) != 2 {
    		t.Fatalf("expected 2 pods got %d pods", len(podlist))
    	}
    
    	for k, p := range podlist {
    		t.Logf("%d: mf=%s\n", k, p.MetaFile)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 14:00:17 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. pkg/kubelet/types/pod_update.go

    	SET PodOperation = iota
    	// ADD signifies pods that are new to this source.
    	ADD
    	// DELETE signifies pods that are gracefully deleted from this source.
    	DELETE
    	// REMOVE signifies pods that have been removed from this source.
    	REMOVE
    	// UPDATE signifies pods have been updated in this source.
    	UPDATE
    	// RECONCILE signifies pods that have unexpected status in this source,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. pkg/util/procfs/procfs_linux_test.go

    }
    
    func TestPidOf(t *testing.T) {
    	if runtime.GOOS == "darwin" || runtime.GOOS == "windows" {
    		t.Skipf("not supported on GOOS=%s", runtime.GOOS)
    	}
    	pids, err := PidOf(filepath.Base(os.Args[0]))
    	assert.Empty(t, err)
    	assert.NotZero(t, pids)
    	assert.Contains(t, pids, os.Getpid())
    }
    
    func TestPKill(t *testing.T) {
    	if runtime.GOOS == "darwin" || runtime.GOOS == "windows" {
    		t.Skipf("not supported on GOOS=%s", runtime.GOOS)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 07:13:28 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authn_audit_test.go

    	}
    	if ev.Verb != "list" {
    		t.Errorf("Unexpected verb, expected list, got %s", ev.Verb)
    	}
    	if ev.RequestURI != "/api/v1/namespaces/default/pods" {
    		t.Errorf("Unexpected user, expected /api/v1/namespaces/default/pods, got %s", ev.RequestURI)
    	}
    }
    
    func TestFailedMultipleAuthnAudit(t *testing.T) {
    	sink := &fakeAuditSink{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 12 21:42:41 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  9. pkg/scheduler/util/pod_resources.go

    // of computing priority only. This ensures that when scheduling zero-request pods, such
    // pods will not all be scheduled to the node with the smallest in-use request,
    // and that when scheduling regular pods, such pods will not see zero-request pods as
    // consuming no resources whatsoever. We chose these values to be similar to the
    // resources that we give to cluster addon pods (#10653). But they are pretty arbitrary.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 01 06:25:30 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. istioctl/pkg/checkinject/testdata/check-inject/never-match-injector.yaml

        reinvocationPolicy: Never
        rules:
          - apiGroups:
              - ""
            apiVersions:
              - v1
            operations:
              - CREATE
            resources:
              - pods
            scope: '*'
        sideEffects: None
        timeoutSeconds: 10
      - admissionReviewVersions:
          - v1beta1
          - v1
        clientConfig:
          service:
            name: istiod
            namespace: istio-system
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top