Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for PodTemplateSpec (0.31 sec)

  1. pkg/registry/apps/statefulset/storage/storage_test.go

    		},
    		Spec: apps.StatefulSetSpec{
    			PodManagementPolicy: apps.OrderedReadyPodManagement,
    			Selector:            &metav1.LabelSelector{MatchLabels: map[string]string{"a": "b"}},
    			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: Wed Apr 12 15:46:12 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. pkg/apis/apps/validation/validation.go

    }
    
    // ValidatePodTemplateSpecForStatefulSet validates the given template and ensures that it is in accordance with the desired selector.
    func ValidatePodTemplateSpecForStatefulSet(template *api.PodTemplateSpec, selector labels.Selector, fldPath *field.Path, opts apivalidation.PodValidationOptions) field.ErrorList {
    	allErrs := field.ErrorList{}
    	if template == nil {
    		allErrs = append(allErrs, field.Required(fldPath, ""))
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 06 22:11:20 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. pkg/registry/core/replicationcontroller/storage/storage_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			Namespace: namespace,
    		},
    		Spec: api.ReplicationControllerSpec{
    			Selector: map[string]string{"a": "b"},
    			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: Tue Apr 16 06:57:01 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/extensions/v1beta1/generated.proto

      // selector is specified).
      // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
      optional .k8s.io.api.core.v1.PodTemplateSpec template = 2;
    
      // An update strategy to replace existing DaemonSet pods with new pods.
      // +optional
      optional DaemonSetUpdateStrategy updateStrategy = 3;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apps/v1beta1/types.go

    	// of the StatefulSet. Each pod will be named with the format
    	// <statefulsetname>-<podindex>. For example, a pod in a StatefulSet named
    	// "web" with index number "3" would be named "web-3".
    	Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,3,opt,name=template"`
    
    	// volumeClaimTemplates is a list of claims that pods are allowed to reference.
    	// The StatefulSet controller is responsible for mapping network identities to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  6. pkg/controller/deployment/deployment_controller_test.go

    			Namespace:         metav1.NamespaceDefault,
    		},
    		Spec: apps.ReplicaSetSpec{
    			Replicas: ptr.To(replicas),
    			Selector: &metav1.LabelSelector{MatchLabels: selector},
    			Template: v1.PodTemplateSpec{},
    		},
    	}
    }
    
    func newRSWithStatus(name string, specReplicas, statusReplicas int32, selector map[string]string) *apps.ReplicaSet {
    	rs := rs(name, specReplicas, selector, noTimestamp)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // selector is specified).
      // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
      optional k8s.io.api.core.v1.PodTemplateSpec template = 2;
    
      // An update strategy to replace existing DaemonSet pods with new pods.
      // +optional
      optional DaemonSetUpdateStrategy updateStrategy = 3;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  8. pkg/api/pod/warnings.go

    	}
    	return warningsForPodSpecAndMeta(nil, &pod.Spec, &pod.ObjectMeta, oldSpec, oldMeta)
    }
    
    func GetWarningsForPodTemplate(ctx context.Context, fieldPath *field.Path, podTemplate, oldPodTemplate *api.PodTemplateSpec) []string {
    	if podTemplate == nil {
    		return nil
    	}
    
    	var (
    		oldSpec *api.PodSpec
    		oldMeta *metav1.ObjectMeta
    	)
    	if oldPodTemplate != nil {
    		oldSpec = &oldPodTemplate.Spec
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. pkg/registry/apps/replicaset/storage/storage_test.go

    			Name:      "foo",
    			Namespace: metav1.NamespaceDefault,
    		},
    		Spec: apps.ReplicaSetSpec{
    			Selector: &metav1.LabelSelector{MatchLabels: map[string]string{"a": "b"}},
    			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: Wed Apr 12 15:46:12 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  10. 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)
Back to top