- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for PodSpec (0.53 sec)
-
pkg/api/pod/util.go
} } } for i := range podSpec.Containers { if podSpec.Containers[i].Lifecycle == nil { continue } adjustLifecycle(podSpec.Containers[i].Lifecycle) if podSpec.Containers[i].Lifecycle.PreStop == nil && podSpec.Containers[i].Lifecycle.PostStart == nil { podSpec.Containers[i].Lifecycle = nil } } for i := range podSpec.InitContainers { if podSpec.InitContainers[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/kubelet/kuberuntime/kuberuntime_sandbox_test.go
trueVar := true falseVar := false testCases := []struct { name string podSpec *v1.PodSpec expectedWindowsConfig *runtimeapi.WindowsPodSandboxConfig expectedError error }{ { name: "Empty PodSecurityContext", podSpec: &v1.PodSpec{ Containers: []v1.Container{{ Name: containerName, }}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.3K bytes - Viewed (0) -
pkg/kubelet/cm/helpers_linux_test.go
pod *v1.Pod expected *ResourceConfig enforceCPULimits bool quotaPeriod uint64 // in microseconds }{ "besteffort": { pod: &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ { Resources: getResourceRequirements(getResourceList("", ""), getResourceList("", "")), }, }, }, }, enforceCPULimits: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.8K bytes - Viewed (0) -
pkg/api/pod/warnings.go
}, } func warningsForPodSpecAndMeta(fieldPath *field.Path, podSpec *api.PodSpec, meta *metav1.ObjectMeta, oldPodSpec *api.PodSpec, oldMeta *metav1.ObjectMeta) []string { var warnings []string // use of deprecated node labels in selectors/affinity/topology for k := range podSpec.NodeSelector { if msg, deprecated := nodeapi.GetNodeLabelDeprecatedMessage(k); deprecated {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 16.6K bytes - Viewed (0) -
pkg/api/pod/warnings_test.go
template: &api.PodTemplateSpec{Spec: api.PodSpec{ Volumes: []api.Volume{ {Name: "p", VolumeSource: api.VolumeSource{PhotonPersistentDisk: &api.PhotonPersistentDiskVolumeSource{}}}, }}, }, expected: []string{`spec.volumes[0].photonPersistentDisk: deprecated in v1.11, non-functional in v1.16+`}, }, { name: "gitRepo", template: &api.PodTemplateSpec{Spec: api.PodSpec{ Volumes: []api.Volume{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 42.1K bytes - Viewed (0) -
pkg/kubelet/container/helpers_test.go
testCases := []struct { name string podSpec *v1.PodSpec expectedResult bool }{ { name: "hostprocess not set anywhere", podSpec: &v1.PodSpec{ Containers: []v1.Container{{ Name: containerName, }}, }, expectedResult: false, }, { name: "pod with hostprocess=false", podSpec: &v1.PodSpec{ HostNetwork: true,
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/quota/v1/evaluator/core/pods_test.go
"Terminating": { pod: &api.Pod{ Spec: api.PodSpec{ ActiveDeadlineSeconds: &activeDeadlineSeconds, }, }, wantSelectors: []corev1.ScopedResourceSelectorRequirement{ {ScopeName: corev1.ResourceQuotaScopeTerminating}, {ScopeName: corev1.ResourceQuotaScopeBestEffort}, }, }, "OnlyTerminating": { pod: &api.Pod{ Spec: api.PodSpec{ ActiveDeadlineSeconds: &activeDeadlineSeconds,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.6K bytes - Viewed (0) -
pkg/volume/emptydir/empty_dir_test.go
} physicalMounter = mount.NewFakeMounter(nil) mountDetector = fakeMountDetector{} pod = &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ UID: types.UID("poduid"), }, Spec: v1.PodSpec{ Containers: []v1.Container{ { Resources: v1.ResourceRequirements{ Requests: v1.ResourceList{ v1.ResourceName("hugepages-2Mi"): resource.MustParse("100Mi"), }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 30.7K bytes - Viewed (0) -
plugin/pkg/admission/serviceaccount/admission_test.go
} } func TestIgnoresMirrorPod(t *testing.T) { pod := &api.Pod{ ObjectMeta: metav1.ObjectMeta{ Annotations: map[string]string{ kubelet.ConfigMirrorAnnotationKey: "true", }, }, Spec: api.PodSpec{ Volumes: []api.Volume{ {VolumeSource: api.VolumeSource{}}, }, }, }
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/kubelet/volumemanager/cache/desired_state_of_world_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 34K bytes - Viewed (0)