- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for RestartPolicyNever (0.29 sec)
-
pkg/registry/core/podtemplate/strategy_test.go
} updatedTemplate := podTemplate.DeepCopy() updatedTemplate.ResourceVersion = "10" updatedTemplate.Generation = 999 updatedTemplate.Template.Spec.RestartPolicy = api.RestartPolicyNever // ensure generation is updated for spec changes Strategy.PrepareForUpdate(ctx, updatedTemplate, podTemplate) if updatedTemplate.Generation != 2 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 18 14:42:36 UTC 2021 - 2.9K bytes - Viewed (0) -
pkg/kubelet/prober/common_test.go
} func getTestPod() *v1.Pod { container := v1.Container{ Name: testContainerName, } pod := v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{container}, RestartPolicy: v1.RestartPolicyNever, }, } pod.Name = "testPod" pod.UID = testPodUID return &pod } func setTestProbe(pod *v1.Pod, probeType probeType, probeSpec v1.Probe) { // All tests rely on the fake exec prober.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 12 16:57:26 UTC 2023 - 4.3K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/health.go
TTLSecondsAfterFinished: ptr.To[int32](int32(timeout.Seconds()) + 5), // Make sure it's more than 'timeout'. Template: v1.PodTemplateSpec{ Spec: v1.PodSpec{ RestartPolicy: v1.RestartPolicyNever, SecurityContext: &v1.PodSecurityContext{ RunAsUser: ptr.To[int64](999), RunAsGroup: ptr.To[int64](999), RunAsNonRoot: ptr.To(true), }, Tolerations: []v1.Toleration{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 09:18:02 UTC 2024 - 8.8K bytes - Viewed (0)