- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 790 for ContainerT (0.12 sec)
-
pkg/kubelet/prober/prober_manager_test.go
UID: "no_probe_pod", }, Spec: v1.PodSpec{ Containers: []v1.Container{{ Name: "no_probe1", }, { Name: "no_probe2", }, { Name: "no_probe3", }}, }, } probePod := v1.Pod{ ObjectMeta: metav1.ObjectMeta{ UID: "probe_pod", }, Spec: v1.PodSpec{ Containers: []v1.Container{{ Name: "probe1", }, { Name: "readiness",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 18.8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/labels.go
labels[types.KubernetesContainerNameLabel] = container.Name return labels } // newContainerAnnotations creates container annotations from v1.Container and v1.Pod. func newContainerAnnotations(container *v1.Container, pod *v1.Pod, restartCount int, opts *kubecontainer.RunContainerOptions) map[string]string { annotations := map[string]string{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 10.9K bytes - Viewed (0) -
pkg/kubelet/cm/dra/manager_test.go
resourceClaimName := "test-pod-claim-1" for _, test := range []struct { description string container *v1.Container pod *v1.Pod claimInfo *ClaimInfo wantErr bool }{ { description: "claim info with annotations", container: &v1.Container{ Name: "test-container", Resources: v1.ResourceRequirements{ Claims: []v1.ResourceClaim{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:29 UTC 2024 - 42K bytes - Viewed (0) -
pkg/kube/inject/template.go
func applicationPorts(containers []corev1.Container) string { return getContainerPorts(containers, func(c corev1.Container) bool { return c.Name != ProxyContainerName }) } func includeInboundPorts(containers []corev1.Container) string { // Include the ports from all containers in the deployment. return getContainerPorts(containers, func(corev1.Container) bool { return true }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 02:12:03 UTC 2023 - 9.9K bytes - Viewed (0) -
pkg/scheduler/framework/types_test.go
}) } } func TestNewNodeInfo(t *testing.T) { nodeName := "test-node" pods := []*v1.Pod{ st.MakePod().UID("test-1").Namespace("node_info_cache_test").Name("test-1").Node(nodeName). Containers([]v1.Container{st.MakeContainer().ResourceRequests(map[v1.ResourceName]string{ v1.ResourceCPU: "100m", v1.ResourceMemory: "500", }).ContainerPort([]v1.ContainerPort{{ HostIP: "127.0.0.1", HostPort: 80,
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/logs/container_log_manager.go
defer c.mutex.Unlock() klog.V(4).InfoS("Starting container log rotation sequence") // TODO(#59998): Use kubelet pod cache. containers, err := c.runtimeService.ListContainers(ctx, &runtimeapi.ContainerFilter{}) if err != nil { return fmt.Errorf("failed to list containers: %v", err) } for _, container := range containers { // Only rotate logs for running containers. Non-running containers won't
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 15K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/imagelocality/image_locality_test.go
test40250 := v1.PodSpec{ Containers: []v1.Container{ { Image: "gcr.io/40", }, { Image: "gcr.io/250", }, }, } test40300 := v1.PodSpec{ Containers: []v1.Container{ { Image: "gcr.io/40", }, { Image: "gcr.io/300", }, }, } testMinMax := v1.PodSpec{ Containers: []v1.Container{ { Image: "gcr.io/10", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 19 06:17:57 UTC 2024 - 10.3K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
Spec: api.PodSpec{ Containers: []api.Container{ {Name: "ctr"}, }, }, Status: api.PodStatus{PodIPs: []api.PodIP{{IP: expectedIP}}}, }, query: "foo", location: expectedIP, }, { pod: api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "foo"}, Spec: api.PodSpec{ Containers: []api.Container{ {Name: "ctr"}, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices.go
} } // Returns combined container runtime settings to consume the container's allocated devices. func (pdev *podDevices) deviceRunContainerOptions(podUID, contName string) *DeviceRunContainerOptions { pdev.RLock() defer pdev.RUnlock() containers, exists := pdev.devs[podUID] if !exists { return nil } resources, exists := containers[contName] if !exists { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 27 02:10:25 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/kubelet/stats/helper.go
}) if err != nil { return nil, fmt.Errorf("failed to get container info for %q: %v", containerName, err) } if len(infoMap) != 1 { return nil, fmt.Errorf("unexpected number of containers: %v", len(infoMap)) } info := infoMap[containerName] return &info, nil } // getCgroupStats returns the latest stats of the container having the // specified containerName from cadvisor.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 17 23:40:02 UTC 2023 - 14.8K bytes - Viewed (0)