- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 64 for ephemeral_container (0.24 sec)
-
pkg/kubelet/kuberuntime/kuberuntime_manager.go
// containers cannot be specified on pod creation. for _, idx := range podContainerChanges.EphemeralContainersToStart { start(ctx, "ephemeral container", metrics.EphemeralContainer, ephemeralContainerStartSpec(&pod.Spec.EphemeralContainers[idx])) } if !utilfeature.DefaultFeatureGate.Enabled(features.SidecarContainers) { // Step 6: start the init container.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
pkg/api/pod/util_test.go
} } // EphemeralContainer { oldPod := makePod(nil, nil, []api.EphemeralContainer{makeEphemeralContainer(tc.oldLifecycleHandler.DeepCopy(), nil)}) newPod := makePod(nil, nil, []api.EphemeralContainer{makeEphemeralContainer(tc.newLifecycleHandler.DeepCopy(), nil)}) expectPod := makePod(nil, nil, []api.EphemeralContainer{makeEphemeralContainer(tc.expectLifecycleHandler.DeepCopy(), nil)})
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/volume/util/util_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/api/pod/util.go
} } for i := range podSpec.EphemeralContainers { if podSpec.EphemeralContainers[i].Lifecycle == nil { continue } adjustLifecycle(podSpec.EphemeralContainers[i].Lifecycle) if podSpec.EphemeralContainers[i].Lifecycle.PreStop == nil && podSpec.EphemeralContainers[i].Lifecycle.PostStart == nil { podSpec.EphemeralContainers[i].Lifecycle = nil } } }
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/validation/validation_test.go
"EphemeralContainers[*].EphemeralContainerCommon.SecurityContext.ReadOnlyRootFilesystem", "EphemeralContainers[*].EphemeralContainerCommon.SecurityContext.RunAsGroup", "EphemeralContainers[*].EphemeralContainerCommon.SecurityContext.RunAsUser", "EphemeralContainers[*].EphemeralContainerCommon.SecurityContext.SELinuxOptions", "EphemeralContainers[*].EphemeralContainerCommon.SecurityContext.SeccompProfile",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container.go
type startSpec struct { container *v1.Container ephemeralContainer *v1.EphemeralContainer } func containerStartSpec(c *v1.Container) *startSpec { return &startSpec{container: c} } func ephemeralContainerStartSpec(ec *v1.EphemeralContainer) *startSpec { return &startSpec{ container: (*v1.Container)(&ec.EphemeralContainerCommon), ephemeralContainer: ec, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 54.7K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
EphemeralContainersToStart: []int{0}, }, }, "Start second ephemeral container": { mutatePodFn: func(pod *v1.Pod) { pod.Spec.EphemeralContainers = append(pod.Spec.EphemeralContainers, v1.EphemeralContainer{ EphemeralContainerCommon: v1.EphemeralContainerCommon{ Name: "debug2", Image: "busybox", }, }) }, actions: podActions{
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/container/helpers_test.go
Spec: v1.PodSpec{ Containers: []v1.Container{ {Name: "plain-ole-container"}, }, InitContainers: []v1.Container{ {Name: "init-container"}, }, EphemeralContainers: []v1.EphemeralContainer{ {EphemeralContainerCommon: v1.EphemeralContainerCommon{ Name: "debug-container", }}, }, }, }, haveName: "debug-container",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 01:55:46 UTC 2024 - 24.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_test.go
nil, }, { "Ephemeral Container w/o Target", ephemeralContainerStartSpec(&v1.EphemeralContainer{ EphemeralContainerCommon: v1.EphemeralContainerCommon{ Name: "test", }, }), nil, }, { "Ephemeral Container w/ Target", ephemeralContainerStartSpec(&v1.EphemeralContainer{ EphemeralContainerCommon: v1.EphemeralContainerCommon{ Name: "test", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
} // Part 2: Validate that the changes between oldPod.Spec.EphemeralContainers and // newPod.Spec.EphemeralContainers are allowed. // // Existing EphemeralContainers may not be changed. Order isn't preserved by patch, so check each individually. newContainerIndex := make(map[string]*core.EphemeralContainer) specPath := field.NewPath("spec").Child("ephemeralContainers") for i := range newPod.Spec.EphemeralContainers {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0)