Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for InitContainers (0.14 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    		},
    	}
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			UID:       "12345678",
    			Name:      "foo",
    			Namespace: "new",
    		},
    		Spec: v1.PodSpec{
    			Containers:     containers,
    			InitContainers: initContainers,
    		},
    	}
    
    	backOff := flowcontrol.NewBackOff(time.Second, time.Minute)
    
    	// 1. should only create the init container.
    	podStatus, err := m.GetPodStatus(ctx, pod.UID, pod.Name, pod.Namespace)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	for i := len(pod.Spec.InitContainers) - 1; i >= 0; i-- {
    		container := &pod.Spec.InitContainers[i]
    		status := podStatus.FindContainerStatusByName(container.Name)
    		if status != nil && isInitContainerFailed(status) {
    			return status, container, false
    		}
    	}
    
    	// There are no failed containers now.
    	for i := len(pod.Spec.InitContainers) - 1; i >= 0; i-- {
    		container := &pod.Spec.InitContainers[i]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/manager_test.go

    	regularInitCont1 := podWithPluginResourcesInRestartableInitContainers.Spec.InitContainers[0].Name
    	restartableInitCont2 := podWithPluginResourcesInRestartableInitContainers.Spec.InitContainers[1].Name
    	restartableInitCont3 := podWithPluginResourcesInRestartableInitContainers.Spec.InitContainers[2].Name
    	normalCont1 := podWithPluginResourcesInRestartableInitContainers.Spec.Containers[0].Name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    		})
    	}
    	return &v1.Pod{
    		Spec: v1.PodSpec{
    			Containers: containers,
    		},
    	}
    }
    
    func newResourceInitPod(pod *v1.Pod, usage ...framework.Resource) *v1.Pod {
    	pod.Spec.InitContainers = newResourcePod(usage...).Spec.Containers
    	return pod
    }
    
    func newResourceOverheadPod(pod *v1.Pod, overhead v1.ResourceList) *v1.Pod {
    	pod.Spec.Overhead = overhead
    	return pod
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.31.md

    ### Feature
    
    - Add `--keep-*` flags to `kubectl debug`, which enables to control the removal of probes, labels, annotations and initContainers from copy pod. ([#123149](https://github.com/kubernetes/kubernetes/pull/123149), [@mochizuki875](https://github.com/mochizuki875)) [SIG CLI and Testing]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
Back to top