- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 2,623 for ContainerT (0.24 sec)
-
pkg/kubelet/apis/podresources/server_v1.go
continue } podResources.Containers = append(podResources.Containers, p.getContainerResources(pod, &container)) } } for _, container := range pod.Spec.Containers { podResources.Containers = append(podResources.Containers, p.getContainerResources(pod, &container)) } response := &podresourcesv1.GetPodResourcesResponse{ PodResources: podResources, } return response, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 21 13:00:09 UTC 2024 - 6.2K bytes - Viewed (0) -
pkg/kubelet/cm/helpers_linux_test.go
}, "burstable-partial-limits-with-init-containers": { pod: &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ { Resources: getResourceRequirements(getResourceList("100m", "100m"), getResourceList("100m", "100Mi")), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.8K bytes - Viewed (0) -
pkg/kubelet/status/generate.go
} } for _, container := range spec.Containers { if containerStatus, ok := podutil.GetContainerStatus(containerStatuses, container.Name); ok { if !containerStatus.Ready { unreadyContainers = append(unreadyContainers, container.Name) } } else { unknownContainers = append(unknownContainers, container.Name) } } // If all containers are known and succeeded, just return PodCompleted.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 12 15:18:11 UTC 2023 - 9.8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_gc.go
continue } } if err := cgc.manager.removeContainer(ctx, containers[i].id); err != nil { klog.ErrorS(err, "Failed to remove container", "containerID", containers[i].id) } } // Assume we removed the containers so that we're not too aggressive. return containers[:numToKeep] } // removeOldestNSandboxes removes the oldest inactive toRemove sandboxes and // returns the resulting slice.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 15.3K bytes - Viewed (0) -
plugin/pkg/admission/extendedresourcetoleration/admission_test.go
}, }, { description: "pod with container without any extended resources, expect no change in tolerations", requestedPod: core.Pod{ Spec: core.PodSpec{ Containers: []core.Container{ containerRequestingCPU, }, }, }, expectedPod: core.Pod{ Spec: core.PodSpec{ Containers: []core.Container{ containerRequestingCPU, }, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 20 15:11:00 UTC 2019 - 10.3K bytes - Viewed (0) -
pkg/apis/core/pods/helpers_test.go
[]string{}, }, { "regular containers", field.NewPath("spec"), &api.PodSpec{ Containers: []api.Container{ {Name: "c1"}, {Name: "c2"}, }, }, []string{"spec.containers[0]", "spec.containers[1]"}, }, { "init containers", field.NewPath("spec"), &api.PodSpec{ InitContainers: []api.Container{ {Name: "i1"}, {Name: "i2"}, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 01:35:30 UTC 2023 - 6.1K bytes - Viewed (0) -
pkg/kubelet/container/helpers_test.go
}, InitContainers: []v1.Container{ {Name: "init-container"}, }, }, }, haveName: "init-container", wantContainer: &v1.Container{Name: "init-container"}, }, { name: "ephemeral container", havePod: &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ {Name: "plain-ole-container"}, }, InitContainers: []v1.Container{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 01:55:46 UTC 2024 - 24.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
} } // Number of running containers to keep. keepCount := 0 // check the status of containers. for idx, container := range pod.Spec.Containers { containerStatus := podStatus.FindContainerStatusByName(container.Name) // Call internal container post-stop lifecycle hook for any non-running container so that any // allocated cpus are released immediately. If the container is restarted, cpus will be re-allocated
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
pkg/kube/inject/app_probe_test.go
containers: &corev1.Pod{Spec: corev1.PodSpec{Containers: []corev1.Container{app, proxy}}}, want: &proxy, }, { name: "no-sidecar", containers: &corev1.Pod{Spec: corev1.PodSpec{Containers: []corev1.Container{app}}}, want: nil, }, { name: "init-sidecar", containers: &corev1.Pod{Spec: corev1.PodSpec{InitContainers: []corev1.Container{proxy}, Containers: []corev1.Container{app}}},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 04 15:06:24 UTC 2023 - 8.6K bytes - Viewed (0) -
pkg/kubelet/container/runtime.go
// state of the container. type Container struct { // The ID of the container, used by the container runtime to identify // a container. ID ContainerID // The name of the container, which should be the same as specified by // v1.Container. Name string // The image name of the container, this also includes the tag of the image, // the expected form is "NAME:TAG". Image string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 27.8K bytes - Viewed (0)