- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 100 for InitContainers (0.16 sec)
-
pkg/apis/core/v1/defaults_test.go
".Spec.InitContainers[0].ReadinessProbe.ProbeHandler.GRPC.Service": `""`, ".Spec.InitContainers[0].ReadinessProbe.PeriodSeconds": `10`, ".Spec.InitContainers[0].ReadinessProbe.SuccessThreshold": `1`, ".Spec.InitContainers[0].ReadinessProbe.TimeoutSeconds": `1`,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
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) -
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) -
plugin/pkg/admission/limitranger/admission_test.go
policyAlways := api.ContainerRestartPolicyAlways pod.Spec.InitContainers = append(pod.Spec.InitContainers, api.Container{ RestartPolicy: &policyAlways, Image: "foo:V" + strconv.Itoa(len(pod.Spec.InitContainers)), Resources: getResourceRequirements(requests, limits), Name: "foo-" + strconv.Itoa(len(pod.Spec.InitContainers)), }) return pod }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 51.5K bytes - Viewed (0) -
pkg/registry/core/pod/strategy_test.go
expectedTransport: nil, }, { name: "initcontainers", in: &api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: fakePodName}, Spec: api.PodSpec{ Containers: []api.Container{ {Name: "container1"}, {Name: "container2"}, }, InitContainers: []api.Container{ {Name: "initcontainer1"}, }, }, Status: api.PodStatus{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 76.2K bytes - Viewed (0) -
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) -
pkg/kubelet/cm/memorymanager/memory_manager_test.go
}, }, }, } } func getPodWithInitContainers(podUID string, containers []v1.Container, initContainers []v1.Container) *v1.Pod { return &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ UID: types.UID(podUID), }, Spec: v1.PodSpec{ InitContainers: initContainers, Containers: containers, }, } } func TestValidateReservedMemory(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 05 13:01:40 UTC 2023 - 70.2K bytes - Viewed (0) -
pkg/kubelet/status/status_manager_test.go
} func TestTerminatePod_DefaultUnknownStatus(t *testing.T) { newPod := func(initContainers, containers int, fns ...func(*v1.Pod)) *v1.Pod { pod := getTestPod() for i := 0; i < initContainers; i++ { pod.Spec.InitContainers = append(pod.Spec.InitContainers, v1.Container{ Name: fmt.Sprintf("init-%d", i), }) } for i := 0; i < containers; i++ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 68.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
} // If we are creating a pod sandbox, we should restart from the initial // state. if len(pod.Spec.InitContainers) != 0 { // Pod has init containers, return the first one. if !utilfeature.DefaultFeatureGate.Enabled(features.SidecarContainers) { changes.NextInitContainerToStart = &pod.Spec.InitContainers[0] } else { changes.InitContainersToStart = []int{0} } return changes }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.json
}, "volumeAttributesClassName": "volumeAttributesClassNameValue" } } } } ], "initContainers": [ { "name": "nameValue", "image": "imageValue", "command": [ "commandValue" ], "args": [ "argsValue"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 53.3K bytes - Viewed (0)