Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for PodTemplateSpec (0.3 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/apis/core/validation/validation_test.go

    		}
    	}
    }
    
    func TestValidateReplicationControllerStatusUpdate(t *testing.T) {
    	validSelector := map[string]string{"a": "b"}
    	validPodTemplate := core.PodTemplate{
    		Template: core.PodTemplateSpec{
    			ObjectMeta: metav1.ObjectMeta{
    				Labels: validSelector,
    			},
    			Spec: core.PodSpec{
    				RestartPolicy: core.RestartPolicyAlways,
    				DNSPolicy:     core.DNSClusterFirst,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  5. pkg/controller/cronjob/cronjob_controllerv2_test.go

    				},
    				Spec: jobSpec(),
    			},
    		},
    	}
    }
    
    func jobSpec() batchv1.JobSpec {
    	one := int32(1)
    	return batchv1.JobSpec{
    		Parallelism: &one,
    		Completions: &one,
    		Template: v1.PodTemplateSpec{
    			ObjectMeta: metav1.ObjectMeta{
    				Labels: map[string]string{
    					"foo": "bar",
    				},
    			},
    			Spec: v1.PodSpec{
    				Containers: []v1.Container{
    					{Image: "foo/bar"},
    				},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 70.8K bytes
    - Viewed (0)
  6. pkg/generated/openapi/zz_generated.openapi.go

    							Default:     map[string]interface{}{},
    							Ref:         ref("k8s.io/api/core/v1.PodTemplateSpec"),
    						},
    					},
    				},
    				Required: []string{"selector"},
    			},
    		},
    		Dependencies: []string{
    			"k8s.io/api/core/v1.PodTemplateSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  7. pkg/controller/replicaset/replica_set_test.go

    			},
    			ResourceVersion: "18",
    		},
    		Spec: apps.ReplicaSetSpec{
    			Replicas: pointer.Int32(int32(replicas)),
    			Selector: &metav1.LabelSelector{MatchLabels: selectorMap},
    			Template: v1.PodTemplateSpec{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{
    						"name": "foo",
    						"type": "production",
    					},
    				},
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  8. pkg/apis/core/types.go

    	// Status represents the current information about a pod. This data may not be up
    	// to date.
    	// +optional
    	Status PodStatus
    }
    
    // PodTemplateSpec describes the data a pod should have when created from a template
    type PodTemplateSpec struct {
    	// Metadata of the pods created from this template.
    	// +optional
    	metav1.ObjectMeta
    
    	// Spec defines the behavior of a pod.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/generated.pb.go

    func (m *PodTemplateSpec) Reset()      { *m = PodTemplateSpec{} }
    func (*PodTemplateSpec) ProtoMessage() {}
    func (*PodTemplateSpec) Descriptor() ([]byte, []int) {
    	return fileDescriptor_6c07b07c062484ab, []int{154}
    }
    func (m *PodTemplateSpec) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *PodTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/core/v1/generated.proto

      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // List of pod templates
      repeated PodTemplate items = 2;
    }
    
    // PodTemplateSpec describes the data a pod should have when created from a template
    message PodTemplateSpec {
      // Standard object's metadata.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 280.3K bytes
    - Viewed (0)
Back to top