- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,218 for ContainerT (0.24 sec)
-
pkg/kubelet/kuberuntime/kuberuntime_container_test.go
name: "default termination grace period", pod: &v1.Pod{ Spec: v1.PodSpec{Containers: []v1.Container{{Name: "foo"}}}, }, reason: reasonUnknown, expectedGracePeriod: int64(2), }, { name: "use pod termination grace period", pod: &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{{Name: "foo"}}, TerminationGracePeriodSeconds: &longGracePeriod, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K 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/lifecycle/handlers_test.go
pod.ObjectMeta.Name = "podFoo" pod.ObjectMeta.Namespace = "nsFoo" pod.Spec.Containers = []v1.Container{container} t.Run("consistent", func(t *testing.T) { container.Lifecycle.PostStart.HTTPGet.Port = intstr.FromString("70") pod.Spec.Containers = []v1.Container{container} _, err := handlerRunner.Run(ctx, containerID, &pod, &container, container.Lifecycle.PostStart) if err != nil { t.Errorf("unexpected error: %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 24.4K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/labels_test.go
DeletionGracePeriodSeconds: &deletionGracePeriod, }, Spec: v1.PodSpec{ Containers: []v1.Container{*container}, TerminationGracePeriodSeconds: &terminationGracePeriod, }, } var tests = []struct { description string expected *labeledContainerInfo }{ { "Regular containers", &labeledContainerInfo{ PodName: pod.Name, PodNamespace: pod.Namespace,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 22:43:36 UTC 2024 - 7.3K 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/status/status_manager.go
// state, which is the set of containers that have attempted to start at least once. If all containers // are Waiting, the first container is always returned. func initializedContainers(containers []v1.ContainerStatus) []v1.ContainerStatus { for i := len(containers) - 1; i >= 0; i-- { if containers[i].State.Waiting == nil || containers[i].LastTerminationState.Terminated != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 44.3K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
} return regular, static } // validateContainerLogStatus returns the container ID for the desired container to retrieve logs for, based on the state // of the container. The previous flag will only return the logs for the last terminated container, otherwise, the current // running container is preferred over a previous termination. If info about the container is not available then a specific // error is returned to the end user.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/pods_test.go
}, }}, }, }, required: []corev1.ResourceName{corev1.ResourceMemory}, err: `must specify memory for: bar,foo`, }, "container resource missing": { pod: &api.Pod{ Spec: api.PodSpec{ Containers: []api.Container{{ Name: "dummy", Resources: api.ResourceRequirements{ Requests: api.ResourceList{api.ResourceCPU: resource.MustParse("1m")},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.6K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_windows_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 17 00:02:10 UTC 2024 - 13.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubelet/flags_test.go
nodeRegOpts: &kubeadmapi.NodeRegistrationOptions{ CRISocket: "unix:///var/run/containerd/containerd.sock", KubeletExtraArgs: []kubeadmapi.Arg{ {Name: "hostname-override", Value: "override-name"}, }, }, }, expected: []kubeadmapi.Arg{ {Name: "container-runtime-endpoint", Value: "unix:///var/run/containerd/containerd.sock"}, {Name: "hostname-override", Value: "override-name"}, }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 07:02:51 UTC 2024 - 4.9K bytes - Viewed (0)