- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 2,625 for container3 (0.24 sec)
-
pkg/kubelet/qos/policy_test.go
) var ( cpuLimit = v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ { Resources: v1.ResourceRequirements{ Limits: v1.ResourceList{ v1.ResourceName(v1.ResourceCPU): resource.MustParse("10"), }, }, }, }, }, } memoryLimitCPURequest = v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ { Resources: v1.ResourceRequirements{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 03 21:34:27 UTC 2021 - 5.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_termination_order.go
} var mainContainerChannels []chan struct{} // sidecar containers need to wait on main containers, so we create a channel per main container // for them to wait on for _, c := range pod.Spec.Containers { channel := make(chan struct{}) to.terminated[c.Name] = channel mainContainerChannels = append(mainContainerChannels, channel) // if its not a running container, pre-close the channel so nothing waits on it
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 00:07:21 UTC 2023 - 3.8K bytes - Viewed (0) -
pkg/apis/core/v1/helper/qos/qos_test.go
return v1.Container{ Name: name, Resources: getResourceRequirements(requests, limits), } } func newPod(name string, containers []v1.Container) *v1.Pod { return &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: name, }, Spec: v1.PodSpec{ Containers: containers, }, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 14:47:37 UTC 2023 - 6.2K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go
Command: container.Command, Args: []string(nil), WorkingDir: container.WorkingDir, Labels: newContainerLabels(container, pod), Annotations: newContainerAnnotations(container, pod, restartCount, opts), Devices: makeDevices(opts), Mounts: m.makeMounts(opts, container), LogPath: containerLogsPath, Stdin: container.Stdin, StdinOnce: container.StdinOnce,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41K bytes - Viewed (0) -
pkg/kubelet/types/types_test.go
} } func TestSortInitContainerStatuses(t *testing.T) { pod := v1.Pod{ Spec: v1.PodSpec{}, } var cases = []struct { containers []v1.Container statuses []v1.ContainerStatus sortedStatuses []v1.ContainerStatus }{ { containers: []v1.Container{{Name: "first"}, {Name: "second"}, {Name: "third"}, {Name: "fourth"}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 19 08:28:25 UTC 2022 - 6.2K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
cniConf := buildMockConf(true, url) pod, ns := buildFakePodAndNSForClient() proxy := corev1.Container{Name: "istio-proxy"} app := corev1.Container{Name: "app"} pod.Spec.Containers = []corev1.Container{app, proxy} pod.ObjectMeta.Annotations = map[string]string{annotation.SidecarStatus.Name: "true"}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 17.5K bytes - Viewed (0) -
pkg/kubelet/pleg/generic_test.go
// Clear the IP address and mark the container terminated container = createTestContainer("c0", kubecontainer.ContainerStateExited) pod = &kubecontainer.Pod{ ID: id, Containers: []*kubecontainer.Container{container}, } status = &kubecontainer.PodStatus{ ID: id, ContainerStatuses: []*kubecontainer.Status{{ID: container.ID, State: kubecontainer.ContainerStateExited}}, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 24.8K bytes - Viewed (0) -
pkg/api/v1/pod/util.go
type ContainerType int const ( // Containers is for normal containers Containers ContainerType = 1 << iota // InitContainers is for init containers InitContainers // EphemeralContainers is for ephemeral containers EphemeralContainers ) // AllContainers specifies that all containers be visited const AllContainers ContainerType = InitContainers | Containers | EphemeralContainers
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 17:18:04 UTC 2023 - 13.2K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/server_v1_test.go
return false } if podResA.Namespace != podResB.Namespace { return false } if len(podResA.Containers) != len(podResB.Containers) { return false } for jdx := 0; jdx < len(podResA.Containers); jdx++ { cntA := podResA.Containers[jdx] cntB := podResB.Containers[jdx] if cntA.Name != cntB.Name { return false } if !equalInt64s(cntA.CpuIds, cntB.CpuIds) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 45.9K 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)