- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for container_0 (0.23 sec)
-
pkg/scheduler/framework/types.go
res.Add(requests) return res, non0CPU, non0Mem } // updateUsedPorts updates the UsedPorts of NodeInfo. func (n *NodeInfo) updateUsedPorts(pod *v1.Pod, add bool) { for _, container := range pod.Spec.Containers { for _, podPort := range container.Ports { if add { n.UsedPorts.Add(podPort.HostIP, string(podPort.Protocol), podPort.HostPort) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 19:28:17 UTC 2024 - 36.7K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
fakeRuntime := testKubelet.fakeRuntime containerID := kubecontainer.ContainerID{ Type: "test", ID: "abc1234", } fakePod := &containertest.FakePod{ Pod: &kubecontainer.Pod{ ID: "12345678", Name: "podFoo", Namespace: "nsFoo", Containers: []*kubecontainer.Container{ { Name: "containerFoo", ID: containerID, }, }, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
cID = lastState.Terminated.ContainerID } else { return kubecontainer.ContainerID{}, fmt.Errorf("container %q in pod %q is terminated", containerName, podName) } } else { cID = terminated.ContainerID } case lastState.Terminated != nil: if lastState.Terminated.ContainerID == "" { return kubecontainer.ContainerID{}, fmt.Errorf("container %q in pod %q is terminated", containerName, podName)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.31.md
- Support fine-grained supplemental groups policy (KEP-3619), which enables fine-grained control for supplementary groups in the first container processes. You can choose whether to include groups defined in the container image(/etc/groups) for the container's primary uid or not. ([#117842](https://github.com/kubernetes/kubernetes/pull/117842), [@everpeace](https://github.com/everpeace)) [SIG API Machinery, Apps and Node]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 20:34:14 UTC 2024 - 60.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
if err != nil { t.Fatalf("unexpected error %v", err) } containers[i] = c } runningPod := kubecontainer.Pod{ ID: pod.UID, Name: pod.Name, Namespace: pod.Namespace, Containers: []*kubecontainer.Container{containers[0], containers[1], containers[2]}, Sandboxes: []*kubecontainer.Container{ { ID: kubecontainer.ContainerID{ ID: fakeSandbox.Id, Type: apitest.FakeRuntimeName,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0)