Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 601 for Pods (0.03 sec)

  1. pkg/quota/v1/evaluator/core/pods.go

    	// where "pods" tracks all pods that have not reached a terminal state,
    	// count/pods tracks all pods independent of state.
    	result := corev1.ResourceList{
    		podObjectCountName: *(resource.NewQuantity(1, resource.DecimalSI)),
    	}
    
    	// by convention, we do not quota compute resources that have reached end-of life
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo_test.go

    		{"GET", "/api/v1/watch/namespaces/other/pods", "watch", "api", "", "v1", "other", "pods", "", "", []string{"pods"}},
    		{"GET", "/api/v1/namespaces/other/pods?watch=1", "watch", "api", "", "v1", "other", "pods", "", "", []string{"pods"}},
    		{"GET", "/api/v1/namespaces/other/pods?watch=0", "list", "api", "", "v1", "other", "pods", "", "", []string{"pods"}},
    
    		// subresource identification
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 15 12:19:21 UTC 2018
    - 11.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker_test.go

    		httpRequest("GET", "api/v1/pods", "watch=true"),
    		httpRequest("GET", "api/v1/namespaces/foo/pods", "watch=true"),
    		httpRequest("GET", "api/v1/namespaces/foo/pods", "watch=true&fieldSelector=metadata.name=mypod"),
    		httpRequest("GET", "api/v1/namespaces/bar/pods", "watch=true&fieldSelector=metadata.name=mypod"),
    		httpRequest("GET", "apis/group/v1/namespaces/foo/pods", "watch=true"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 03 14:02:51 UTC 2021
    - 10.4K bytes
    - Viewed (0)
  4. pkg/controller/podgc/gc_controller_test.go

    			creationTime := time.Unix(0, 0)
    			nodes := []*v1.Node{testutil.NewNode("node")}
    
    			pods := make([]*v1.Pod, 0, len(test.pods))
    			for _, pod := range test.pods {
    				creationTime = creationTime.Add(1 * time.Hour)
    				pods = append(pods, &v1.Pod{
    					ObjectMeta: metav1.ObjectMeta{Name: pod.name, Namespace: metav1.NamespaceDefault, CreationTimestamp: metav1.Time{Time: creationTime}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  5. pkg/kubelet/preemption/preemption.go

    		podsToEvict = append(podsToEvict, pods[bestPodIndex])
    		pods[bestPodIndex] = pods[len(pods)-1]
    		pods = pods[:len(pods)-1]
    	}
    	return podsToEvict, nil
    }
    
    type admissionRequirement struct {
    	resourceName v1.ResourceName
    	quantity     int64
    }
    
    type admissionRequirementList []*admissionRequirement
    
    // distance returns distance of the pods requests from the admissionRequirements.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 16:53:19 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/policy/v1beta1/types.go

    	// A null selector selects no pods.
    	// An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods.
    	// In policy/v1, an empty selector will select all pods in the namespace.
    	// +optional
    	Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"`
    
    	// An eviction is allowed if at most "maxUnavailable" pods selected by
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/cache/snapshot_test.go

    	}
    }
    
    func TestCreateUsedPVCSet(t *testing.T) {
    	tests := []struct {
    		name     string
    		pods     []*v1.Pod
    		expected sets.Set[string]
    	}{
    		{
    			name:     "empty pods list",
    			pods:     []*v1.Pod{},
    			expected: sets.New[string](),
    		},
    		{
    			name: "pods not scheduled",
    			pods: []*v1.Pod{
    				st.MakePod().Name("foo").Namespace("foo").Obj(),
    				st.MakePod().Name("bar").Namespace("bar").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 08:00:25 UTC 2023
    - 12K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_gc_test.go

    				makeGCSandbox(pods[1], 0, runtimeapi.PodSandboxState_SANDBOX_NOTREADY, true, false, 0),
    				// exited sandbox without containers for deleted pods.
    				makeGCSandbox(pods[2], 0, runtimeapi.PodSandboxState_SANDBOX_NOTREADY, false, true, 0),
    			},
    			containers: []containerTemplate{
    				{pod: pods[1], container: &pods[1].Spec.Containers[0], sandboxAttempt: 1, state: runtimeapi.ContainerState_CONTAINER_EXITED},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1beta1/generated.proto

      // can be scaled down further, followed by scaling up the new ReplicaSet, ensuring
      // that the total number of pods available at all times during the update is at
      // least 70% of desired pods.
      // +optional
      optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;
    
      // The maximum number of pods that can be scheduled above the desired number of
      // pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. pkg/controller/controller_ref_manager_test.go

    	type test struct {
    		name    string
    		manager *PodControllerRefManager
    		pods    []*v1.Pod
    		claimed []*v1.Pod
    		patches int
    	}
    	var tests = []test{
    		func() test {
    			controller := v1.ReplicationController{}
    			controller.Namespace = metav1.NamespaceDefault
    			return test{
    				name: "Claim pods with correct label",
    				manager: NewPodControllerRefManager(&FakePodControl{},
    					&controller,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 17:19:26 UTC 2021
    - 10.6K bytes
    - Viewed (0)
Back to top