- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for InitContainers (1.74 sec)
-
pkg/test/kube/dump.go
for _, pod := range pods { if coreDumpedPods.Load() >= maxCoreDumpedPods { return } isVM := checkIfVM(pod) wroteDumpsForPod := false containers := append(pod.Spec.Containers, pod.Spec.InitContainers...) for _, container := range containers { if !proxyContainer.IsContainer(container) { continue } restarts := containerRestarts(pod, proxyContainer.Name())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 22.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit.go
// regular containers since they run simultaneously. // // # The resources defined for Overhead should be added to the calculated Resource request sum // // Example: // // Pod: // // InitContainers // IC1: // CPU: 2 // Memory: 1G // IC2: // CPU: 2 // Memory: 3G // Containers // C1: // CPU: 2 // Memory: 1G // C2: // CPU: 1
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 20.2K bytes - Viewed (0) -
pkg/controller/job/backoff_utils_test.go
// sidecar containers will always finish later than regular containers. "Pod with sidecar container and all containers terminated": { pod: v1.Pod{ Spec: v1.PodSpec{ InitContainers: []v1.Container{ { Name: "sidecar", RestartPolicy: &containerRestartPolicyAlways, }, }, }, Status: v1.PodStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 07:46:41 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/scheduler/framework/types.go
non0CPUReq, non0MemReq := schedutil.GetNonzeroRequests(&requests) switch containerType { case podutil.Containers: non0CPU += non0CPUReq non0Mem += non0MemReq case podutil.InitContainers: non0InitCPU = max(non0InitCPU, non0CPUReq) non0InitMem = max(non0InitMem, non0MemReq) } }, }) non0CPU = max(non0CPU, non0InitCPU) non0Mem = max(non0Mem, non0InitMem)
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/server/server.go
found := false for _, container := range pod.Spec.Containers { if container.Name == containerName { found = true break } } if !found { for _, container := range pod.Spec.InitContainers { if container.Name == containerName { found = true break } } } if !found { for _, container := range pod.Spec.EphemeralContainers { if container.Name == containerName {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 40.1K bytes - Viewed (0)