Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,625 for container1 (0.17 sec)

  1. pkg/controller/podautoscaler/replica_calculator_test.go

    					Containers: []v1.Container{
    						{Name: "container1", Resources: v1.ResourceRequirements{Requests: v1.ResourceList{v1.ResourceCPU: *resource.NewMilliQuantity(100, resource.DecimalSI)}}},
    						{Name: "container2", Resources: v1.ResourceRequirements{Requests: v1.ResourceList{v1.ResourceCPU: *resource.NewMilliQuantity(50, resource.DecimalSI)}}},
    					},
    				},
    			}},
    			container:        "container1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/preemption/preemption_test.go

    					st.MakeContainer().Name("container1").Obj(),
    				}).Obj(),
    				st.MakePod().Name("p3.1").UID("p3.1").Node("node3").Priority(midPriority).Containers([]v1.Container{
    					st.MakeContainer().Name("container1").Obj(),
    					st.MakeContainer().Name("container2").Obj(),
    					st.MakeContainer().Name("container3").Obj(),
    				}).Obj(),
    			},
    			expected: "node2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. pkg/registry/core/pod/strategy_test.go

    			expectedErr:       errors.NewBadRequest("a container name must be specified for pod test, choose one of: [container1 container2]"),
    			expectedTransport: nil,
    		},
    		{
    			name: "initcontainers",
    			in: &api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: fakePodName},
    				Spec: api.PodSpec{
    					Containers: []api.Container{
    						{Name: "container1"},
    						{Name: "container2"},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  4. pkg/util/pod/pod_test.go

    			},
    			{
    				Type:   v1.PodScheduled,
    				Status: v1.ConditionTrue,
    			},
    		},
    		ContainerStatuses: []v1.ContainerStatus{
    			{
    				Name:  "container1",
    				Ready: true,
    			},
    			{
    				Name:  "container2",
    				Ready: true,
    			},
    		},
    		Message: "Message",
    	}
    }
    
    func TestReplaceOrAppendPodCondition(t *testing.T) {
    	cType := v1.PodConditionType("ExampleType")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 15:22:29 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers_test.go

    								Name:  "fake-container1",
    								Image: "fake-image1",
    							},
    							{
    								Name:  "fake-container2",
    								Image: "fake-image2",
    							},
    						},
    					},
    				},
    			},
    
    			options: printers.GenerateOptions{},
    			// Columns: Name, Containers, Images, Pod Labels
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  6. pkg/volume/util/util_test.go

    								{
    									Name: "vol2",
    								},
    							},
    						},
    					},
    					Containers: []v1.Container{
    						{
    							Name: "container1",
    							VolumeMounts: []v1.VolumeMount{
    								{
    									Name: "vol3",
    								},
    							},
    						},
    						{
    							Name: "container2",
    							VolumeDevices: []v1.VolumeDevice{
    								{
    									Name: "vol4",
    								},
    							},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/volume_manager_test.go

    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "abc",
    			Namespace: "nsA",
    			UID:       "1234",
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{
    				{
    					Name: "container1",
    					VolumeMounts: []v1.VolumeMount{
    						{
    							Name:      volumetest.FailMountDeviceVolumeName,
    							MountPath: "/vol1",
    						},
    						{
    							Name:      "vol2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. pkg/kubelet/images/image_gc_manager_test.go

    			ID:   imageID(id),
    			Size: size,
    			Spec: container.ImageSpec{
    				RuntimeHandler: runtimeHandler,
    			},
    		}
    	}
    }
    
    // Make a container with the specified ID. It will use the image with the same ID.
    func makeContainer(id int) *container.Container {
    	return &container.Container{
    		ID:      container.ContainerID{Type: "test", ID: fmt.Sprintf("container-%d", id)},
    		Image:   imageName(id),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/helpers_linux_test.go

    		},
    		{
    			description:   "container seccomp profile set to SeccompProfileTypeLocalhost with empty LocalhostProfile returns error",
    			containerSc:   &v1.SecurityContext{SeccompProfile: &v1.SeccompProfile{Type: v1.SeccompProfileTypeLocalhost}},
    			expectedError: "localhostProfile must be set if seccompProfile type is Localhost.",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. pkg/api/pod/util_test.go

    		container := api.EphemeralContainer{
    			EphemeralContainerCommon: api.EphemeralContainerCommon{Name: "foo"},
    		}
    		if preStop != nil || postStart != nil {
    			container.Lifecycle = &api.Lifecycle{
    				PostStart: postStart,
    				PreStop:   preStop,
    			}
    		}
    		return container
    	}
    
    	makePod := func(containers []api.Container, initContainers []api.Container, ephemeralContainers []api.EphemeralContainer) *api.PodSpec {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top