- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 180 for InitContainers (0.28 sec)
-
pkg/kube/inject/webhook.go
pod.Spec.InitContainers = modifyContainers(pod.Spec.InitContainers, ValidationContainerName, MoveFirst) // Init container must be last to allow any traffic to pass before iptables is setup pod.Spec.InitContainers = modifyContainers(pod.Spec.InitContainers, InitContainerName, MoveLast) pod.Spec.InitContainers = modifyContainers(pod.Spec.InitContainers, EnableCoreDumpName, MoveLast) } return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:59:39 UTC 2024 - 42.2K bytes - Viewed (0) -
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/api/pod/util.go
podSpec.Containers[i].Lifecycle = nil } } for i := range podSpec.InitContainers { if podSpec.InitContainers[i].Lifecycle == nil { continue } adjustLifecycle(podSpec.InitContainers[i].Lifecycle) if podSpec.InitContainers[i].Lifecycle.PreStop == nil && podSpec.InitContainers[i].Lifecycle.PostStart == nil { podSpec.InitContainers[i].Lifecycle = nil } } for i := range podSpec.EphemeralContainers {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41.3K bytes - Viewed (0) -
pkg/apis/core/v1/defaults.go
} } } for i := range obj.Spec.InitContainers { if obj.Spec.InitContainers[i].Resources.Limits != nil { if obj.Spec.InitContainers[i].Resources.Requests == nil { obj.Spec.InitContainers[i].Resources.Requests = make(v1.ResourceList) } for key, value := range obj.Spec.InitContainers[i].Resources.Limits { if _, exists := obj.Spec.InitContainers[i].Resources.Requests[key]; !exists {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 22:24:15 UTC 2024 - 14.8K bytes - Viewed (0) -
pkg/kubelet/types/types.go
containers := p.Spec.InitContainers current := 0 for _, container := range containers { for j := current; j < len(statuses); j++ { if container.Name == statuses[j].Name { statuses[current], statuses[j] = statuses[j], statuses[current] current++ break } } } } // SortStatusesOfInitContainers returns the statuses of InitContainers of pod p,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 13:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
plugin/pkg/admission/serviceaccount/admission_test.go
} if len(pod.Spec.InitContainers[0].VolumeMounts) != 1 { t.Fatalf("Expected 1 volume mount, got %d", len(pod.Spec.InitContainers[0].VolumeMounts)) } if !reflect.DeepEqual(expectedVolumeMount, pod.Spec.InitContainers[0].VolumeMounts[0]) { t.Fatalf("Expected\n\t%#v\ngot\n\t%#v", expectedVolumeMount, pod.Spec.InitContainers[0].VolumeMounts[0]) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 17:49:30 UTC 2024 - 36.9K bytes - Viewed (0) -
pkg/api/pod/util_test.go
PreStop: preStop, } } return container } makePod := func(containers []api.Container, initContainers []api.Container, ephemeralContainers []api.EphemeralContainer) *api.PodSpec { return &api.PodSpec{ Containers: containers, InitContainers: initContainers, EphemeralContainers: ephemeralContainers, } } testCases := []struct { gateEnabled bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 108.8K 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) -
hack/testdata/pod-with-metadata-and-probes.yaml
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 17:26:20 UTC 2024 - 471 bytes - Viewed (0) -
pkg/volume/util/util_test.go
Spec: v1.PodSpec{}, }, wantFsUser: nil, }, { desc: "some have runAsUser specified", pod: &v1.Pod{ Spec: v1.PodSpec{ SecurityContext: &v1.PodSecurityContext{}, InitContainers: []v1.Container{ { SecurityContext: &v1.SecurityContext{ RunAsUser: ptr.To[int64](1000), }, }, }, Containers: []v1.Container{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.7K bytes - Viewed (0)