- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 450 for container1 (1.56 sec)
-
pkg/kubelet/kubelet_pods_linux_test.go
} assert.Equal(t, tc.expectedMounts, mounts, "mounts of container %+v", tc.container) }) } } func TestMakeBlockVolumes(t *testing.T) { testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */) defer testKubelet.Cleanup() kubelet := testKubelet.kubelet testCases := map[string]struct { container v1.Container podVolumes kubecontainer.VolumeMap expectErr bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 18:00:59 UTC 2024 - 11.3K bytes - Viewed (0) -
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) -
pkg/volume/util/util_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/kubelet/volumemanager/volume_manager_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.1K bytes - Viewed (0) -
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) -
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) -
pkg/api/pod/warnings_test.go
}}, expected: []string{ `spec.containers[0].ports[2]: duplicate port definition with spec.containers[0].ports[0]`, `spec.containers[1].ports[0]: duplicate port definition with spec.containers[0].ports[0]`, `spec.containers[1].ports[0]: duplicate port definition with spec.containers[0].ports[2]`, `spec.containers[1].ports[1]: duplicate port definition with spec.containers[0].ports[0]`,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 42.1K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager.go
// mutex lock. Note if Allocate call fails, we may leave container resources // partially allocated for the failed container. We rely on UpdateAllocatedDevices() // to garbage collect these resources later. Another side effect is that if // we have X resource A and Y resource B in total, and two containers, container1 // and container2 both require X resource A and Y resource B. Both allocation
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 12:01:56 UTC 2024 - 43K bytes - Viewed (0) -
pkg/kubelet/container/helpers.go
return false } } return true } // HashContainer returns the hash of the container. It is used to compare // the running container with its desired spec. // Note: remember to update hashValues in container_hash_test.go as well. func HashContainer(container *v1.Container) uint64 { hash := fnv.New32a() containerJSON, _ := json.Marshal(pickFieldsToHash(container))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go
expectedError: fmt.Errorf("pod must not contain any HostProcess containers if Pod's WindowsOptions.HostProcess is set to false"), }, { name: "Pod's security context doesn't specify HostProcess containers but Container's security context does", podSpec: &v1.PodSpec{ HostNetwork: true, Containers: []v1.Container{{ Name: containerName, SecurityContext: &v1.SecurityContext{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.3K bytes - Viewed (0)