Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for pod4 (0.05 sec)

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

    	}
    
    	// Create a few pods for tests.
    	var pods []*v1.Pod
    	for i := 0; i < 20; i++ {
    		pod := st.MakePod().Name(fmt.Sprintf("test-pod%v", i)).Namespace("test-ns").UID(fmt.Sprintf("test-puid%v", i)).
    			Node(fmt.Sprintf("test-node%v", i%10)).Obj()
    		pods = append(pods, pod)
    	}
    
    	// Create a few pods as updated versions of the above pods.
    	var updatedPods []*v1.Pod
    	for _, p := range pods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/defaults_test.go

    	s.InitContainers = []v1.Container{{}}
    	pod = &v1.Pod{
    		Spec: s,
    	}
    	output = roundTrip(t, runtime.Object(pod))
    	pod2 = output.(*v1.Pod)
    	defaultRequest = pod2.Spec.Containers[0].Resources.Requests
    	if requestValue := defaultRequest[v1.ResourceCPU]; requestValue.String() != "0" {
    		t.Errorf("Expected 0 request value, got: %s", requestValue.String())
    	}
    	defaultRequest = pod2.Spec.InitContainers[0].Resources.Requests
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    		},
    		{
    			"pods both in the same and another namespace use the volume",
    			[]nodeWithPods{
    				{"node1", []string{"ns1/pod1"}},
    				{"node2", []string{"ns2/pod2"}},
    				{"node3", []string{"ns1/pod3"}},
    			},
    			[]string{"Warning FailedAttachVolume Multi-Attach error for volume \"volume-name\" Volume is already used by pod(s) pod3 and 1 pod(s) in different namespaces"},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Pod.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 52K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Pod.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    }
    
    // Populates desiredStateOfWorld cache with one volume/pod.
    // Calls Run()
    // Verifies there are attach/get map paths/setupDevice calls and
    // no detach/teardownDevice calls.
    func Test_Run_Positive_VolumeAttachAndMap(t *testing.T) {
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod1",
    			UID:       "pod1uid",
    			Namespace: "ns",
    		},
    		Spec: v1.PodSpec{},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  8. pkg/controller/daemon/daemon_controller.go

    				// Emit an event so that it's discoverable to users.
    				dsc.eventRecorder.Eventf(ds, v1.EventTypeWarning, FailedDaemonPodReason, msg)
    				podsToDelete = append(podsToDelete, pod.Name)
    			} else if pod.Status.Phase == v1.PodSucceeded {
    				msg := fmt.Sprintf("Found succeeded daemon pod %s/%s on node %s, will try to delete it", pod.Namespace, pod.Name, node.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  9. pkg/registry/core/pod/strategy_test.go

    			pod: &api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: "pod1"},
    				Spec:       api.PodSpec{},
    				Status:     api.PodStatus{},
    			},
    			expectedIP: "",
    		},
    		{
    			name: "empty list",
    			pod: &api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: "pod1"},
    				Spec:       api.PodSpec{},
    				Status: api.PodStatus{
    					PodIPs: []api.PodIP{},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  10. pkg/controller/podautoscaler/replica_calculator_test.go

    	testPod := "test-pod"
    
    	tests := []struct {
    		name             string
    		pods             []*v1.Pod
    		container        string
    		resource         v1.ResourceName
    		expectedRequests map[string]int64
    		expectedError    error
    	}{
    		{
    			name:             "void",
    			pods:             []*v1.Pod{},
    			container:        "",
    			resource:         v1.ResourceCPU,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
Back to top