- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 50 for PodTemplateSpec (0.21 sec)
-
pkg/registry/apps/deployment/storage/storage_test.go
Type: apps.RollingUpdateDeploymentStrategyType, RollingUpdate: &apps.RollingUpdateDeployment{ MaxSurge: intstr.FromInt32(1), MaxUnavailable: intstr.FromInt32(1), }, }, Template: api.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{"a": "b"}, }, Spec: api.PodSpec{ Containers: []api.Container{ { Name: "test",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:17:45 UTC 2023 - 19.7K bytes - Viewed (0) -
pkg/registry/batch/job/strategy.go
return batchvalidation.ValidateJob(job, opts) } func validationOptionsForJob(newJob, oldJob *batch.Job) batchvalidation.JobValidationOptions { var newPodTemplate, oldPodTemplate *core.PodTemplateSpec if newJob != nil { newPodTemplate = &newJob.Spec.Template } if oldJob != nil { oldPodTemplate = &oldJob.Spec.Template } opts := batchvalidation.JobValidationOptions{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 18.4K bytes - Viewed (0) -
pkg/controller/cronjob/utils_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 22.8K bytes - Viewed (0) -
common-protos/k8s.io/api/batch/v1/generated.proto
// The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". // More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ optional k8s.io.api.core.v1.PodTemplateSpec template = 6; // ttlSecondsAfterFinished limits the lifetime of a Job that has finished // execution (either Complete or Failed). If this field is set,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 21.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/compute_test.go
Name: dnsName + name, Namespace: "kube-system", Labels: map[string]string{ "k8s-app": "kube-dns", }, }, Spec: apps.DeploymentSpec{ Template: v1.PodTemplateSpec{ Spec: v1.PodSpec{ Containers: []v1.Container{ { Image: "test:" + dnsVersion + name, }, }, }, }, }, }, metav1.CreateOptions{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 08:39:51 UTC 2024 - 34.1K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_test.go
if err != nil { return err } set = obj.(*apps.StatefulSet) } return assertMonotonicInvariants(set, om) } func rawTemplate(template *v1.PodTemplateSpec) runtime.RawExtension { buf := new(bytes.Buffer) enc := json.NewEncoder(buf) if err := enc.Encode(template); err != nil { panic(err) } return runtime.RawExtension{Raw: buf.Bytes()}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 33.1K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/generated.proto
// The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". // More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ optional .k8s.io.api.core.v1.PodTemplateSpec template = 6; // ttlSecondsAfterFinished limits the lifetime of a Job that has finished // execution (either Complete or Failed). If this field is set,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 12:01:28 UTC 2024 - 29.1K bytes - Viewed (0) -
pkg/kube/inject/webhook_test.go
Controller: &controller, }} return m } func objectToPod(t testing.TB, obj runtime.Object) *corev1.Pod { gvk := obj.GetObjectKind().GroupVersionKind() defaultConversion := func(template corev1.PodTemplateSpec, name string) *corev1.Pod { template.ObjectMeta = simulateOwnerRef(template.ObjectMeta, name, gvk) return &corev1.Pod{ ObjectMeta: template.ObjectMeta, Spec: template.Spec, } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 39K bytes - Viewed (1) -
staging/src/k8s.io/api/batch/v1/types.go
// The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". // More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ Template corev1.PodTemplateSpec `json:"template" protobuf:"bytes,6,opt,name=template"` // ttlSecondsAfterFinished limits the lifetime of a Job that has finished // execution (either Complete or Failed). If this field is set,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 40.6K bytes - Viewed (0) -
pkg/apis/batch/types.go
// API. // +optional ManualSelector *bool // Describes the pod that will be created when executing a job. // The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". Template api.PodTemplateSpec // ttlSecondsAfterFinished limits the lifetime of a Job that has finished // execution (either Complete or Failed). If this field is set, // ttlSecondsAfterFinished after the Job finishes, it is eligible to be
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 12:01:28 UTC 2024 - 33K bytes - Viewed (0)